Reviews code changes for security flaws (injection, authz, secrets, unsafe deserialization, SSRF). Use when asked for a security review, or before merging code that handles user input, auth, files or network calls.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Security Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aixisstudio-security-review)
---
name: security-review
description: Reviews code changes for security flaws (injection, authz, secrets, unsafe deserialization, SSRF). Use when asked for a security review, or before merging code that handles user input, auth, files or network calls.
---
# Security review
## Procedure
1. Identify trust boundaries: where does untrusted input enter (HTTP, files, env, queues, LLM output)?
2. Trace each input to its sinks: SQL, shell, filesystem paths, HTML, deserializers, outbound URLs.
3. Check the checklist below against the changed code only; do not review the whole repo.
## Checklist
- **Injection**: parameterized queries, no string-built SQL, no `shell=True` with user data, safe template rendering.
- **AuthN/AuthZ**: every endpoint checks identity AND object-level permission (IDOR/BOLA), not only login.
- **Secrets**: none in code, logs or error messages; tokens scoped to least privilege.
- **SSRF**: user-controlled URLs are allowlisted; link-local and metadata addresses blocked.
- **Path traversal**: user paths resolved and checked to stay inside an allowed root.
- **Deserialization**: no pickle/yaml.load on untrusted data.
- **Crypto**: no homemade crypto, slow salted password hashing (argon2id/bcrypt), authenticated encryption.
- **Dependencies**: new packages justified, pinned, maintained.
- **Logging**: no sensitive data; failures are logged.
## Output format
For each finding: severity (high/medium/low), file and line, the exploit in one sentence, and a concrete fix. End with what you did NOT review. If nothing is wrong, say so plainly instead of inventing findings.