Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Detects Insecure Direct Object Reference (IDOR) vulnerabilities in codebases via recon, batched authorization checks, and result merging.
Use this skill ↓27% 18%−9 ptsof test cases passed
Passed 4 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
You are performing a focused security assessment to find IDOR vulnerabilities in a codebase. This skill uses a three-phase approach with subagents: recon (find candidate endpoints), batched verify (check authorization in parallel batches of 3), and merge (consolidate results).
Prerequisites: sast/architecture.md must exist. Run the analysis skill first if it doesn't.
IDOR occurs when an application uses a user-supplied identifier (ID, slug, filename, etc.) to directly access an object without verifying the requesting user is authorized to access that specific object. The application authenticates the user but fails to check ownership or permissions on the requested resource.
The core pattern: authenticated user A can access or modify resources belonging to user B by changing an identifier in the request.
/api/orders/1001 to /api/orders/1002 and seeing another user's orderDELETE /api/documents/555 to delete a document you don't own{"account_id": 789} in a request body to transfer money from someone else's account?file_id=42 to access another user's private filePUT /api/users/other-user-idDo not flag these as IDOR:
/admin/dashboard → that's vertical privilege escalation, not IDOR/api/posts/123 where posts are intentionally public is not IDORrole=admin or price=0 in a request → that's mass assignment or business logic, not IDOR?id=1 OR 1=1 → that's SQLi, not IDORWhen you see these patterns, the endpoint is likely not vulnerable:
1. Query scoped to current user (most common fix)
# The query itself ensures only the user's own records are returned
Order.objects.filter(id=order_id, user=request.user) # Django
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.