How to security-review a PR with OWASP Top 10 in mind
Quand l'utiliser : Before you click 'Ready for review' on a PR that touches auth, data, or input handling.
Déroulement
-
Point at the diffReview the current PR against OWASP Top 10:2025. Focus on auth and input handling.✓ Copié→ 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.✓ Copié→ Ranked list with ASVS IDs
-
Generate fixesFor each must-fix, propose the minimal diff.✓ Copié→ Patch diffs keyed to findings
Résultat : A PR that ships with known security issues resolved, with traceable requirements.
Pièges
- Over-alerting on benign patterns — Ask Claude to show the exploit path concretely; if it can't, downgrade the severity