| name | security-review |
| description | Review code for security issues before merge — authz gaps, injection, secrets, unsafe defaults, SSRF, path traversal. Use when reviewing a PR, auditing a diff, shipping auth/payments/uploads, or when the user asks for a security review or OWASP check. |
Security Review
Review the current change like a security-minded senior. Prefer concrete findings over generic advice.
Scope
Focus on the diff and directly related call paths. Do not audit the whole repo unless asked.
Checklist
Auth & access
Input & data
Secrets & config
Network & server
Dangerous APIs
Output format
Group findings:
| Severity | Rule | Where | Why it matters | Fix |
|---|
| Critical / High / Medium / Low / Note | short name | file:line or symbol | 1 sentence | concrete change |
End with:
- Blockers — must fix before merge
- Safe to ship with follow-ups — optional
If no issues: say so explicitly and list what you checked.