/security:api-security-testingfrom security
Tests REST, GraphQL, gRPC, and WebSocket APIs against the OWASP API Security Top 10. Covers BOLA/BFLA, excessive data exposure, mass assignment, and resource consumption.
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.
Modern apps are API-first, and APIs fail differently from web pages: the bugs are in authorization per object/field and resource limits, not rendering. Test the API directly, bypassing the UI entirely.
Core principle: The UI is one client; attackers talk to the API raw. Every endpoint, field, and method must enforce authz and limits on its own — the front-end protects nothing.
Your own/authorized API. Use test accounts and a non-production instance for stateful tests.
Pull the contract, then test every operation it (and the UI) reveals:
/swagger, /openapi.json, /api-docs), GraphQL introspection,
gRPC reflection, Postman collections, mobile-app traffic via proxy.| # | Risk | Test |
|---|---|---|
| API1 | BOLA (object authz) | Swap object ids across accounts → see access-control-testing |
| API2 | Broken authentication | Weak tokens/JWT/keys → see authentication-testing |
| API3 | BOPLA (property authz) | Read fields you shouldn't (excessive exposure) / write fields you shouldn't (mass assignment) |
| API4 | Unrestricted resource consumption | No rate/size/page limits; expensive queries; cost/DoS |
| API5 | BFLA (function authz) | Call admin/privileged operations as a normal user |
| API6 | Unrestricted access to business flows | Automate a flow meant to be human-paced (scalping, spam) |
| API7 | SSRF | Server fetches a URL you supply → see file-upload-and-ssrf |
| API8 | Misconfiguration | Verbose errors, permissive CORS, missing security headers |
| API9 | Improper inventory | Old /v1 next to /v2, staging APIs, undocumented endpoints |
| API10 | Unsafe third-party consumption | App trusts an external API's response blindly |
See references/api-attacks.md for REST, GraphQL, gRPC, and WebSocket recipes.
The API often returns more than the UI shows (full user objects with passwordHash, internal
flags, other users' fields). Inspect raw JSON responses, not the rendered page.
Per finding: endpoint/operation, method, account used, the raw request/response, which API-Top-10 class, and impact. BOLA/BFLA findings are typically High–Critical.
Deep authz → access-control-testing; auth/JWT → authentication-testing; flow abuse →
business-logic-testing; reproduce → active-pentest; fix → security-hardening.
/v1 often lacks /v2's fixes.What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/access-control-testingUse when testing whether users can access data or actions they shouldn't — IDOR/BOLA, horizontal and vertical privilege escalation, multi-tenant isolation, forced browsing, function-level authorization (BFLA), and mass assignment. The/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./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.npx claudepluginhub mn-youssef/security-skills --plugin securityOther plugins' skills for the same job