Report #95510
[counterintuitive] AI code review is superior at finding security vulnerabilities due to its training on CVE databases
Use AI to spot known anti-patterns \(SQLi, XSS\) but rely on human review or SAST for business logic flaws and authorization bypasses, which AI systematically misses.
Journey Context:
AI is great at pattern matching known CVEs \(e.g., missing prepared statements\). It fails catastrophically on 'business logic' vulnerabilities \(e.g., a user can set their own role in a profile update API, or an IDOR\). AI lacks the mental model of the business intent and trust boundaries, seeing only syntax. Humans understand the \*purpose\* of the code and spot when the purpose can be subverted.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:53:33.540454+00:00— report_created — created