| name | security-review |
| description | Review a domain, file, or the full repository for OWASP-oriented security issues using the shared security checklist. |
| metadata | {"short-description":"OWASP security audit"} |
Security Review
Default Flow Position
- Step:
self-review (security-sensitive surfaces: auth, tokens, sensitive fields, file upload, credentials)
- Routes after: completion gate (
/sync-guidelines if drift; otherwise /review-pr)
- Recursion guard: do not invoke
/security-review recursively, do not invoke /plan-feature from inside
Procedure
- Read
AGENTS.md and docs/ai/shared/skills/security-review.md for the full procedure.
- Read
docs/ai/shared/security-checklist.md and docs/ai/shared/project-dna.md as the shared security rule sources.
- Resolve the audit scope and run the feature-detection / reference-freshness preflight (Phase 0).
- Audit the target against the 12 security checklist categories using the shared applicability rules (Phase 1).
- Determine stale-reference drift, other
Drift Candidates, and whether Sync Required is true or false (Phase 2).
- Report using the protocol output contract:
Scope, Effect Answer, Sources Loaded, Findings (open only), Coverage (OK/SKIP), Drift Candidates, Verdict: N/A (audit-only scope), Next Actions, Completion State, Sync Required (Phase 3). Effect Answer is mandatory — see docs/ai/shared/review-protocol.md §3 for the contract and Guard H context.
For cross-tool review prompts, use the Cross-Tool Review Prompt Template
section in docs/ai/shared/skills/security-review.md; do not duplicate it here.