sickn33/antigravity-awesome-skills/idor-testing
Claude Code and agent skill by sickn33/antigravity-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Provide systematic methodologies for identifying and exploiting Insecure Direct Object Reference (IDOR) vulnerabilities in web applications.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/idor-testingSKILL.md
⚠️ AUTHORIZED USE ONLYThis 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 gateBefore running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:1. Ask the user to state the exact target URL, IP, account, or resource.2. Ask the user to confirm written authorization and the permitted scope.3. Show the exact command(s) and explain their expected effect.4. 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.
AUTHORIZED USE ONLY: Use this skill only for authorized security assessments, defensive validation, or controlled educational environments.
IDOR Vulnerability Testing
Purpose
Provide systematic methodologies for identifying and exploiting Insecure Direct Object Reference (IDOR) vulnerabilities in web applications. This skill covers both database object references and static file references, detection techniques using parameter manipulation and enumeration, exploitation via Burp Suite, and remediation strategies for securing applications against unauthorized access.
Inputs / Prerequisites
- Target Web Application: URL of application with user-specific resources
- Multiple User Accounts: At least two test accounts to verify cross-user access
- Burp Suite or Proxy Tool: Intercepting proxy for request manipulation
- Authorization: Written permission for security testing
- Understanding of Application Flow: Knowledge of how objects are referenced (IDs, filenames)
Outputs / Deliverables
- IDOR Vulnerability Report: Documentation of discovered access control bypasses
- Proof of Concept: Evidence of unauthorized data access across user contexts
- Affected Endpoints: List of vulnerable API endpoints and parameters
- Impact Assessment: Classification of data exposure severity
- Remediation Recommendations: Specific fixes for identified vulnerabilities
Core Workflow
1. Understand IDOR Vulnerability Types
Direct Reference to Database Objects
Occurs when applications reference database records via user-controllable parameters:
Direct Reference to Static Files
Occurs when applications expose file paths or names that can be enumerated:
2. Reconnaissance and Setup
Create Multiple Test Accounts
Identify Object References
Capture and analyze requests containing:
- Numeric IDs in URLs:
/api/user/123 - Numeric IDs in parameters:
?id=123&action=view - Numeric IDs in request body:
{"userId": 123} - File paths:
/download/receipt_123.pdf - GUIDs/UUIDs:
/profile/a1b2c3d4-e5f6-...
Map User IDs
3. Detection Techniques
URL Parameter Manipulation
Request Body Manipulation
HTTP Method Switching
4. Exploitation with Burp Suite
Manual Exploitation
Automated Enumeration with Intruder
Battering Ram Attack for Multiple Positions
5. Common IDOR Locations
API Endpoints
File Downloads
Query Parameters
Quick Reference
IDOR Testing Checklist
| Test | Method | Indicator of Vulnerability | |
|---|---|---|---|
| Increment/Decrement ID | Change id=5 to id=4 | Returns different user's data | |
| Use Victim's ID | Replace with known victim ID | Access granted to victim's resources | |
| Enumerate Range | Test IDs 1-1000 | Find valid records of other users | |
| Negative Values | Test id=-1 or id=0 | Unexpected data or errors | |
| Large Values | Test id=99999999 | System information disclosure | |
| String IDs | Change format id=user_123 | Logic bypass | |
| GUID Manipulation | Modify UUID portions | Predictable UUID patterns |
Response Analysis
| Status Code | Interpretation | |
|---|---|---|
| 200 OK | Potential IDOR - verify data ownership | |
| 403 Forbidden | This request denied; not proof of overall authorization coverage | |
| 404 Not Found | Missing or deliberately concealed resource; verify with authorized owner session | |
| 401 Unauthorized | Authentication required | |
| 500 Error | Potential input validation issue |
Common Vulnerable Parameters
| Parameter Type | Examples | |
|---|---|---|
| User identifiers | userId, uid, user_id, account | |
| Resource identifiers | id, pid, docId, fileId | |
| Order/Transaction | orderId, transactionId, invoiceId | |
| Message/Communication | messageId, threadId, chatId | |
| File references | filename, file, document, path |
Constraints and Limitations
Operational Boundaries
- Requires at least two valid user accounts for verification
- Some applications use session-bound tokens instead of IDs
- GUID/UUID references harder to enumerate but not impossible
- Rate limiting may restrict enumeration attempts
- Some IDOR requires chained vulnerabilities to exploit
Detection Challenges
- Horizontal privilege escalation (user-to-user) vs vertical (user-to-admin)
- Blind IDOR where response doesn't confirm access
- Time-based IDOR in asynchronous operations
- IDOR in websocket communications
Legal Requirements
- Only test applications with explicit authorization
- Document all testing activities and findings
- Do not access, modify, or exfiltrate real user data
- Report findings through proper disclosure channels
Examples
Example 1: Basic ID Parameter IDOR
Example 2: IDOR in Address Update Endpoint
Example 3: Static File IDOR
Example 4: Burp Intruder Enumeration
Example 5: Horizontal to Vertical Escalation
Troubleshooting
Issue: All Requests Return 403 Forbidden
Cause: Server-side access control is implemented Solution:
Issue: Application Uses UUIDs Instead of Sequential IDs
Cause: Randomized identifiers reduce enumeration risk Solution:
Issue: Session Token Bound to User
Cause: Application validates session against requested resource Solution:
Issue: Rate Limiting Blocks Enumeration
Cause: Application implements request throttling Solution:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/idor-testing/SKILL.md
Popularity
- Repository stars
- 26,383
- Repository forks
- 4,499
- Repository npm downloads, 7 days
- 6,951
- 7-day trend score
- 72
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 21 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/idor-testing)