From soundcheck
Detects missing ownership checks, broken role enforcement, and IDOR vulnerabilities in authorization code. Use when implementing access control middleware or resource ownership checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/soundcheck:broken-access-controlThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Protects against unauthorized resource access caused by missing ownership checks or
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.
Flag the vulnerable code and explain the risk. Then suggest a fix that establishes these properties:
if role != "admin" checks inside
handler bodies are brittle — they can be forgotten on a new route and they're
invisible at a glance.Translate these principles to the audited file's language and framework. Use the documented authorization or policy mechanism for that stack; do not invent ad-hoc checks in handler bodies.
Confirm these properties hold (language-agnostic):
if checks inside individual handler bodiesnpx claudepluginhub thejefflarson/soundcheck --plugin soundcheckAnalyzes PHP code for authorization issues including missing access control, IDOR, privilege escalation, and role-based gaps. Use for security reviews in PHP apps.
Audits IAM policies, RBAC, ACLs, file permissions, and API authorization for vulnerabilities, privilege escalation paths, and least privilege violations.
Audits Python code for authentication bypass vulnerabilities in permission checks, DRF views, JWT/token validation, decorators, middleware, and SSO/OAuth flows. Covers CWE-285/287/863.