Agent skill / SnailSploit
### offensive-idor
Core file
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionoffensive-idorExecute the skills CLI command in your project's root directory to begin installation:
Package manager
npx skills add https://github.com/SnailSploit/Claude-Red --skill offensive-idorFetches offensive-idor from SnailSploit/Claude-Red and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate offensive-idor. Access via /offensive-idorin your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Copy the command for your terminal
Package manager
npx skills add https://github.com/SnailSploit/Claude-Red --skill offensive-idorWorks with
IDOR (Insecure Direct Object Reference) testing checklist: object ID enumeration, horizontal/vertical privilege escalation, GUID predictability, indirect references via hashes, chained IDOR, and API endpoint IDOR. Use for web app pentests and bug bounty IDOR discovery.
Use this skill when the conversation involves any of:
IDOR, insecure direct object reference, horizontal privilege escalation, vertical privilege escalation, object enumeration, GUID, API IDOR, mass assignment, broken access control
When this skill is active:
flowchart LR
A[Create Test Accounts] --> B[Discover Features]
B --> C[Intercept Traffic]
C --> D[Switch IDs in Requests]
D --> E{IDOR Found?}
E -->|Yes| F[Document Vulnerability]
E -->|No| G[Try Protection Bypass]
G --> H[Monitor Information Leaks]
flowchart TD
A[IDOR Vulnerabilities] --> B[Missing Authorization Checks]
A --> C[Client-Side ID Transmission]
A --> D[Predictable Resource Identifiers]
A --> E[Insufficient Access Control Logic]
A --> F[Improper Session Handling]
A --> G[Reliance on Obfuscation]
B --> H[Horizontal Access Control Failures]
C --> H
D --> I[Vertical Access Control Failures]
E --> I
F --> J[Context-Dependent Access Control Failures]
G --> J
Insecure Direct Object References (IDOR) occur when an application exposes a reference to an internal implementation object without sufficient access control. These vulnerabilities allow attackers to manipulate these references to access unauthorized data or perform unauthorized actions.
IDOR vulnerabilities arise from flawed access control mechanisms that fail to validate whether a user should have permission to access or modify a specific resource. The core implementation issues include:
IDORs manifest in various patterns:
Create Multiple Test Accounts:
Establish Baseline Behavior:
Request Capture Setup:
Request Parameter Analysis:
id, user_id, account_id, file, doc, document, record, item, order, number, profile,
edit, view, filename, object, num, key, userid, uuid, group, role
sub, org_id) or signed cookies; tamper if server fails to re‑authorize.Parameter Manipulation Techniques:
id=1 → id=2)user_id, account_id) to requests that don't initially have them (e.g., GET /api/messages → GET /api/messages?user_id=<victim_uuid>). Parameter names can often be inferred from other requests or discovered using tools like Arjun.{"items": [{"id": 123, "owner": "victim"}]} → {"items": [{"id": 456, "owner": "attacker"}]}
.json, .xml, .config). Ruby applications might respond differently to /resource/123 vs /resource/123.json.GET /api/users/*). Rare, but worth trying.{"id":19} → {"id":[19]}).{"id":111} → {"id":{"id":111}}).account_id=UUID → account_id=123).id=123&id=456, user_id=attacker_id&user_id=victim_id, user_id=attacker_id[]&user_id=victim_id[]). See HTTP Parameter Pollution under Bypass Techniques.If-None-Match probing to infer existence without full access.Endpoint Analysis Questions: For each endpoint receiving an object ID, ask:
Hidden Parameter Discovery:
Web Socket Discovery:
Testing Methodology:
mindmap
root((IDOR Testing))
::icon(fa fa-bug)
style root fill:#f96,stroke:#333,stroke-width:2px
id1(Blind Detection)
::icon(fa fa-eye-slash)
style id1 fill:#bbf,stroke:#33f,stroke-width:1px
id1.1[Comparative Response Analysis]
style id1.1 fill:#ddf,stroke:#33f
id1.2[Out-of-Band Detection]
style id1.2 fill:#ddf,stroke:#33f
id1.3[Side-Channel Analysis]
style id1.3 fill:#ddf,stroke:#33f
id2(Mass Testing)
::icon(fa fa-rocket)
style id2 fill:#fbf,stroke:#939,stroke-width:1px
id2.1[Automated Identifier Enumeration]
style id2.1 fill:#fdf,stroke:#939
id2.2[Parallel Testing with Burp]
style id2.2 fill:#fdf,stroke:#939
id2.3[Pattern Recognition]
style id2.3 fill:#fdf,stroke:#939
id3(Protection Bypass)
::icon(fa fa-shield)
style id3 fill:#bfb,stroke:#393,stroke-width:1px
id3.1[ID Obfuscation Bypass]
style id3.1 fill:#dfd,stroke:#393
id3.2[Access Control Bypass]
style id3.2 fill:#dfd,stroke:#393
id3.3[Reference Leakage Exploitation]
style id3.3 fill:#dfd,stroke:#393
Comparative Response Analysis:
Out-of-Band Detection:
Side-Channel Analysis:
import requests
session = requests.Session()
# Login code here...
# Test range of IDs
for id in range(1, 1000):
response = session.get(f"https://example.com/api/documents/{id}")
if response.status_code == 200:
print(f"Found accessible document: {id}")
# Log response for later analysis
Parallel Testing with Burp:
Pattern Recognition:
/api/document/MjQ2 (base64 of "246") → /api/document/MjQ3 (base64 of "247")
GET /api/users/123 → POST /api/users/123
Content-Type: application/json → Content-Type: application/xml
GET /api/document?id=attacker_id&id=victim_id
GET /api/users?user_id=attacker_id[]&user_id=victim_id[]
{ "user_id": "attacker_id", "user_id": "victim_id" }
GET /admin/profile → GET /ADMIN/profile
POST /users/delete/MY_ID/../VICTIM_ID
GET /v3/users/123 → 403 Forbidden
GET /v1/users/123 → 200 OK
HTTP Request Smuggling: Use CL.TE or TE.CL smuggling to inject victim IDs in backend requests
POST / HTTP/1.1
Content-Length: 4
Transfer-Encoding: chunked
1
Z
Q
Front-end strips user_id parameter but back-end processes it from smuggled request chunk
{ "name": "John", "role": "admin", "user_id": "victim_id", "is_admin": true }
userId vs user_id vs UserId vs USER_ID
{
"profile": {
"name": "John",
"owner_id": "attacker_id",
"target_id": "victim_id"
}
}
Harvesting IDs from HTML/JS Sources:
API Response Analysis:
graph LR
A[IDOR Patterns] --> B[API Endpoint Vulnerabilities]
A --> C[Function-Specific Vulnerabilities]
B --> D[RESTful API IDORs]
B --> E[GraphQL IDORs]
B --> F[JSON/XML Parameter IDORs]
C --> G[Account Management]
C --> H[Financial Operations]
C --> I[Content Management]
C --> J[Administrative Functions]
RESTful API IDORs: Direct manipulation of resource identifiers in REST APIs
GET /api/users/123/profile → GET /api/users/456/profile
GraphQL IDORs: Changing object identifiers in GraphQL queries
query {
user(id: "attacker_id") {
changePassword(newPassword: "pwned")
}
}
JSON/XML Parameter IDORs: Modifying nested parameters
{"user": {"id": 123, "action": "view"}} → {"user": {"id": 456, "action": "view"}}
Account Management IDORs:
Financial IDORs:
Content Management IDORs:
Administrative Function IDORs:
OAuth/OIDC IDORs:
state or code parameters in OAuth flows2FA/MFA IDORs:
/api/users/{user_id}/totp-secretNotification/Webhook IDORs:
/api/notifications/settings/{user_id}Real-time Feature IDORs:
__typename switches to reach sibling object types.id arguments and nested object IDs in mutations and batch queries; verify per‑object ownership checks..proto definitions; disable reflection in production when possible.Key=/object path, query params, or credentials (e.g., X-Amz-Security-Token) to replay others’ files; test cross‑tenant reuse./api/v2/traces or /v1/traces, harvest IDs, and replay them against protected APIs.POST /v1/data/authz/allow).Burp Suite Extensions:
Specialized Tools:
Framework-Specific Tools:
Reconnaissance Phase:
Identification Phase:
Testing Phase:
Exploitation Phase:
Reporting Phase:
/api/users/myinfo vs /api/admins/myinfo).When hunting for IDORs, prioritize these high-impact endpoints:
User Profile Settings:
Payment and Financial Endpoints:
Administrative Functions:
Authentication & MFA Endpoints:
Notification & Communication:
Real-Time & Collaboration:
IDOR vulnerabilities can often be chained with other issues or used to escalate privileges:
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
SnailSploit/Claude-Red
whyashthakker/beam-cli
whyashthakker/beam-cli
schalkneethling/webdev-agent-skills
sickn33/antigravity-awesome-skills
inference-sh/skills
offensive-idor fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
offensive-idor reduced setup friction for our internal harness; good balance of opinion and flexibility.
offensive-idor is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
offensive-idor fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for offensive-idor matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: offensive-idor is the kind of skill you can hand to a new teammate without a long onboarding doc.
offensive-idor has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in offensive-idor — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend offensive-idor for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
offensive-idor fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 45