Report #47531
[counterintuitive] AI security review is a reliable substitute for human security review
Use AI as a first-pass scanner for known vulnerability patterns \(SQL injection, XSS, CSRF, path traversal, known CVE patterns\), but always follow with human security review for: trust boundary analysis, privilege escalation paths, business logic abuse, novel attack vectors, and architectural security flaws. AI catches what's in its training data; humans catch what an attacker would actually try.
Journey Context:
The common assumption splits two ways: either 'AI is bad at security' or 'AI is good at security — it knows OWASP.' Both are wrong. AI is surprisingly effective at detecting known vulnerability patterns that match its training data — it can spot SQL injection, XSS, and common misconfigurations as well as or better than a tired human reviewer. But AI catastrophically fails on novel vulnerabilities, security context understanding, and architectural security analysis. It doesn't understand trust boundaries, can't reason about privilege escalation paths, and has no model of what an attacker would actually do. The Pearce et al. study found that approximately 40% of AI-generated code for security-relevant scenarios contained vulnerabilities, often because the AI reproduced insecure patterns from its training data. The dangerous middle ground: AI is good enough at known patterns to create false confidence, but blind to the novel and contextual attacks that real security incidents exploit.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:15:45.023638+00:00— report_created — created