In Claude (connector)install_skill("security-review")
CLIlendskill install security-review
SKILL.md
---
name: security-review
description: Review code or a pull request for security problems — hard-coded secrets, injection (SQL, command, template), XSS, broken authentication and access control (IDOR), SSRF, unsafe deserialization, insecure defaults and vulnerable dependencies — with severity, proof and fixes. Use for security reviews, pre-launch checks or 'is this code safe'.
license: Proprietary — Lendskill original
---
# Security Review
Defensive review only: find and fix weaknesses in the user's own code.
## Checklist
- **Secrets**: keys/tokens in code, config, logs or client bundles; `.env` committed; secrets in URLs.
- **Injection**: string-built SQL (use parameters), shell commands with user input, template injection, path traversal in file access.
- **Access control**: every endpoint checks the caller may act on THIS resource (no IDOR); admin routes protected server-side; database row-level security where applicable.
- **Auth/session**: password hashing (bcrypt/argon2), secure cookie flags, token expiry, CSRF for cookie auth, rate limits on login/reset.
- **Web**: output encoding (XSS), CORS not `*` with credentials, security headers, SSRF on URL fetchers, open redirects.
- **Data**: PII minimized and not logged; encryption in transit; uploads validated (type, size, storage outside web root).
- **Dependencies**: run `npm audit` / `pip-audit`; flag only reachable, relevant issues.
## Report
Each finding: severity (critical/high/medium/low), file:line, why it's exploitable, the fix as code. Separate confirmed issues from things to double-check. No noise for theoretical issues with no path.