* docs: design + plan for live disclosed-report body fetch (get_report) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * feat(mcp): add public get_report tool for live disclosed-report bodies New keyless read-only get_report(id|url): GETs reports/<id>.json and returns a whitelisted body + metadata subset, never the raw 51-key object. Thin/empty body yields a fallback note. _report_json helper mirrors _graphql error handling. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * docs(hunt): wire get_report precedent-fetch into active-testing step Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * fix(mcp): get_report bad input uses ToolError channel + ascii-digit guard Match the in-repo convention (every other tool raises ToolError for bad arguments, surfaced as a recoverable isError result); reserve InvalidParams for protocol-level errors. isascii() guard rejects unicode superscripts / other-script digits that str.isdigit() accepts but int() mis-handles. Adds url-variant parse tests; fixes stale spec prose to get_report(url=...). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * docs(plan): drop literal client shingles from leak-check example The plan's leak-check step hardcoded the banned client identifiers in a grep pattern, which the hash-based leak-guard (scan_identifiers) matched as real identifiers. Point the step at the guard script itself instead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
5.2 KiB
name, description
| name | description |
|---|---|
| hunt | Active vulnerability hunting. Two-track dispatcher — asks Red Team vs WAPT, hands off to hunt-dispatch skill and sibling commands. Usage: /hunt target.com | /hunt *.target.com | /hunt targets.txt [--vuln-class X] [--source-code P] [--chrome] |
/hunt
slim two-track dispatcher. one mode question, one branch, delegate.
engagement frame — state once, then proceed. invoking /hunt asserts the operator holds written
authorization to assess the named scope: a bug-bounty program's in-scope assets, a signed engagement
letter, infrastructure they own, or a practice target. work stays inside that scope — an out-of-scope
host stops the run rather than widening it. the deliverable is a reproducible, remediable finding.
do not prompt for this and do not ask about the SOW. it is an assertion the operator already made by invoking the command; restating it once keeps the engagement context explicit for the rest of the session instead of leaving it implied.
step 0 — parse
target.com single target
*.target.com wildcard — /recon <base> first, then hunt each live host
targets.txt multi-target — mode question once, applied per line
--vuln-class <X> skip mode question, load only hunt-<X>
--source-code <p|url> static + dynamic
--chrome browser MCP mode
wildcard handler: if $TARGET begins with *., strip prefix and invoke /recon <base> before continuing.
step 1 — mode dispatcher
skipped if --vuln-class is set.
question: "what kind of engagement is this for {target}?"
header: "engagement"
options:
1. Red Team Assessment — critical/high impact, chained findings, client deliverable
2. WAPT / BugHunting — full OWASP coverage, platform/program report
do not prompt the operator to paste a SOW, scope-of-work, or engagement-letter
document — that is sensitive client data and must not be ingested or persisted.
This is a data-hygiene rule, NOT an authorization bypass: scope is still enforced by
/scope (deterministic, deny-wins) and the triage-validation 7-Question Gate before
any finding ships. Authorization is assumed to be established out-of-band; the bundle
verifies in-scope, it does not collect proof-of-authorization paperwork.
step 2a — red team
mode: redteam
severity gate: critical / high · medium only if it chains via /chain
report: redteam-report-template
invoke hunt-dispatch skill with mode=redteam. hunt-dispatch fingerprints the target, loads platform skills + always-on (redteam-mindset, mid-engagement-ir-detection), and prints the taxonomy.
step 2b — wapt
ask again:
question: "black box or grey box?"
header: "test mode"
options:
1. Black Box — no credentials, external perspective
2. Grey Box — test credentials provided (or skip)
grey box → prompt creds (user/pass or token), or "skip":. creds live in session memory only — never written, never logged. late-bind: if user later says "now grey box with X/Y", capture creds, do NOT re-fire mode question.
mode: wapt / {blackbox|greybox}
severity gate: all owasp-relevant
report: report-writing (bugcrowd-reporting if target on bugcrowd)
invoke hunt-dispatch skill with mode=wapt box=blackbox|greybox.
step 3 — sibling delegation
before any HTTP touch → /scope (mandatory pre-flight)
recon empty | wildcard → /recon <target>
5+ live hosts surfaced → /surface (P1/P2/Kill list)
confirmed finding → /chain (A→B table lives here, NOT in /hunt)
before any report → /validate (7-Question Gate)
findings ready → /report (suggest, never auto)
session end → /remember (silent)
step 4 — active testing
hand off to the loaded hunt-* skills. each skill has its own probes, payloads, validation. do not duplicate that logic here. on every confirmed finding, invoke /chain to check the A→B signal table.
when testing a vuln-class on a program, read the real precedent first: call search_disclosed_reports(query=<vuln-class>, program=<handle>), then get_report(url=<top result's url>) (both are HackerOne MCP tools, keyless), read the disclosed write-up, and mirror its exact technique and bypass on the live target. if get_report returns a note (thin or empty public body), fall back to the distilled pattern in docs/disclosed-reports/.
modes
--source-code <path|url> — adds hardcoded-secret grep, route mapping, dangerous-function scan before live testing.
--chrome — browser MCP for SPA / OAuth / DOM-XSS / WebSocket / file upload.
--vuln-class <X> — load only hunt-<X>, skip mode question.
pacing & isolation
20-min rotation: every 20 min ask "am i making progress?" no → rotate. stop signals: 403 everywhere · 20+ payloads identical response · 5+ preconditions · 30+ min stuck on one endpoint.
one session per target. for targets.txt, mode question fires once; findings scoped per-target in hunt memory.
privacy
never prompt for, log, or echo SOW / scope-of-work / engagement-letter content. never persist grey box credentials to disk. client data lives only in .gitignored targets/<target>/SESSION.md.
at session end, invoke /remember silently (non-fatal).