AI Code Review Only Catches Half of Your Bugs
AI-generated summary of reporting by Oreilly AI ML Blog. Read the original for the full story.
Why it matters
About half of security defects are intent violations invisible to code-only review, so AI code review tools structurally miss them unless requirements are supplied.
In an O'Reilly article, developer Andrew Stellman describes how his AI-built Brooklyn bus app worked perfectly but showed buses going the wrong direction. He argues about half of security bugs, like missing authorization checks, can't be found by tools that only inspect code. You must tell AI what the software is supposed to do. He caught a years-old bug in Google's Gson library using written requirements.
Stellman's open-source Quality Playbook found real bugs in almost every open-source project it tested, including a merged fix in Google's Gson. Research cited, including NIST SATE and a 2024 ISSTA study, shows static tools catch only 50-60% of vulnerabilities. Teams relying on AI code review without requirements miss design flaws like missing authorization, ranked #9 on the 2024 CWE Top 25. Writing down purpose, not just specs, is the fix.
Stellman's Quality Playbook derives requirements from project sources (GitHub issues, docs, commit history) rather than spec-driven implementation specs, which state 'how' but not purpose. Using Gson issues #676, #913, #948 and #1558, it found duplicate keys silently accepted when the first value was null; fix merged as gson PR #3006. Cited data: NIST SATE plateau at 50-60% detection; Charoenwet et al. ISSTA 2024 found 22% of 815 vulnerable commits undetected by five static tools, 76% of warnings irrelevant.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Gson Quality Playbook Claude Code NIST SATE CWE-862 Standish CHAOS reports
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.