Anthropic: Agentic Code Review Finds 11 of 21 Logic Bugs Blind
TL;DR
- An LLM agent reading code and writing a review caught 11 of 21 historical logic bugs blind, with no hints.
- LLM-guided fuzzing and LLM-driven symbolic execution scored 0 of 21 in the blind setting; informal correctness proofs reached 8.
- The same workflow surfaced zero-days: CVE-2026-11835 in Caliptra, CVE-2026-43783 in macOS, CVE-2026-98041 in eBPF, and a Rust compiler type-safety flaw.
Anthropic's Frontier Red Team put four LLM-based approaches against a benchmark of 21 historical logic bugs, the kind where software contradicts its implicit operational rules, and the plainest setup won: an agent that reads code and writes a review caught 11 of them blind, with no hints.
The benchmark pulled from SQLite (9 bugs), zstd (3), brotli (1), and image-png (8), all disclosed between 2016 and 2026. In the 'informed' setting, where the model was pointed at the vulnerable area, agentic code review found 20 of 21 and informal correctness proofs hit all 21. Without hints, agentic review still led with 11 and informal proofs at 8, while LLM-guided fuzzing and LLM-driven symbolic execution turned up 0 each.
The paper reports that 'simpler techniques—such as using LLMs to perform agentic code reviews—achieved the best results.' The same workflow then surfaced live zero-days in Caliptra, macOS, the Rust compiler, and eBPF: CVE-2026-11835 in Caliptra, an open-source silicon root of trust IP, where firmware was read once to verify it and again to install it, leaving a window to swap in unverified code; CVE-2026-43783 in macOS, which let any local user take ownership of system files outside System Integrity Protection and open a root shell; a type-safety violation in the Rust compiler enabling use-after-free in memory-safe code; and CVE-2026-98041 in the eBPF verifier.
The authors, Marius Fleischer, Alex Matrosov, Nicholas Carlini, and Milad Nasr, frame the takeaway as methodological: 'LLMs can form and test hypotheses grounded in code behavior, semantics, and developer intent.' Anthropic's recommendation to defenders is to try agentic code review and informal correctness proofs against their own codebases before reaching for specialized tooling. It slots into a steady run of Anthropic cybersecurity output in our tracker this quarter.
Originally reported by anthropic.com
Read the original article →Original headline: Anthropic Research Shows Claude-Driven Agentic Code Review Finds Real Logic Bugs in Caliptra, macOS, Rust Compiler, and eBPF