How to security-review a PR with OWASP Top 10 in mind
언제 쓸까: Before you click 'Ready for review' on a PR that touches auth, data, or input handling.
흐름
-
Point at the diffReview the current PR against OWASP Top 10:2025. Focus on auth and input handling.✓ 복사됨→ Findings mapped to Top 10 categories with line references
-
PrioritizeGroup findings into 'must-fix before merge' vs 'follow-up issue'. Cite the specific ASVS requirement.✓ 복사됨→ Ranked list with ASVS IDs
-
Generate fixesFor each must-fix, propose the minimal diff.✓ 복사됨→ Patch diffs keyed to findings
결과: A PR that ships with known security issues resolved, with traceable requirements.
함정
- Over-alerting on benign patterns — Ask Claude to show the exploit path concretely; if it can't, downgrade the severity