hunt-idor
Skill0 starsChanged 3 months agoMITView on GitHub
IDOR and broken access control hunting methodology. TRIGGER: user is testing for IDOR, broken object-level authorization (BOLA), broken access control, tenant isolation, or mentions swapping IDs/UUIDs, GraphQL object access, or accessing another user's/org's data.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Kur1sulab/blackboxtheir own version, first seen Aug 12, 2026
- Encod3d-Sec/TORCHtheir own version, first seen Aug 12, 2026
- elementalsouls/Claude-BugHuntertheir own version, first seen Jul 1, 2026
- H-mmer/pentest-agentstheir own version, first seen May 6, 2026
- ArianHobson333/claude-bug-bounty-stacktheir own version, first seen Apr 14, 2026
Used with
Projects with it also use hunt-llm-ai.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
H-mmerSkillhunt-llm-ai
Hunting skill for LLM and Agentic AI vulnerabilities — direct + indirect prompt injection, ASCII smuggling data exfil, agentic tool-use abuse, system prompt leakage, vector DB cross-tenant, model server RCE, insecure output handling. Built from public bug bounty reports across HackerOne, Huntr, Project Zero, GitHub Security Advisories, plus 2024-2026 meta verified against NVD — Microsoft 365 Copilot ASCII Smuggling (Johann Rehberger Aug 2024 disclosure), CVE-2025-46059 LangChain GmailToolkit indirect prompt injection (CVSS 9.8), CVE-2025-68613 LangChain PythonREPLTool semantic RCE (CVSS 9.8), CVE-2024-46946 LangChain LLMSymbolicMathChain sympy.sympify, CVE-2025-27520 + CVE-2025-32375 + CVE-2024-2912 BentoML pickle, Ollama RCE family (CVE-2024-37032, CVE-2024-39722, CVE-2024-45436, CVE-2025-44779), CVE-2025-64496 Open WebUI Direct Connections SSE code injection (GHSA-cm35-v4vp-5xvx), CVE-2024-1483/1560/1594 MLflow path traversal. Covers OWASP LLM Top 10 v2025 (LLM01-LLM10) and OWASP Agentic AI Top 10 (AA-01 through AA-10). Use when hunting prompt injection, jailbreaks, agentic tool abuse, RAG poisoning, vector DB IDOR, MCP server compromise, model registry RCE, or any "AI feature" surface in a target.
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- elementalsouls/Claude-BugHunter★ 4.8ksame name
- H-mmer/pentest-agents★ 984same name
- Encod3d-Sec/TORCH★ 329same name
- ArianHobson333/claude-bug-bounty-stack★ 9same name
- Kur1sulab/blackbox★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- ffuf-web-fuzzingSkill
- hunt-aiSkill
- hunt-atoSkill
- hunt-bxssSkill
- hunt-rbacSkill
- hunt-rceSkill
- hunt-reconSkill
- hunt-ssrfSkill
- hunt-vibecodedSkill
- hunt-xssSkill
- js-analyzeSkill
- triage-findingSkill
- write-reportSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
No login needed at all — object reference alone returns data.
- Very specific: line 107
Escalation path: if the object is an email/password/token, explain the ATO chain rather than fully hijacking a real account.
- Distinctive: line 111
Only test objects belonging to YOUR OWN test accounts.
- Distinctive: line 114
No mass enumeration/scraping of a live database to demonstrate an IDOR.
- Distinctive: line 116
If an IDOR gives destructive power (delete/transfer funds), demonstrate the read or the authz gap, and STOP before causing real damage.
- Distinctive: line 119
No social engineering to obtain a victim's ID — that's out of scope everywhere.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
hunt-idor — IDOR & Broken Access Control Hunting
You are assisting an authorized bug bounty hunter doing ethical testing under a
program's published policy. IDOR is their strongest class — their best confirmed
pattern is unauthenticated IDOR where a tenant/firm identifier (e.g. a
FirmDomain parameter) selects whose data is returned with no authz check tying
the caller to that tenant. Hunt hard for that shape and its relatives.
Core philosophy
IDOR is broken authorization, not broken authentication. The app knows WHO you are; it just fails to check whether you're ALLOWED to touch THIS object. So the question on every request is: "Can I reference an object that isn't mine, and does the server actually check ownership?" Most IDOR is found by capturing an authenticated request and changing one identifier — the skill is knowing WHICH identifier, WHERE it hides, and HOW they try (and fail) to protect it.
Patterns from real top-disclosed reports
Grouped by the move that actually worked. (Depth: see the cloned
hackerone-reports/tops_by_bug_type/TOPIDOR.md and open individual reports.)
1. Direct numeric/UUID swap
The classic: member_id, user_id, order_id, id, uid, projectID,
VendorId in URL, query, or body. Increment/decrement or substitute a known
foreign value.
- IDOR to account takeover by changing
member_idon a POST (Mars). - IDOR leaking PII via
VendorIdparameter (DoD). - Price manipulation by swapping an
order_idto pay less (Reddit coin purchase).
2. Cross-tenant / cross-org (your specialty)
A tenant/org/firm/shop selector that isn't bound to your session. This is your proven pattern — prioritize it on any multi-tenant SaaS.
- Cross-tenant IDOR via GraphQL
AddRulesToPixelEvents— add/update/delete rules on ANY tenant's pixel events (TikTok). - Cross-tenant IDOR on Business allowing privilege escalation + invitation takeover (Uber).
- GraphQL cross-tenant write via
UpdateAtlasApplicationPerson(Stripe).
3. GraphQL object access
GraphQL is an IDOR goldmine: each query/mutation is a directly referenced object op, often missing per-object authz. Look at operation names.
BillingDocumentDownload/BillDetailsIDOR (Shopify).FetchMembershipsleaking team data — name, email, ID (Tools for Humanity).deleteProfileImagesmutation (Autodesk).
4. Protection-bypass variants (when a naive ID swap is blocked)
- Change HTTP method — GET is checked but PUT/DELETE isn't (IBM Your Learning).
- Wrap the ID differently — array vs scalar, JSON vs form, add a second ID
parameter, trailing path,
.jsonsuffix. - Parameter pollution — send the ID twice (
id=mine&id=victim). - Blind / no-error IDOR — action succeeds even though an error is shown (OpenMage edit address, Open-Xchange delete signature). Verify out-of-band.
5. Unauthenticated IDOR (highest impact)
No login needed at all — object reference alone returns data.
- Unauth IDOR → download documents disclosing PII of users/soldiers (DoD).
- Unauth IDOR → mass account takeover without user interaction (DoD). These are your S-tier: an unauthenticated identifier that leaks or mutates data.
Discovery methodology
Step 1 — Map object-referencing endpoints
Proxy the app through Burp and inventory every request that carries an object identifier: numeric IDs, UUIDs, usernames, emails, slugs, filenames, tenant domains, GraphQL operation names. JS-bundle endpoint extraction feeds this (reuse your JS-recon habit). Note which are authenticated vs not.
Step 2 — Rank by impact potential
Prioritize endpoints touching: PII, payments/orders, account settings (email/password → ATO), files/attachments, admin/tenant config. An IDOR on a profile picture is P4; an IDOR that changes an email is ATO.
Step 3 — Two-account (or one-account + unauth) test
Set up account A and account B (your own test accounts — never real users). Capture A's request, replace A's identifier with B's, replay. Confirm you received B's data or mutated B's object. For unauth, drop the session entirely and replay.
Step 4 — If blocked, try the bypass variants (Pattern 4)
Method change, param pollution, encoding, format swap, GraphQL alias/batch.
Step 5 — Confirm real impact before celebrating
Reproduce cleanly, capture the exact request/response proving cross-account access, and check it isn't a known/dupe issue. Read access = disclosure; write access = tampering; auth/email/password object = potential ATO chain.
Where IDOR hides (checklist)
- REST path/query params and POST/PUT bodies
- GraphQL query & mutation variables (operation names are a map)
- Hidden/undocumented API versions (
/api/v1vs/internal_api) - Mobile app endpoints (often less-protected than web — relevant to your Meesho mobile testing; token-swap is IDOR on the session object)
- Export/download endpoints (
?id=, CSV/PDF export) - File/attachment references and pre-signed URLs
- Batch/bulk endpoints that take a list of IDs
Impact demonstration
Show, minimally and non-destructively:
- Cross-account read: the victim object's data in the response to YOUR authenticated (or unauthenticated) request.
- Cross-account write: the state change, then a read-back proving it took — but only on YOUR OWN second test account, never a real user's object.
- Escalation path: if the object is an email/password/token, explain the ATO chain rather than fully hijacking a real account.
Scope & ethics guardrails (do not cross)
- Only test objects belonging to YOUR OWN test accounts. Never pull, modify, or delete real users' data to "prove" impact — one record minimally if truly unavoidable, then stop.
- No mass enumeration/scraping of a live database to demonstrate an IDOR; prove the flaw on a couple of IDs and describe the scale.
- If an IDOR gives destructive power (delete/transfer funds), demonstrate the read or the authz gap, and STOP before causing real damage. Explain the rest.
- Confirm the asset is in scope before testing. If unsure, stop and ask the user.
- No social engineering to obtain a victim's ID — that's out of scope everywhere.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

