idor-testing
Insecure direct object reference testing for broken access control
от VigilOSS★ 35 звёзд на GitHub
Установить idor-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
IDOR Testing (Insecure Direct Object Reference)
The entry-point skill for broken object-level authorization: the BOLA/IDOR workflow and when to escalate into split-brain-idor, bff-parameter-override, mass-assignment, graphql-testing, jwt-testing or cache-poisoning.
When to Activate
- APIs reference objects by ID (numeric, UUID, slug, encoded), user-specific resources are addressable directly, or a multi-tenant app shares an API surface.
Vigil mechanics
- Audit flags:
--technique IDORfor object-reference probes,AUTHfor identity/tenant override;--probe-kind payloadfor swaps,exploitfor confirmed cross-user access.vigil assess kali execalso needs--intent,--phaseand--timeout(see--help). - Named identities. Cross-user/tenant IDOR is only real across ≥ 2 named identities. Import
each test account (
vigil auth import [engagement] --identity user_a --source <file>, likewiseuser_b,admin; SaaS accounts in separate tenants) and replay with--identity <name>, which stamps the probe'sauth_context. To run one command as two identities, use--identity-env A=user_a --identity-env B=user_b(exportsVIGIL_COOKIE_A,VIGIL_HEADERS_B, …); that is the cross-identity proof carrier. Prefer injectable tools (curl,httpx,nuclei,ffuf). A single-identity probe, a shell-wrapped probe whose identity was not injected, or a hand-pasted token with anonymous audit context does not count as access-control depth. vigil assess classify-payload <id> --mutationstypes an ID and emits neighbor, boundary, escalation, format (type-confusion) and empty variants; fire those instead of hand-picking.vigil assess anomaly-score <file.jsonl> --top Nranks a replay sweep's outliers.- Blind-write proof over OOB:
agent/references/offensive-tactics/frp-tunneling.md"OOB Procedure (mint→poll→correlate)". A callback proves the write reached the victim object only when the injected host is one only that object would surface.
Methodology
Map every ID in path, query, body and headers (tenant IDs included) per object type and CRUD operation, then:
- Fingerprint the identifier — it picks the tactic and the severity (iterable IDs score
higher). Sequential int: sweep neighbours/boundaries. UUID v1/v6: time+MAC derived, so
timestamp-bracket ("sandwich") a victim's GUID. UUID v4: guessing is dead, harvest instead.
UUIDv7/ULID/Snowflake/KSUID/ObjectId leak creation time: window-bounded enumeration. Scheme
table and recipes:
agent/references/access-control/idor-identifier-prediction.md. - Swap IDs horizontally (same tier, other tenant) and vertically (user → admin IDs and
admin actions), on read, write, delete and on create with a foreign parent ID; include files,
exports and downloads. Also try another user's real ID observed elsewhere;
classify-payloadcovers structural guesses only. Array/CSV/wildcard IDs (id[]=,*,all) are inAPI01-broken-object-level-authz.md. - Per-verb authorization matrix. Authz is often wired to one verb: replay the swapped ID
across GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS. Observed:
GET /api/v4/user/1→ 403 whilePUT /api/v4/user/1?include=email→ 200 with the victim's PII (the write path skipped the read-path filter).HEADoften shares GET's handler but skips its authz wrapper;OPTIONScan leak the allowed verb set. - Harvest, don't guess, opaque IDs. A v4 UUID is not "safe — stop". Harvest real victim IDs from the app's own over-sharing (list/search/feed nesting, exports, GraphQL GID decode, JWT claims, mention/typeahead APIs, archives and source maps, bulk-action echoes, notifications, 404-vs-403/length/timing oracles); the channel list is the prediction reference "Harvesting".
- Two-session differential replay. Replay every owner request as the other-user identity
and unauthenticated. Use content-length + body fingerprint as the oracle, not status. A
200-vs-403 or length delta is a candidate:
404≠ safe (scoping can mask an object) and equal lengths can be coincidence. Hand-verify the returned data belongs to the other account (names, emails, order contents) before recording. - 403 → IDOR ladder when a straight swap is refused: ID type-confusion, wrapping, path
mangling, case/slash, content-type and API-version swaps (the variants pass a scalar
validator at the edge but reach the data layer intact). Load the concrete variant list in
API01-broken-object-level-authz.md"Parameter Injection for BOLA" when the first swap returns 401/403/404. Most productive: serializer/format twins —?_format=json,.jsonor another format suffix often hits a different, unauthorised controller for the same object. - Body/route divergence (route ID owner-checked, body carries an ID): escalate to
agent/skills/split-brain-idor/SKILL.md. - Second-order / workflow rebinding. Ownership c
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл idor-testing?
Insecure direct object reference testing for broken access control
Как установить скилл idor-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл idor-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…