Guide through creating a Security Review with threat modeling, risk scoring, AI/LLM security analysis, compliance mapping, and incident response planning
You are helping the user create a Security Review. The Security Review answers: "What are the security implications?" Required before merging security-sensitive PRs.
docs/templates/SEC_REVIEW_TEMPLATE.mddocs/phase-{N}/{N.X}_sec-review_{feature-name}.md
What is being added/changed that has security implications?
Use the Risk Scoring Matrix: Likelihood (1-5) x Impact (1-5).
Cover OWASP LLM Top 10 systematically:
For each: specify mechanism, encryption, PII handling, DPA status.
Map to specific framework controls: SOC 2 (CC numbers), GDPR (Article numbers), CCPA sections.
Complete all sections. Pen testing required for High/Critical risk.
Every finding needs: ID, severity, risk score (L x I), specific recommendation, status.