security-review
/security-review
Use when a feature or PR needs a security review or lightweight threat model: auth, data access, injection, abuse cases, privacy, secrets, logging, or is this safe.
- Author
- omexit ↗
- Repository
- claude-skills-pack ↗
- Licence
- MIT
- Last repository change
- 15.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 15.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when a feature or PR needs a security review or lightweight threat model: auth, data access, injection, abuse cases, privacy, secrets, logging, or is this safe.
Original author description
Use when a feature or PR needs a security review or lightweight threat model: auth, data access, injection, abuse cases, privacy, secrets, logging, or is this safe.
How it works
- Inputs (ask only if missing)
- Lenses and fan-out
- Workflow
- Output
- Workflow context
- Output contract
SKILL.md preview
---
name: security-review
description: "Use when a feature or PR needs a security review or lightweight threat model: auth, data access, injection, abuse cases, privacy, secrets, logging, or is this safe."
---
# Security review (practical)
> Delegation, model labels, and task tracking below use Claude Code notation. In Codex or another client, follow `../../references/cross-client.md`.
A lightweight threat model and findings for one feature, PR, or endpoint set, prioritized by real
exploitability. This is the security deep dive; `code-audit` covers security only as one breadth
dimension, and `arch-review` covers structural boundaries.
## Inputs (ask only if missing)
- What is changing (feature, PR, endpoints)
- Data involved (PII, financial, secrets) and the auth model (who can do what)
- Deployment context (public, internal, multi-tenant)
## Lenses and fan-out
| Lens | Label | Focus |
|---|---|---|
| `AUTH` | `opus` | Authentication, session, server-side authorization, object-level access, tenant isolation, roles |
| `INJECTION` | `sonnet` | SQL/NoSQL, command, template, path traversal, XSS, SSRF, unsafe deserialization |
| `PRIVACY` | `opus` | PII minimization, retention, logs and errors, analytics payloads, secrets handling |
| `ABUSE` | `sonnet` | Rate limits, enumeration, credential stuffing, resource exhaustion, bulk operations |
Map the attack surface first, in one pass. **Fan-out is conditional:** a single endpoint, PR, or
module runs the four lenses inline. Fan out only for a large surface (many services or entry
points): dispatch the lenses as parallel Agent calls in one message with the attack-surface map,
then synthesize one risk-ranked list.
## Workflow
1. **Attack surface:** every entry point (endpoints, forms, uploads, webhooks, consumers, jobs,
headers, URL parameters) and the trust boundary each crosses.
2. **Trace data flow:** for each input, where it is stored, rendered, logged, and forwarded.
3. **Authentication and authorization:** per endpoint and per persistence path, enforced
server-side; object-level checks (can user A reach user B's record by changing an ID?); tenant
isolation; privilege escalation between roles; default deny.
4. **Injection and parsing:** parameterized queries, escaped output, no user input in shell,
templates, file paths, or fetched URLs without validation.
5. **Exposure:** response over-fetching; PII, tokens, or secrets in logs, errors, analytics, or URLs;
errors returned as RFC 9457 Problem Details without stack traces or provider internals; internal
IDs (TSIDs) never exposed, external IDs are UUIDv7.
6. **Secrets and dependencies:** no secrets in code, committed config, logs, or URLs; secrets come
from the platform's secret store or injected environment. Check vulnerable dependencies against
the resolved dependency graph with official advisories or the ecosystem scanner; never infer a
vulnerability from a package name or a different version.
7. **Abuse:** enumeration, credential stuffing, spam through user content, unbounded bulk requests,
expensive operations without limits.
8. **Defaults:** new features fail closed; debug endpoints, permissive CORS, and default
credentials are off in production.
Every finding states what is vulnerable, the exploit path (who, from where, with what access), the
evidence (code, config, request, or scoped search), and the fix. Theoretical risk with no reachable
path is a note, not a finding. Never propose home-grown cryptography.
## Output
Fill `assets/security-review.md`. Group findings as **Must-fix** (exploitable now, high impact),
**Should-fix** (exploitable with effort, moderate impact), **Nice-to-have** (defense in depth).
State explicitly what was not reviewed, and give a verification step for each fix.
## Workflow context
- Typically follows: `design-doc`, `code-audit` (security leads), `code-review:code-review` (official plugin).
- Feeds into: `test-plan` (security test cases), `finalize`.
- Related: `performance-review` (rate limiting and resource exhaustion overlap).
## Output contract
```yaml
produces:
- type: "security-review"
format: "markdown"
path: "claudedocs/<feature>-security-review.md"
sections: [threat_model, findings, owasp_checklist, remediation]
handoff: "Write claudedocs/handoff-security-review-<timestamp>.yaml - suggest: finalize, test-plan"
```
Files in this package (2)
- SKILL.md 4 KB
- assets/security-review.md 2 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · omexit/claude-skills-pack | 100 | MIT |
| microsoft/power-platform-skills | 100 | MIT |
| VasulenkoIllia/claude-code-base | 100 | MIT |
| rjmurillo/ai-agents | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| github/awesome-copilot | 100 | MIT |
| sageox/ox | 100 | MIT |
| mcouthon/agents | 100 | MIT |
| relatedb/relate | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version c792da707aa6 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95security-privacy-threat-modeling
Use this capability for threat modeling, secure code review, OWASP risk review, API abuse, input/output validation, injection, XSS, CSRF, SSRF, deserialization, security headers, encryption, secrets exposure, audit logging, privacy-by-design, or security acceptance gates. - 100security-audit
Threat-model-driven security audit of a change. Build a threat model from the diff, PR, commits, and product purpose, then assess the implementation against each threat. Use when the user asks to "audit", "security-audit", "threat model", "assess for vulns", "find… - 90security-threat-model-and-design
Assess and remediate threat models, abuse cases, architecture and secure design reviews in frontend and associated web services. Use for threat model, trust boundary, abuse case, design review, security architecture. - 100security-review-spec
Audit a product or tech spec pull request diff for high-level security concerns (threat surface, authentication and authorization model, trust boundaries, sensitive data handling, secrets and key management, dependency posture, and abuse or misuse cases) and fold findings into… - 100security-audit
When the user wants a security pass before a pull request (quick) or a whole-repo audit (full): secrets, dependencies, injection, auth, logging, and key custody. Complements ce-code-review. - 90security-audit
Security review of a whole repository - code, config, infrastructure-as-code, CI/CD, dependencies, secrets and AI coding-agent configuration - with a threat model, a findings table where every Critical/High finding has survived an attempt to disprove it, and a remediation plan.…