hunt-idor
できること
このツールは、IDOR(Insecure Direct Object Reference)と呼ばれるセキュリティ上の欠陥を見つけるのに役立ちます。許可なく他のユーザーのデータにアクセスできる方法を探します。たとえば、他人の請求書やプライベートなメッセージが見えてしまうケースです。
使う場面
- ✓Webサイトやアプリのセキュリティをテストするとき。
- ✓セキュリティ上の欠陥を探す許可があるとき。
- ✓ユーザーのデータがどのように保護されているかを理解したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-idor/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“example.com で IDOR の脆弱性を探して”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、URLやサーバーの応答に含まれる一般的なパターンを分析し、オブジェクトIDが不適切にアクセスされている可能性のある箇所を特定します。そのうえで、IDを置き換えて他のユーザーのデータが公開されるかどうかを確認する方法を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Crown Jewel Targets
Why IDOR pays big:
- Direct access to other users' data without authentication bypass — clear, demonstrable impact
- Chains easily with privilege escalation, financial fraud, and account takeover
- Affects virtually every application with user-owned resources
Highest-value asset types (by payout potential):
| Asset Type | Why It Pays |
|---|---|
| Financial documents / billing APIs | PII + financial data exposure (Shopify, Uber, PayPal) |
| Private repositories / source code | IP theft, critical data loss (GitHub) |
| User messages / DMs | Privacy violation at scale (Reddit) |
| Account management endpoints | User addition, deletion, privilege escalation (PayPal, Mozilla) |
| Business/org administration | Cross-tenant escalation, employee PII (Uber) |
| Content moderation/admin actions | Operational sabotage (Reddit mod logs) |
Programs that pay most for IDOR:
- Platforms with multi-tenancy (SaaS, B2B tools)
- Fintech and payment processors
- Social platforms with private content
- Developer tools with org/repo isolation
Attack Surface Signals
URL patterns that scream IDOR:
/api/v1/users/{id}/
/api/v*/orders/{order_id}
/invoices/download?id=
/reports/{uuid}/
/messages/{thread_id}
/admin/orgs/{org_id}/members
/migration/{migration_id}/files
/graphql (query params with IDs)
/api/business/{business_id}/
/vouchers/{voucher_id}/policy
Response header signals:
Content-Type: application/jsonon endpoints accepting raw IDs- No
X-Frame-Optionsor CORS misconfigs paired with ID params Authorization: Bearertokens that are user-scoped but hit org-level resources
JavaScript source patterns:
// Look for hardcoded or interpolated IDs in JS
fetch(`/api/v1/users/${userId}/profile`)
axios.get('/invoices/' + invoiceId)
graphql query { billingDocument(id: $docId) }
// Redux/state stores exposing foreign IDs
state.currentUser.organizationId
Tech stack signals:
- GraphQL endpoints (query-based IDORs are often missed)
- REST APIs with sequential integer IDs (most vulnerable)
- UUIDs that are predictable or leaked in other responses
- Multi-tenant SaaS apps with
org_id,account_id,business_idparams - Mobile apps (Burp the APK — mobile APIs often skip authorization checks)
Step-by-Step Hunting Methodology
Map all object references in the application
- Browse every feature authenticated as User A
- Capture all requests in Burp Suite
- Filter for requests containing:
id=,_id=,uuid=,/v1/{noun}/{id}, query params with numeric/UUID values
Enumerate ID types
- Sequential integers → enumerate ±1, ±100
- UUIDs → check if they appear in other responses or JS files
- Hashed IDs → check if leaked in public endpoints, metadata, or GraphQL introspection
Create two separate accounts (same privilege level)
- User A: resource owner
- User B: attacker account
- Log all IDs belonging to User A while authenticated as User A
Replay User A's resource IDs as User B
- Replace session cookie/token with User B's credentials
- Send identical requests referencing User A's object IDs
- Test ALL HTTP verbs: GET, POST, PUT, PATCH, DELETE on each endpoint
Test cross-tenant/cross-org scenarios
- Create accounts in separate organizations/businesses
- Test if Org B's session can reference Org A's IDs
- Pay special attention to admin/management endpoints
Test GraphQL specifically
- Run introspection:
{ __schema { queryType { fields { name } } } }
- Run introspection:
…
よくある質問
IDORとは何ですか?
IDORは「Insecure Direct Object Reference」の略で、URLやリクエストのパラメータ(多くの場合は数字やID)を変えるだけで、本来アクセスできないファイル、データ、機能などにアクセスできてしまうセキュリティ上の欠陥です。
IDORはなぜ危険なのですか?
他のユーザーの個人情報、金融情報、プライベートなメッセージなど、機密情報が漏えいする原因になります。また、攻撃者が他人のデータを変更したり削除したりすることもできてしまいます。
このツールを使うには許可が必要ですか?
はい、必ず必要です。このツールは、セキュリティテストを行う明示的かつ書面による許可を得たシステムに対してのみ使用してください。許可なく使用することは違法です。
詳細
作者による元の説明
Hunting skill for idor vulnerabilities. Built from 26 public bug bounty reports. Use when hunting idor on any target.
人気
- GitHubのスター
- 48k
- ランキング
- #4879
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。