hunt-idor

Detects IDOR vulnerabilities in APIs and web applications using two-account authorization testing.

Updated May 29, 2026
One-click install
npx skills add https://github.com/hhjkjkjk/Claude-skills --skill hunt-idor-hhjkjkjk
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hunt-idor
Source: https://github.com/hhjkjkjk/Claude-skills/tree/main/skills/hunt-idor
Command: npx skills add https://github.com/hhjkjkjk/Claude-skills --skill hunt-idor-hhjkjkjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding Insecure Direct Object Reference (IDOR) vulnerabilities requires systematic testing of object-level authorization, which is tedious and easy to miss when done ad hoc. This Skill provides a structured methodology built from 26 public bug bounty reports to identify, exploit, and document IDOR flaws on any target. ## Core Features & Use Cases - Attack Surface Mapping: Identifies IDOR-prone URL patterns, JavaScript object references, GraphQL endpoints, and multi-tenant parameters like org_id and business_id. - Step-by-Step Hunting Methodology: Guides two-account differential testing across all HTTP verbs, cross-tenant scenarios, GraphQL queries and mutations, and destructive operations. - Bypass Techniques & Chains: Covers UUID harvesting, parameter pollution, mass assignment, and six high-value chains that escalate read-only IDORs into account takeover, financial fraud, or privilege escalation. - Use Case: While testing a SaaS application, you create two accounts, replay User A's invoice IDs with User B's session, confirm a 200 OK with cross-tenant data, then chain it to a refund endpoint for demonstrable financial impact. ## Quick Start Use the hunt-idor skill to test this application's API endpoints for IDOR vulnerabilities using two test accounts.

Frequently Asked Questions about hunt-idor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for IDOR vulnerabilities in an API?▼

Create two accounts at the same privilege level, capture User A's object IDs while authenticated, then replay those requests with User B's session token. Test all HTTP verbs (GET, POST, PUT, PATCH, DELETE) and confirm a 200 response containing User A's data proves the IDOR.

What tools are used for IDOR hunting?▼

Burp Suite captures and replays requests, ffuf enumerates sequential IDs with filtered status codes, and curl performs manual token-swapped tests. JavaScript bundle analysis with grep helps harvest leaked UUIDs and object references.

Can IDOR vulnerabilities exist in GraphQL APIs?▼

Yes, GraphQL resolvers often lack field-level authorization. Run introspection to enumerate queries and mutations accepting id arguments, then substitute another user's ID in both read queries and write mutations to test object-level access control.

How do I bypass UUID-based IDOR protections?▼

UUIDs frequently leak in other API responses, notification emails, webhooks, JavaScript source, or GraphQL queries. Harvest victim UUIDs from accessible endpoints, then replay them against restricted endpoints that only check authentication, not ownership.

Why does my IDOR report get marked as not applicable?▼

The most common cause is a 200 response that returns no actual victim data, such as empty arrays or redacted fields. Always confirm the response contains real cross-tenant data and document the exact differential between attacker and victim access.

What makes an IDOR vulnerability high severity?▼

Severity increases when the IDOR exposes financial data, PII at scale, or chains into state changes like email modification, refunds, or role escalation. A read-only IDOR chained to a password reset or mass-assignment flaw can reach full account takeover.