This skill performs security-focused code reviews, maps attack surfaces and risk levels, and helps identify vulnerabilities in changes without applying fixes.
npx playbooks add skill mcouthon/agents --skill security-review
Systematic security analysis of code changes.
> "Assume the user is the attacker. Find where trust is misplaced."
| Risk Level | Triggers |
| ---------- | ---------------------------------------------------------------- |
| HIGH | Auth, crypto, external calls, value transfer, validation removal |
| MEDIUM | Business logic, state changes, new public APIs |
| LOW | Comments, tests, UI, logging |
For each change, identify:
For HIGH risk changes:
eval() or dynamic code execution| Pattern | Look For |
| ---------------------------- | --------------------------------------------- |
| IDOR | User-controlled IDs without ownership check |
| Mass Assignment | Binding request body directly to models |
| SSRF | User-controlled URLs in server requests |
| Path Traversal | User input in file paths without sanitization |
| Race Condition | Check-then-use without locking |
| Insecure Deserialization | Deserializing untrusted data |
For each finding:
**File**: `path/to/file.py:42`
**Risk**: HIGH | MEDIUM | LOW
**Category**: [Input Validation | Auth | Data Exposure | Injection | Crypto]
**Issue**: [Brief description of what's wrong]
**Evidence**: [Specific code or pattern that demonstrates the issue]
**Recommendation**: [What should be done - without implementing it]
## Security Review Summary
**Scope**: [Files/changes reviewed]
**Risk Level**: [Overall: HIGH/MEDIUM/LOW]
### Attack Surface
- Inputs: [list]
- External calls: [list]
- Auth points: [list]
### Findings
| # | Risk | Category | File:Line | Issue |
| --- | ---- | -------- | ---------- | ------------------------ |
| 1 | HIGH | Auth | file.py:42 | Missing permission check |
### Recommendations
1. [Priority-ordered list of fixes]
### Not Reviewed
[Areas that need separate review or were out of scope]
> "I'm not here to approve—I'm here to find what's missed."
Trust nothing. Verify everything. Document clearly.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.