/security:access-control-testingfrom security
Tests for broken access control vulnerabilities including IDOR/BOLA, privilege escalation, multi-tenant isolation, forced browsing, BFLA, and mass assignment.
Ships in security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Verify that every object and every action enforces "is this caller allowed?" server-side. Broken access control is the most common and highest-impact real-world flaw — and the easiest to miss because the happy path works perfectly.
Core principle: Authentication proves who you are; authorization proves what you may do. Test the second one on every object and every action — not just the UI-visible ones.
Use test accounts you created on an app you own/are authorized to test. Two accounts (A and B) plus one admin/one low-priv account is the cleanest setup.
| Read | Write/Update | Delete | Admin action | |
|---|---|---|---|---|
| As another user (horizontal) | A reads B's object? | A edits B's? | A deletes B's? | — |
| As lower privilege (vertical) | user hits admin read? | user hits admin write? | — | user invokes admin fn? |
| Unauthenticated | no token → data? | no token → mutate? | — | no token → admin? |
If any cell succeeds, that's a finding.
/admin, /api/internal) with a normal account.role, isAdmin, userId, price).GET may be guarded but PUT/DELETE/PATCH forgotten.See references/access-control-tests.md for concrete request recipes and edge cases.
| Class | Test |
|---|---|
| IDOR / BOLA | Change an id/uuid/filename to another user's; do you get their data? |
| Horizontal privesc | Act on another same-level user's resources. |
| Vertical privesc | Low-priv account reaches admin function/data. |
| BFLA | Admin endpoint guarded in UI but callable directly by anyone. |
| Multi-tenant break | Tenant A reads tenant B (swap org_id/tenant_id). |
| Mass assignment | Inject privileged fields into the request body. |
| Forced browsing | Guess/enumerate unlinked privileged routes. |
Findings in the register: which account hit which endpoint/object, the exact swapped request, what was exposed, and horizontal vs vertical. Severity is almost always High+.
Confirmed on a running app → reproduce via active-pentest; chain with others in
vulnerability-chaining; fix via security-hardening (deny-by-default, server-side checks).
GET only — mutations are where damage happens.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mn-youssef/security-skills --plugin security16 skills in this plugin
/active-pentestUse when you need to actually run security tests against a running application you own or are authorized to test — the shared execution harness for lab/proxy/scanner setup, safe non-destructive execution, and standardized proof-of-concept capture that the find/exploit specialist skills rely on./api-security-testingUse when testing REST, GraphQL, gRPC, or WebSocket APIs against the OWASP API Security Top 10 — object- and function-level authorization (BOLA/BFLA), excessive data exposure, mass assignment, unrestricted resource consumption, and GraphQL-specific abuse. For apps you own or are authorized to test./authentication-testingUse when testing login, sessions, password reset, OAuth/OIDC/SAML/SSO, MFA, and JWTs for weaknesses that lead to account takeover — credential attacks, session fixation, reset-token poisoning, MFA bypass, and token forgery. On apps you own or are authorized to test./business-logic-testingUse when testing application-specific workflow and business-rule flaws that scanners cannot find — price/quantity/parameter tampering, workflow and state-machine bypass, race conditions and TOCTOU, replay, and abuse of coupons/refunds/limits. Requires understanding what the app is supposed to do./client-side-exploitationUse when testing advanced browser-side and HTTP-layer attacks beyond basic XSS/CSRF — DOM XSS, CSP bypass, CORS misconfiguration exploitation, postMessage abuse, prototype pollution, DOM clobbering, clickjacking, web cache poisoning, and HTTP request smuggling. On apps you own or are authorized to test./file-upload-and-ssrfUse when testing file-upload handling, server-side request forgery (SSRF), and insecure deserialization — upload bypasses (type/extension/content, polyglots, path traversal), SSRF to cloud metadata and internal services, and unsafe deserialization sinks. On apps you own or are authorized to test.Other plugins' skills for the same job