Skip to content
Agentmart
Submit a tool

idor

Insecure Direct Object Reference testing for broken access control

Skill by omkar-ukirde

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/omkar-ukirde-idor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Insecure Direct Object Reference testing for broken access control

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/idor

What's inside

Skill name
idor
Description
Insecure Direct Object Reference testing for broken access control
License
MIT
Instructions
108 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# IDOR Testing Methodology

## Overview
IDOR occurs when an application uses user-supplied input to access objects directly without proper authorization checks.

## Types
1. **Horizontal IDOR**: Access other users' data at same privilege level
2. **Vertical IDOR**: Access higher privilege resources

## Testing Methodology

### 1. Identify Object References
- Numeric IDs: /api/users/123
- UUIDs: /api/orders/550e8400-e29b-41d4-a716-446655440000
- Encoded IDs: Base64, Hashes
- File names: /documents/report_123.pdf

### 2. Common Endpoints to Test
```
/api/users/{id}
/api/orders/{id}
/api/invoices/{id}
/api/documents/{id}
/api/accounts/{id}
/api/profiles/{id}
/api/messages/{id}
/api/transactions/{id}
```

### 3. ID Manipulation
```
# Numeric
123 → 124, 122, 0, 1, -1, 999999

# Sequential
Replace your ID with another user's ID

# UUID
Generate valid UUID format
Try null UUID: 00000000-0000-0000-0000-000000000000

# Encoded
Decode, modify, re-encode
```

### 4. HTTP Method Tampering
```
GET /api/users/123 → Try with different user ID
PUT /api/users/123 → Try updating another user
DELETE /api/users/123 → Try deleting another user
```

### 5. Parameter Pollution
```
/api/users?id=123&id=456
/api/users?id=123,456
/api/users?id[]=123&id[]=456
```

### 6. JSON Body Manipulation
```json
// Original
{"user_id": 123, "action": "view"}

// Modified
{"user_id": 456, "action": "view"}
```

### 7. Header Manipulation
```
X-User-ID: 456
X-Original-User: 456
```

## PoC Template
```python
import requests

def test_idor(base_url, endpoint, my_id, other_id, auth_token):
    headers = {"Authorization": f"Bearer {auth_token}"}
    
    # Access own resource
    r1 = requests.get(f"{base_url}{endpoint}/{my_id}", headers=headers)
    
    # Try accessing other user's resource
    r2 = requests.get(f"{base_url}{endpoint}/{other_id}", headers=headers)
    
    if r2.status_code == 200:
        print(f"[+] IDOR found! Accessed user {other_id}'s data")
        print(f"Response: {r2.json()}")
        return True
    return False
```

## Indicators of IDOR
- 200 OK with different user's data
- Response contains PII of other users
- Sensitive data without permission check
- Same response structure but different data

## Impact
- Access other users' personal data
- Modify other users' settings
- Delete other users' resources
- Financial fraud
- Privacy violations

From omkar-ukirde/RedStrike.AI, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jan 30, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from omkar-ukirde

Cite this page

idor skill. Agent Mart. https://agentmart.dev/skills/omkar-ukirde-idor (last updated 2026-10-24)