hunt-idor

Detects IDOR vulnerabilities in APIs and web applications using authorization testing methodology.

6|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/Wyl-cmd/kxns-cli --skill hunt-idor-wyl-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-idor
Source: https://github.com/Wyl-cmd/kxns-cli/tree/main/src/kxns_cli/skills/hunt-idor
Command: npx skills add https://github.com/Wyl-cmd/kxns-cli --skill hunt-idor-wyl-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding Insecure Direct Object Reference (IDOR) vulnerabilities requires systematic testing of every endpoint that references user-owned resources by ID, which is tedious and easy to do incompletely. This Skill provides a structured hunting methodology built from 26 public bug bounty reports so testers can reliably identify, validate, and chain object-level authorization flaws. ## Core Features & Use Cases - Attack Surface Mapping: Identifies IDOR-prone URL patterns, JavaScript object references, GraphQL queries, and multi-tenant parameters across REST and GraphQL APIs. - Step-by-Step Testing Methodology: Guides two-account differential testing across all HTTP verbs, cross-tenant scenarios, and GraphQL introspection with concrete curl, ffuf, and Burp Suite commands. - Bypass & Chaining Playbooks: Documents defenses (UUIDs, hashed IDs, rate limits) with corresponding bypasses, plus six high-impact chains such as IDOR-to-account-takeover and IDOR-to-refund-fraud. - Use Case: While testing a SaaS billing API, you create two accounts, replay User A's invoice IDs with User B's session, confirm a 200 OK exposing financial data, and use the Gate 0 validation checklist to write a reproducible report. ## Quick Start Ask the agent to test the target application's API endpoints for IDOR vulnerabilities using two accounts at the same privilege level.

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 resource 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 instead of a 403 or 404.

What is the difference between IDOR, BOLA, and BFLA?

IDOR and BOLA (Broken Object Level Authorization, OWASP API Top 10 A1) both mean accessing objects belonging to other users. BFLA (Broken Function Level Authorization) means a low-privilege user accessing high-privilege functions like admin endpoints or bulk operations.

Can IDOR vulnerabilities exist in GraphQL APIs?

Yes. GraphQL resolvers often fetch objects by ID without field-level authorization checks. Run introspection to enumerate queries and mutations accepting id arguments, then substitute another user's ID in both queries and mutations, including Relay-style node(id:) global IDs.

How do I bypass UUID-based IDOR protections?

UUIDs frequently leak in other API responses, notification emails, webhooks, JavaScript bundles, or GraphQL queries. Harvest victim UUIDs from accessible endpoints, then replay them against restricted endpoints that only check authentication rather than 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, redacted fields, or an access-denied message in the body. Always confirm the response contains the victim's real data and demonstrate reproducibility with two fresh accounts.

When should I chain IDOR with other vulnerabilities?

Chain when a read-only IDOR can reach a state-changing endpoint sharing the same ID, such as email change leading to account takeover, refund endpoints causing financial loss, or member-add endpoints enabling role escalation. Chained IDORs typically receive significantly higher bounty payouts.