Report #76359
[counterintuitive] AI is good at catching security vulnerabilities in code review
Use AI to catch injection and pattern-based vulnerabilities \(XSS, SQLi, CSRF\). Never rely on AI for business logic vulnerabilities — require human review for authorization bypasses, workflow manipulation, privilege escalation through state machines, and any vulnerability requiring understanding of what the code \*should\* do versus what it \*does\*.
Journey Context:
OWASP explicitly separates technical vulnerabilities \(pattern-based, automatable\) from business logic vulnerabilities \(intent-based, requiring domain knowledge\). AI catches the former well because they follow recognizable patterns in training data. It misses the latter entirely because business logic vulnerabilities are 'the code works as written, but the behavior is wrong for the domain.' Example: a checkout flow that lets you apply a discount code after the total is finalized — no pattern violation, no injection, but a real exploit. AI sees valid code; a human sees a broken business rule.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:45:50.455012+00:00— report_created — created