Anthropic’s AI bug tests uncover previously undisclosed flaws in macOS, Linux and Rust

Anthropic tested four methods that use LLMs to find logic bugs in software. Agentic code review found the most bugs when the model received only the source code. In a separate round of testing, researchers found previously undisclosed bugs in Caliptra, macOS, the Linux eBPF verifier and the Rust compiler.
Logic bugs occur when software violates a rule it is expected to follow. These rules, known as invariants, are often implicit in the code and depend on what the program is designed to do.“LLMs are highly capable at reasoning about (and inferring the intent of) source code and its invariants. This means they’re able to produce and then test out hypotheses that might lead them to detect logic bugs,” the authors explained.
The benchmark included 21 bugs disclosed between 2016 and 2026. Nine came from SQLite, eight from image-png, three from zstd and one from Brotli.
The researchers gave the model the unpatched source code and withheld the patch. They counted a bug as rediscovered when a submitted input produced a different return value or output in the patched and unpatched versions. The grader used that difference to establish that the input had triggered the bug. The researchers assumed that a successful input reflected correct reasoning about the violated invariant.
Historical logic bugs rediscovered by each technique on the 21-bug benchmark with Claude Mythos 5 across informed and blind settings. Agentic code review and informal correctness proofs clearly outperform the other two techniques. (Source: Anthropic)The team ran each method three times per bug and counted each rediscovery once. The model could submit up to 1,000 inputs per run, with scoring taking place after the run ended. In the blind trials, the model had to infer the invariant from the source code. In the informed trials, the researchers supplied the invariant alongside the code.
This summary is from Help Net Security, published Dec 4, 2026. NewsFusion links to the original reporting and groups related coverage.





