Agentic code review found the most logic bugs in Anthropic’s test
Claude Mythos 5 used four methods to hunt for 21 already-fixed logic bugs in SQLite and three other programs. Without hints, code review found 11 of them, while fuzzing and symbolic execution found none.
Anthropic’s Frontier Red Team published its research on 2 December. A logic bug breaks a program’s own rule, often an unwritten one, known as an invariant. The program usually does not crash, so tools that look for memory errors typically miss the bug.
The test set consisted of 21 already-fixed bugs from SQLite, zstd, brotli and image-png. Claude Mythos 5 was given the unpatched code to examine. A finding counted if an input made the unpatched and patched versions behave differently.
Anthropic compared four methods. In agentic code review, Claude Code read the code and ran test inputs. In fuzzing, the model wrote the checks and a testing tool tried automatically mutated inputs for eight hours. In symbolic execution, the model wrote a test program that a solver used to search for an input that breaks the rule. In informal correctness proofs, the agent wrote a proof in plain language and created a test input for every claim it could not justify from the code.
Without hints, code review found 11 bugs, but fuzzing and symbolic execution found none. Unite.AI reported that the proof method found eight, whereas Anthropic’s text describes the proof method’s results as similar to those of code review. When the broken rule was provided, the best methods found 20–21 bugs. In that setting, symbolic execution found 13 bugs and a fuzzing variant 15. Anthropic said these finds also came from the model reading the code, and that neither the solver nor fuzzing added to them. The results suggest that the hard part is not finding an input that breaks the rule but working out from the code alone what it should guarantee, the company said.
The table shows how many bugs each model found through code review without hints.
| Model | Bugs found (of 21) |
|---|---|
| Claude Mythos 5.2 | 15 |
| Claude Mythos 5.1 | 13 |
| Claude Opus 5.5 | 13 |
| Claude Mythos Preview | 12 |
| Claude Mythos 5 | 11 |
| Claude Opus 5 | 9 |
| Claude Opus 4.5 | 5 |
| Claude Sonnet 4.5 | 1 |
Source: AI/TLDR, based on an Anthropic chart; total finds across three runs.
Some of the differences may be explained by models remembering bugs. Opus 5 and newer models remembered 8–10 of ten bugs published between 2016 and 2024. Of the nine bugs that no model remembered, the 4.5 models and Sonnet 5 found 0–1, while Opus 5 and newer models found 2–5. Anthropic said the gap remains after accounting for remembered bugs.
The runs also turned up 316 other bugs. Of these, 189 had already been fixed or were known, and Anthropic is in the process of reporting the remaining 127 to maintainers. i10x.ai points out that a language model checked the findings and that the share of false alarms is not disclosed. Anthropic also built the 21-bug test itself and used it to test its own models.
The same methods found new vulnerabilities in, for example, the firmware update of the Caliptra root of trust (CVE-2026-11835) and in macOS (CVE-2026-43783, now fixed). They found more than a hundred bugs in the Linux eBPF verifier. Anthropic recommends that defenders apply code review and the proof method before specialised tools. Even the newest models may still benefit if a person specifies the rules to check, the company said.