API Audit
briiirussell/cybersecurity-skills
Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023).
IDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR, cross-tenant escalation, write and…
$ npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Encod3d-Sec/TORCH hunt-idor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Encod3d-Sec/TORCH.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hunt/hunt-idor .claude/skills/hunt-idor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "hunt-idor" agent skill from https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idor into .claude/skills/hunt-idor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunt-idor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Encod3d-Sec/TORCH hunt-idor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Encod3d-Sec/TORCH.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/hunt/hunt-idor .agents/skills/hunt-idor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hunt-idor" agent skill from https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idor into .agents/skills/hunt-idor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunt-idor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Encod3d-Sec/TORCH hunt-idor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Encod3d-Sec/TORCH.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/hunt/hunt-idor .cursor/skills/hunt-idor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hunt-idor" agent skill from https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idor into .cursor/skills/hunt-idor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunt-idor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Encod3d-Sec/TORCH.git --path skills/hunt/hunt-idor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Encod3d-Sec/TORCH hunt-idor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Encod3d-Sec/TORCH.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/hunt/hunt-idor .gemini/skills/hunt-idor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hunt-idor" agent skill from https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idor into .gemini/skills/hunt-idor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunt-idor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Encod3d-Sec/TORCH hunt-idorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Encod3d-Sec/TORCH.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/hunt/hunt-idor .github/skills/hunt-idor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hunt-idor" agent skill from https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idor into .github/skills/hunt-idor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunt-idor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Encod3d-Sec/TORCH hunt-idor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Encod3d-Sec/TORCH.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/hunt/hunt-idor .opencode/skills/hunt-idor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hunt-idor" agent skill from https://github.com/Encod3d-Sec/TORCH/tree/main/skills/hunt/hunt-idor into .opencode/skills/hunt-idor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hunt-idor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hunt-idorIDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR, cross-tenant escalation, write and…
Hunt Idor is an agent skill from Encod3d-Sec/TORCH. IDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR, cross-tenant escalation, write and delete operations. Bounded ID sampling, never range sweeps. Wiki-first, FIND schema output. Trigger on IDOR, BOLA, broken access control, object level authorization, cross-tenant, "read another user's data", "swap the id", or any API path or parameter carrying a numeric ID, UUID, or account identifier.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Web application vulnerabilities, Authorization and RBAC and GraphQL. It works with GraphQL. The repository describes itself as: Karpathy LLM based claude harness for PenetrationTesting / Bugbounty using obsidian. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d21b6c9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
USER_B_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Hunt Idor loads about 2.6k tokens when it runs. Until then it costs about 127 tokens; SKILL.md has 1,235 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Encod3d-Sec/TORCH at commit d21b6c9, republished under its MIT licence (© Encod3d-Sec). 1,235 words, ~2,597 tokens.
.claude/skills/hunt-idor/SKILL.md (or your agent's skills folder).Assumes hunt-core for the scope gate, two-account rule, confirmation gate, enumeration
limits, stop conditions, wiki protocol, FIND output, and Deadends. Do not re-derive any of that here.
qmd_query "IDOR BOLA insecure direct object reference access control" via wiki-search MCPHub: [[web-moc]] (live web index). Primary page: [[access-control]]. Payload arsenal: wiki/payloads/idor.md.
Anchors: [[uuid-insecurities]] (v1-UUID timestamp/MAC when an object ID is a UUID rather than a
sequential integer), [[jwt-attacks]] (chain a trusted sub/user_id claim to ATO, hand off to hunt-auth).
URL patterns: /api/v1/users/{id}, /invoices?id=, /reports/{uuid}/, /messages/{thread_id},
/admin/orgs/{org_id}/members
GraphQL: any query or mutation taking an id argument. Check for node(id: "...") global
lookups - one endpoint reaching every object type, with per-type authorization frequently missing
on at least one.
Rank before testing. Not all endpoints are equally likely:
GET /orders/123 authorized, PATCH not.Check all of these; the least obvious are the least protected. Path segments, query parameters,
request bodies (including nested objects), headers (X-User-Id, X-Account-Id, X-Tenant-Id),
cookies, JWT claims, GraphQL variables, WebSocket messages, and file/CDN URLs.
Get B's identifiers from B. Log in as B and read them from B's own traffic, profile page, or
JWT. Record in identities.md. Never obtain an identifier by incrementing until you find out
whose it is - that is enumerating real users.
Decode opaque identifiers before assuming they are random. Base64 and hex frequently decode
to a plain integer or a type:id pair. Where the ID is a hash, test whether it hashes something
knowable (email, user ID, timestamp) and compute B's offline.
A random UUID is not an authorization control, but it is a practical barrier. The finding becomes a chain:
Report both together. Part 1 alone gets triaged down as "requires an unguessable identifier."
Leak sources worth working: search and autocomplete endpoints, notification and activity feeds, team and member lists, verbose errors, notification emails, exported files, share and invite links, and objects you can read that reference objects you cannot.
Also verify the UUID is actually random - v1 encodes timestamp and MAC ([[uuid-insecurities]]), and hand-rolled implementations frequently emit sequential values dressed as UUIDs.
Setup: two accounts per hunt-core. A owns, B attacks. Separate profiles.
Drive it through Burp for operator visibility. With A's request captured in Repeater or proxy history:
scripts/burp/idor-sweep.py <eng> <reqfile> --attacker-auth "Cookie: session=USER_B" --range 5Sends owner-baseline / idor-test / bounded id sample through send_http1_request, diffs status
and body, prints a verdict and a ready capture.sh burp PoC line. Honors no_bruteforce ->
range 0. Do not raise --range above the hunt-core limits without operator approval.
For GUI-visible replay: create_repeater_tab for an A tab and a B tab, or send_to_intruder
with a bounded number payload.
# Baseline - A owns it
curl -s -H "Cookie: session=USER_A" https://target.com/api/v1/invoices/12345
# Cross-account - B attempts
curl -s -H "Cookie: session=USER_B" https://target.com/api/v1/invoices/12345Session: account B
Body: {"user_id": "<A's id>", "action": "..."}Apply the same to JWT claims: modify sub / user_id and see whether the server derives the
acting user from the claim or looks it up. Trusted claim plus weak signature chains to arbitrary
account takeover - hand off to hunt-auth.
?id=A&id=B - the check
and the fetch may read different occurrences), array wrapping ({"id":["A","B"]}), nested
wrapping ({"user":{"id":"B"}}), path traversal in the identifier, encoding and case variation,
version downgrade (/v1/ predates the middleware /v2/ has - the most reliable of these),
and batch endpoints where per-item authorization is missing.query { me { organization { members { id email phone } } } }Walk every edge from an authorized root. Also test node(id:) global lookups, aliases for
parallel object access in one request, and mutations that introspection reveals but the UI never
calls.
hunt-core: five identifiers by default,
twenty ceiling with approval, zero under no_bruteforce. Two or three adjacent IDs establish
a sequential pattern; that is the whole proof. For scale, cite the total or pagination
count, not retrieved records.# Bounded sample around a known ID - NOT a range sweep
known=48291
for i in $(seq $((known-2)) $((known+2))); do
printf '%s ' "$i"
curl -s -o /dev/null -w '%{http_code} %{size_download}\n' \
-H "Authorization: Bearer USER_B_TOKEN" \
"https://target.com/api/v1/orders/$i"
donepython3 scripts/wiki-stage.py --kind technique --slug <slug> --target-page techniques/web/access-control.mdNOT confirmation: a 200 with an empty or shell response; the object echoed back from your
own request; B seeing an object that is shared, public, or org-visible; a response you have not
compared against A's baseline; a write returning 200 with no state change verified from B's
side.
IS confirmation: B's session returns A's data, matching A's own baseline response, with A's legitimate-access ruled out, reproduced in a clean session - and for writes, the change visible in B's UI.
Rated on the object, not the mechanism.
| Object | Typical |
|---|---|
| Session token, API key, reset token | critical - direct ATO |
| Full user records with PII | critical / high |
| Payment or billing detail | critical / high |
| Private documents, messages | high |
| Account settings (write) | high - enables takeover via email change |
| Internal identifiers only | low - enables other attacks |
Write outranks read at the same object. Unauthenticated outranks authenticated by a full band. Cross-tenant outranks cross-user. An unguessable identifier you cannot show leaking lowers it - chase the leak first.
Append: - [ ] IDOR on <host> <endpoint> -- 403/404 cross-account, authorization enforced;
tried pollution/array/verb/version downgradeRecord what you tried, not just that it failed. The next pass needs to know the boundary.
© Encod3d-Sec, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/hunt/hunt-idor of Encod3d-Sec/TORCH.
Open the folder on GitHubat commit d21b6c9
Hunt Idor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hunt Idor this skillEncod3d-Sec/TORCH | 329 | — | ~2.6k | Automated safety check: Pass | MIT | |
| API Auditbriiirussell/cybersecurity-skills | 413 | — | ~2.8k | Automated safety check: Notes | MIT | |
| Moai Ref Secopsmodu-ai/moai-adk | 1.2k | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Operate Sqlmapcyberful/cyberful | 135 | — | ~1.1k | Automated safety check: Pass | AGPL-3.0 | |
| Access Control And Idormakifbaysal/tasktrooper | 112 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Playwright Best Practicessanity-io/sanity | 6.4k | 7 repos | ~6.4k | Automated safety check: Pass | MIT |
briiirussell/cybersecurity-skills
Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023).
modu-ai/moai-adk
DevSecOps, container, and API operational defensive security reference: CI/CD pipeline hardening, secret scanning, IaC misconfiguration detection, SAST/DAST integration, container image scanning…
cyberful/cyberful
Use sqlmap to confirm and characterize suspected SQL injection with faithful requests and bounded evidence.
makifbaysal/tasktrooper
A skill your agent uses when the diff adds or changes an endpoint, resolver, RPC, job or query that takes an object id, a role check, a request binding or a tenant filter - BOLA/IDOR, function-level…
sanity-io/sanity
A skill your agent uses when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling…
lablup/backend.ai-webui
Expert guide for Backend.AI distributed computing platform. An agent skill from lablup/backend.ai-webui.
Encod3d-Sec/TORCH
Runs a bug-bounty engagement through a script that tracks the current pass, builds a board of rows from recon and prints the next required action each turn.
Encod3d-Sec/TORCH
Checks that the bb, pt and ctf workflow driver is set up correctly on a machine: vault content, skill symlinks, hooks, imports and a live smoke test, with fixes for failures.
Encod3d-Sec/TORCH
Opens a visible Chromium window on a Kali VM so an operator can complete a manual login or CAPTCHA while the agent watches and acts through the chrome-devtools MCP.
Encod3d-Sec/TORCH
Runs a capture-the-flag box from first scan to root with a driver script that tracks progress and prints the next action each turn.
Encod3d-Sec/TORCH
Decides when a main pentesting agent should hand a fully-specified, mechanical exploit-compile or privilege-escalation step to a cheaper sub-agent, and how to specify that handoff safely.
Encod3d-Sec/TORCH
Adaptive web fuzzing for pentests, bug bounty and CTF work: picks the smallest suitable SecLists wordlist per target surface and calibrates filters against soft-404 responses.
Works with
Categories
IDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR, cross-tenant escalation, write and…. Hunt Idor is an agent skill from Encod3d-Sec/TORCH. IDOR / BOLA hunting - two-account methodology, identifier discovery and UUID leak chaining, the trusted-identifier test, GraphQL node and nested-object IDOR, cross-tenant escalation, write and delete operations.
Hunt Idor fits situations like: broken access control; object level authorization; read another users data; parameter carrying a numeric ID.
Run `npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a claude-code`. Or copy the skill folder (skills/hunt/hunt-idor in Encod3d-Sec/TORCH) into .claude/skills/hunt-idor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a codex`. Or copy the skill folder (skills/hunt/hunt-idor in Encod3d-Sec/TORCH) into .agents/skills/hunt-idor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Encod3d-Sec/TORCH --skill hunt-idor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hunt-idor, .gemini/skills/hunt-idor, .github/skills/hunt-idor and .opencode/skills/hunt-idor in your project.
Going by SKILL.md and its folder, Hunt Idor needs the command-line tools its instructions call (curl and python3) and credentials named USER_B_TOKEN. Our summary lists: Python 3; A credential in USER_B_TOKEN.
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Hunt Idor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Hunt Idor: API Audit (briiirussell/cybersecurity-skills, 413 stars), Moai Ref Secops (modu-ai/moai-adk, 1.2k stars), Operate Sqlmap (cyberful/cyberful, 135 stars) and Access Control And Idor (makifbaysal/tasktrooper, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Encod3d-Sec (a GitHub user) maintains it in Encod3d-Sec/TORCH, which has 329 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on September 1, 2026.
Source: Encod3d-Sec/TORCH on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.