broken-access-control
Detects missing ownership checks, broken role enforcement, and IDOR vulnerabilities that let users access other users' resources. Use when writing code that checks authorization, enforces resource ownership, handles IDOR (object-level authorization), processes server-side requests to external URLs, or implements access control middleware.
Install
With your agent
Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/broken-access-control" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/thejefflarson/soundcheck /tmp/soundcheck && ln -s /tmp/soundcheck/.claude/skills/broken-access-control ~/.claude/skills/broken-access-control
From README
Broken Access Control Security Check (A01:2025) What this checks Protects against unauthorized resource access caused by missing ownership checks or role enforcement. Exploitation leads to horizontal/vertical privilege escalation. For SSRF (server-side request forgery), see the dedicated ssrf skill. Vulnerable patterns Resource lookup by caller-supplied identifier with no ownership predicate before the row is returned, mutated, or acted on Privileged or admin route mounted with no role check at the route/controller declaration Ownership check that runs after the resource has already been fetched and consumed by downstream logic Ownership failure that responds with a distinct "forbidden" status, leaking that the resource exists Fix immediately Flag the vulnerable code and explain the risk. Then suggest a fix that establishes these properties: Every resource lookup by caller-supplied identifier is gated before the resource is returned, mutated, or acted on.
More from this repo
authentication-failures
Detects weak password storage, flawed JWT validation, sessions surviving logout, and missing MFA in authentication code.
concurrency-correctness
Detects multi-threaded code where a lock is held across a blocking operation, lock acquisition order risks deadlock,...
contract-review
Deep review that audits API contracts for mismatches between what callers assume and what implementations enforce.
