> the confirmation gate that separates a real finding from a false positive, enumeration limits, stop conditions, marker discipline, wiki-first query and self-heal, FIND output, Deadends, and wiki distillation. ALWAYS LOADED alongside any hunt skill. Also trigger directly on "is this in scope", "is this a real bug", "how do I confirm this", "should I keep going", "how many IDs should I test", "what severity", "how do I report this", "I got someone else's data". Every hunt-* skill assumes this file; without it they run without their safety and quality layer.
npx skills add https://github.com/Encod3d-Sec/TORCH --skill hunt-core
The discipline every hunt-* skill assumes. Class-specific technique lives in the hunt skills and
the wiki; this file holds what is true regardless of which bug class you are chasing.
Owned here, never repeated in a hunt skill: the scope gate, two-account setup, confirmation
gate, enumeration limits, stop conditions, marker discipline, wiki query/self-heal protocol, FIND
output, Deadends, and distillation. A hunt skill that restates any of these will drift from this
one; reference it instead.
Hunting means reading other people's data, escalating privileges, and creating accounts. Outside
an authorized engagement all of it is a crime. Before any request leaves the machine:
CTF. "Probably fine" is not authorization.
*.target.com does not cover targetapp.io, an acquisition, ortarget.com.cdn.net. Read targets/<eng>/scope.md.
no_bruteforce, scanning caps, DoS, socialengineering, and any per-program rule before the technique that would violate it.
targets/<eng>/Deadends.md and skip what is already exhausted.Unconfirmed on any of these: ask. Do not infer scope from the fact that a host resolved. Discovery
is not authorization. The scope-guard hook enforces the host check on Bash commands; it is a
backstop, not the gate.
Authorization findings are "account A reached account B's object." Without B you have two bad
options: test against a real user, or report a guess. Both are worse than not reporting.
cross.
targets/<eng>/identities.md as you discover them.and users not at all.
Nothing becomes a FIND on the strength of a response body. The gate is per class; the hunt skill
owns the specific "NOT confirmation / IS confirmation" list. Universal rules:
vanishes, you changed your own screen.
state permits.
*supposed* to see it: shared teams, sharing links, public objects, org-wide visibility. The
most common false positive in authorization testing.
oob.md row must flip toHIT before a FIND is scaffolded.
Failed 1-3 is a Deadend, not a "probably real but hard to prove."
[[wiki/techniques/methodology/safe-probing-and-controls]] carries the other half of this gate: how to probe destructive or
sensitive surface without touching a real record (use an identifier proven not to exist), and how
to fire a control so a NEGATIVE result means something instead of being assumed.
When the hunt spans many hosts, sessions, or parallel agents, the coordination layer adds failure
modes this gate does not cover: claims nobody re-checked, requests nobody counted, the same finding
filed twice, and severity drifting upward as work is summarised. See
[[wiki/techniques/methodology/multi-agent-campaign-orchestration]].
Prove the boundary is missing, not how much is behind it.
The server does not check *any* object. Demonstrating that takes two or three identifiers. A
thousand-ID sweep does not raise severity; it collects real users' data and converts a critical
finding into an incident report naming you.
finding. Usually it does not.
no_bruteforce in scope means range 0. No sweep, no ffuf over an ID list, no exception.For scale evidence, cite a total field, a pagination header, or a result count. "The response
reports 41,180 records; none beyond my two test accounts were retrieved" proves scale without
retrieving anything.
Scope of these limits. They govern OBJECT and RECORD enumeration (guessing identifiers to pull
other users' data). They do NOT cap legitimate service discovery: an SSRF internal port sweep or a
network map is bounded by the engagement RoE (no_dos, scan-rate caps), not by the 5-to-20 object
ceiling. Thread it and honor the cap; do not clamp a port sweep to 20.
Stop and report rather than continuing when:
another session, a beacon fired in a live employee context. Do not re-request to confirm, do not
save it, do not use anything in it. Report immediately, state what you received and that you
destroyed it, and note it in the FIND rather than hiding it.
config, planting content that outlives the session.
The mechanism is the finding.
Stopping is not failure. "Confirmed and did not exploit" is worth more than a forfeited payout.
Wrong-vector tells (switch the vector, do not tune the tooling). A vector is exhausted the
moment it starts fighting you; grinding harder is the sunk-cost trap. Two mechanical signals mean the
current vector is the wrong door, not that your tooling needs another pass:
000 / connection-timeout /empty-reply while you hammer one endpoint). A vector that DoSes a lab box is almost never the
intended one. Stop, let it drain, and enumerate a DIFFERENT class (source-read: LFI /
alias-traversal / .git / backup; a second service or vhost's own app; OOB creds) before returning.
material - they are delivered out-of-band (an email/note/KeePass, a config, a second service). Stop
cracking and re-enumerate for where the creds are HANDED OUT; do not extract a third hash. (Engineering
around a hostile channel - per-char verify-fix, min-of-2 sampling, gentler pacing - is the tell you
are on the wrong vector, not a reason to keep going.)
When a wrong-vector tell fires and the next door is not obvious, call Skill(redteamlead) before
grinding further - it reads the engagement state + evidence + wiki and returns ranked directions with
an explicit STOP. That is exactly what it is for ("I'm stuck / which vector / should I keep hammering
this"); one RTL call at the first sign a vector is fighting back beats hours of sunk-cost grind.
Any class where you inject a value and look for it later (xss, ssti, sqli error strings, crlf, log
injection, open redirect): use a unique 8+ char alphanumeric canary (e.g. x4hd2k9pq), never
test/marker/evil/payload. Check the baseline response for the canary BEFORE claiming
reflection; a value already present is not proof you put it there.
qmd_query is powerful but ~15-30s per call, so it is a TARGETED deepen, not a pre-attack ritual.
Three tiers, in order:
Read). Your hunt skill's ## Wiki section names the class'sdomain MOC + primary page + a few anchors. Read those directly, and one-hop from the MOC for a
sibling technique. This answers the anticipated case with zero qmd latency.
qmd_query ONLY on a concrete hint the map does not cover - a specific sink/function (anSSRF-reaching requests.get(user_input)), an observed escape (a <script> context that could be
XSS), a fingerprinted version/CVE, or a service the MOC does not list:
qmd_query "<the specific thing>" via wiki-search MCP. It auto-surfaces pages added since the
skill was written. Do NOT blanket-qmd every action (too slow); do NOT hand-roll from memory when a
targeted qmd would answer (that is the opposite failure). Fire it when you have the hint, then act.
wiki/techniques/<area>/<slug>.md (frontmatter + ## Observed during <engagement>) so the gap fills.
Payload arsenals live in wiki/payloads/. If the MCP is down, bash scripts/wiki-query.sh "<terms>"
wraps the same qmd index (-k for an exact CVE/string).
hunt-core is the hub: route from the observed signal to the class skill, load it, then use that
skill's ## Wiki map. The recon-capture fingerprint router auto-suggests many of these from tool
output; this table is the manual reference when it does not fire or you are reasoning about approach.
| Signal / surface | Skill |
|---|---|
| reflected/stored input, <script> / onerror / javascript: / a DOM sink | Skill(hunt-xss) |
| a param/body reaching a DB; an error / boolean / time oracle | Skill(hunt-sqli) |
| a URL/host param, a fetch/preview/import sink, ?url= | Skill(hunt-ssrf) |
| an object id, /users/{id}, two-account cross-access | Skill(hunt-idor) |
| template {{ }} render, XXE (SVG/DOCX/SAML), GraphQL | Skill(hunt-injection) |
| a command sink, template-injection-to-exec, a version+CVE | Skill(hunt-rce) |
| a serialized blob (rO0 / AAEAAAD / O:), viewstate, a signed cookie | Skill(hunt-deserialization) |
| login / reset / session / JWT, a legacy-protocol endpoint | Skill(hunt-auth) |
| OAuth / SAML redirect_uri or assertion | Skill(hunt-federation) |
| file upload / avatar / document import | Skill(hunt-upload) |
| REST/GraphQL/gRPC, BOLA / BFLA / mass-assignment | Skill(hunt-api) |
| checkout / price / coupon / workflow logic, a race | Skill(hunt-bizlogic) |
| CL.TE / TE.CL / HTTP-2 downgrade desync | Skill(hunt-smuggling) |
| an unkeyed header/param reaching a cache | Skill(hunt-cache) |
| exposed .git / .env / keys, secrets in a JS bundle | Skill(hunt-secrets) |
| LLM prompt-injection / excessive agency | Skill(hunt-llm) |
| MCP tool-poisoning / indirect injection | Skill(hunt-mcp) |
| AD: kerberoast / AS-REP / ADCS / DCSync / delegation (dotted-FQDN domain / a DC) | Skill(hunt-ad) |
| Windows LOCAL privesc: service misconfig / autologon reg / SeImpersonate-Potato / scheduled-task / DLL hijack (standalone/workgroup box, or a local shell on a member) | Skill(hunt-windows) |
| AWS/Azure/GCP metadata or IAM | Skill(hunt-cloud) |
| Microsoft 365 / Entra tenant | Skill(hunt-m365) |
| CI/CD pipeline (Actions / runners / OIDC) | Skill(hunt-cicd) |
| macOS TCC / SIP / keychain / XPC | Skill(hunt-macos) |
| SSL-VPN appliance (Fortinet/Citrix/Ivanti/Cisco/PAN) | Skill(hunt-vpn) |
| Modbus / S7 / EtherNet-IP / PLC / HMI | Skill(hunt-ics) |
Process skills (not vuln classes): Skill(ctf-box) boot-to-root, Skill(wiki-recon) external recon,
Skill(arsenal) / Skill(wiki-arsenal) tool+payload lookup, Skill(triage) -> Skill(evidence)
finding validation, Skill(coverage) untested-class gaps, Skill(next-move) prioritize,
Skill(hunt-burp) drive Burp.
On confirmation:
Create Vulns/Research/FIND-XXX-SEVERITY-<class>-<host>[-<resource>].md
Add row to Vuln-index.md
Severity is rated on demonstrated impact, not theoretical maximum. Preconditions lower it
(victim interaction, an unguessable identifier you cannot show leaking, a race you win one time in
twenty). Scale raises it, when you can show the identifier is enumerable without enumerating. State
impact in the program's terms (customer data, account security, financial exposure), not in
vulnerability classes.
On exhaustion:
Append to Deadends.md: - [ ] <class> on <host> <param/endpoint> -- <why it failed>
The reason matters more than the entry. 403 on cross-account, authorization enforced stops you
retesting; a bare entry does not.
When a confirmed finding is a reusable technique rather than a target quirk, stage it:
python3 scripts/wiki-stage.py --kind technique --slug <slug> --target-page <area>/<page>.md
GENERIC only - no client host, no real identifier, no customer data. Promote later via
scripts/wiki-promote.py. Run scripts/check-leaks.sh before any push. Engagement data lives
under targets/ and is git-ignored.
Take encod3d-sec/hunt-core from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.