/security:security-code-auditfrom security
Audits source code for security vulnerabilities using OWASP Top 10 and source-to-sink tracing. Produces a findings register with severity, file:line, and exploitability.
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.
Read source code and find vulnerabilities by pattern. No running app required — works in any AI coding tool. Trace untrusted input from its source (where it enters) to its sink (where it's used dangerously).
Core principle: A vulnerability is untrusted data reaching a dangerous sink without adequate validation/encoding in between. Find the source→sink paths.
file:line, the exact data path, and how to exploit it.| Risk | Smell / sink to search |
|---|---|
| Injection (SQL/NoSQL/cmd) | string-built queries, exec, eval, system, template interpolation in queries |
| Broken access control (IDOR) | object lookups by user-supplied id with no ownership check |
| Broken auth | custom crypto, weak session handling, missing MFA, token in URL |
| Cryptographic failures | md5/sha1 for passwords, hardcoded keys, Math.random for tokens, no TLS |
| SSRF | server fetches a user-supplied URL (requests.get(input), fetch(input)) |
| Security misconfig | debug=true, default creds, permissive CORS *, verbose errors |
| XSS | innerHTML, dangerouslySetInnerHTML, v-html, unescaped template output |
| Insecure deserialization | pickle.loads, yaml.load, native deserialize on input |
| Vulnerable dependencies | check lockfiles vs advisories (npm audit, pip-audit, osv) |
| SSTI / path traversal | template render of input, ../ in file paths from input |
references/web-frontend.md — XSS, CSRF, CSP, client-side secrets, clickjackingreferences/api-backend.md — authz/IDOR, injection, SSRF, JWT, rate limiting, mass assignmentreferences/database.md — SQLi/NoSQLi, access control, data exposure, ORM pitfalls| ID | Severity | Title | Location | Source→sink | Exploitability | Fix pointer |
|---|---|---|---|---|---|---|
| F1 | High | SQLi in user search | api/users.py:42 | ?q= → raw SQL | Unauth, dumps DB | parameterize → security-hardening |
Severity = the threat-model risk score, adjusted for how exploitable the code actually is.
High-severity findings on a running app → active-pentest to validate.
All findings → security-hardening to fix.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mn-youssef/security-skills --plugin security16 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./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.Other plugins' skills for the same job