Research

Anthropic: Agent-based code review finds logic bugs far better than fuzzing

Anthropic’s research says a simple agent setup, run without hints, re-found 11 of 21 old software bugs. AI-assisted fuzzing and symbolic execution found none of them.

black flat screen computer monitor
Photo: Mohammad Rahmani / Unsplash · Illustrative image

Anthropic said in research published on December 2, 2026, that a simple agent-based code review setup clearly outperforms traditional methods at finding logic bugs in software. The paper’s authors are Marius Fleischer, Alex Matrosov, Nicholas Carlini and Milad Nasr.

The experiment used 21 bugs disclosed between 2016 and 2026 and patched afterward. The bugs came from the SQLite, zstd, brotli and image-png projects. Models were given unpatched source code and asked to produce an input that behaves differently in the vulnerable and patched versions. Each method ran three times per bug, with up to 1,000 candidate inputs.

The agent review without hints (“blind”) found 11 of the 21 bugs. AI-assisted fuzzing and symbolic execution found none in this blind test. In a comparison with Claude Mythos 5, the agent review given the violated rule found 20 bugs, symbolic execution found 13, and fuzzing found only one.

Differences between model versions

In the blind agent review, Claude Sonnet 4.5 found 1 bug, Claude Opus 4.5 found 5, and Claude Mythos 5.2 found 15. Anthropic also argues that on the nine bugs no model could recall without the source code, newer models still scored higher, and that this reflects capability rather than memorization.

Outside the targeted set, Claude Mythos 5.2 produced 241 verified findings, 216 of which were logic bugs. Across all models and methods on the older versions, a total of 316 unique bugs were found. Of these, 189 were already fixed or known, and 127 are being reported to maintainers.

Notable findings

The findings include a silent secure boot bypass risk in Caliptra, an open-source security chip firmware; a race condition in macOS tracked as CVE-2026-43783; and more than 100 robustness bugs in the eBPF verifier. Several dozen type safety issues were also found in the Rust compiler.

Before moving to specialized tools, Anthropic recommends trying agent-based review and informal correctness proofs. It also notes that human-provided rules still improve results, and that maintainers still play a central role in classifying and fixing bugs.

Source

This article was compiled with AI assistance from the source above and translated from our Turkish edition.
How we make our stories Spotted an error? Let us know.