hunt-sharepoint

hunt-sharepoint is a skill for Claude Code, Codex from uphiago/recon-skills. It costs 170 tokens per session (8,934 once invoked), scanned A, original, MIT.

A security-testing guide for on-premises Microsoft SharePoint Server, a company-hosted platform for documents, websites, and collaboration. It focuses on exposed endpoints, version information, authentication paths, and known vulnerabilities.

In plain words
What is it for?
Use it to assess SharePoint 2013, 2016, 2019, and Subscription Edition farms, including anonymous endpoints, legacy SOAP authentication, ToolShell conditions, and NTLM network information.
Why use it?
It helps find outdated or incorrectly protected SharePoint installations that may disclose internal details, bypass login controls, or allow server compromise.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess SharePoint 2013, 2016, 2019, and Subscription Edition farms, including anonymous endpoints, legacy SOAP authentication, ToolShell conditions, and NTLM network information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uphiago/recon-skills/hunt-sharepoint
About the project

Recon Skills is a pack of security-testing skills covering reconnaissance, web applications, APIs, authentication, vulnerability validation, cloud infrastructure, and reporting. Security professionals use it for authorized assessments of systems they own or have written permission to test. The catalogue entries are individual skills from the pack.

uphiago/recon-skills · 1,408 stars · on GitHub · hiago.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uphiago/recon-skills --skill hunt-sharepoint
Clone the repo
git clone --depth 1 https://github.com/uphiago/recon-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hunt-sharepoint

README.md
[![agentmods](https://agentmods.dev/badge/skills/uphiago/recon-skills/hunt-sharepoint/github.svg)](https://agentmods.dev/skills/uphiago/recon-skills/hunt-sharepoint)
Your own site
<a href="https://agentmods.dev/skills/uphiago/recon-skills/hunt-sharepoint"><img src="https://agentmods.dev/badge/skills/uphiago/recon-skills/hunt-sharepoint/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hunt-sharepoint

Your own site · 80×15
<a href="https://agentmods.dev/skills/uphiago/recon-skills/hunt-sharepoint"><img src="https://agentmods.dev/badge/skills/uphiago/recon-skills/hunt-sharepoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 160
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 189
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 300
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00170 $0.08934
Opus 5.5 $0.00068 $0.03574
Sonnet 5.5 $0.00034 $0.01787
Haiku 4.5 $0.00017 $0.00893

Measured 23d ago against content hash b1840d0ed097, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hunt-sharepoint scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Tooling: `curl`, `jq`, `openssl`, `python3`.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

redteam/hunt-sharepoint/SKILL.md · 495 lines

How it starts

The opening of the file, as written. The whole thing — 495 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Use

  • Target has SharePoint headers (SPRequestGuid, X-MS-InvokeApp, X-SharePointHealthScore, MicrosoftSharePointTeamServices) or paths (/_layouts/15/, /_vti_bin/, /_api/, /_catalogs/).

Prerequisites

  • Explicit authorization, target boundaries, and rate limits for the target.
  • Tooling: curl, jq, openssl, python3.
  • A writable evidence directory: export OUTPUT_DIR="${OUTPUT_DIR:-./output}" && mkdir -p "$OUTPUT_DIR".
  • For any state-changing step (writes, uploads, credential attempts), obtain explicit confirmation immediately before the command.

How to Run

   # Method 1: _vti_inf.html (always anonymous, always present)
   curl --max-time 30 --connect-timeout 10 -sk "https://target.example/_vti_inf.html"
   # → FPVersion="16001000" (15.x = SP2013, 16.x = SP2016/2019/SE)

   # Method 2: _api/contextinfo POST (anonymous on most farms)
   curl --max-time 30 --connect-timeout 10 -sk -X POST "https://target.example/_api/contextinfo" \
     -H "Accept: application/json;odata=verbose" \
     | jq -r '.d.GetContextWebInformation.LibraryVersion'
   # → "15.0.5545.1000" (full build number)

   # Method 3: /_layouts/15/start.aspx body
   curl --max-time 30 --connect-timeout 10 -sk "https://target.example/_layouts/15/start.aspx" \
     | grep -oE "15\.[0-9]+\.[0-9]+\.[0-9]+|16\.[0-9]+\.[0-9]+\.[0-9]+"

Procedure

The phases below are the procedure. Keep each probe bounded (--max-time), record evidence beneath OUTPUT_DIR, and stop at the stop-conditions listed in Pitfalls.

Crown Jewel Targets

SharePoint Server (on-prem) is one of the richest enterprise attack surfaces in 2025-2026 bug bounty / red-team work. Three forces converge:

  1. End-of-life unpatched code paths. SharePoint Server 2013 reached extended-support EoL on 2023-04-11 (final build 15.0.5545.1000 / KB5002381). Every SharePoint CVE published after that date is permanently unpatched on SP2013 farms. SP2016 reaches EoL 2026-07-14; SP2019 reaches EoL 2026-07-14 (next 2 months as of May 2026); only SP Subscription Edition is currently in active support.
  2. CVE-2025-53770 / 53771 "ToolShell" — July 2025 emergency-out-of-band patch chain for SPE / SP2019 / SP2016. The vulnerable code path (anonymous /_layouts/15/ToolPane.aspx?DisplayMode=Edit + anonymous __REQUESTDIGEST + unencrypted ViewState) is present in SP2013 too and will never receive a fix.
  3. Custom branded login pages forget legacy SOAP login. /_vti_bin/Authentication.asmx with the Login SOAP op is the SharePoint equivalent of WordPress XMLRPC bypass — accepts native Forms credentials anonymously with no rate limit on most farms even when the branded UI has lockout.

Read the full file on GitHub · 495 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · +20 lines b1840d0ed097
  2. 2mo ago First seen · 475 lines · 170 tokens per session scan A 5aff5ae023a6

Subscribe to this mod's changes

hunt-sharepoint is a skill published in the GitHub repository uphiago/recon-skills (1,408 stars, last pushed 23d ago), licensed MIT. It adds 170 tokens to every session and 8,934 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

hunt-sharepoint compared with skills from other repositories

hunt-sharepoint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hunt-sharepointuphiago/recon-skillsSkill1.4k23d agoMITA170Claude Code, Codex
performing-aws-privilege-escalation-assessmentxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A54Claude Code, Codex
performing-cloud-penetration-testing-with-pacuxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex
detecting-compromised-cloud-credentialsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A55Claude Code, Codex
securing-api-gateway-with-aws-wafxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A59Claude Code, Codex
auditing-aws-s3-bucket-permissionsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A62Claude Code, Codex
auditing-gcp-iam-permissionsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex