The Maivia Gazette

Verified AI news, every morning

Research

Anthropic tests four ways for AI to find logic bugs and turns up unreported flaws in macOS, Linux and Rust

Agentic code review found the most known bugs when the model got only the source code. A separate round found new bugs in Caliptra, macOS, the Linux eBPF verifier and the Rust compiler.

A magnifying lens shows one bent tooth among the gears of an open pocket watch.
AI-generated illustration, not event photography. The motion is AI-generated from the still.

Anthropic researchers compared four ways of using large language models to find logic bugs, Help Net Security reports. These are flaws where software breaks a rule, called an invariant, that it is expected to follow. Such rules are often implicit, so ordinary crash-oriented testing has trouble catching them. The authors argue that LLMs are well suited to the job because they can infer what code is meant to do, form hypotheses about it and test them. The benchmark used 21 bugs disclosed between 2016 and 2026: nine from SQLite, eight from image-png, three from zstd and one from Brotli. The model got unpatched source code without the fix. A bug counted as rediscovered when the model submitted an input that produced different output in the patched and unpatched versions. Of the four methods, agentic code review found the most bugs when the model received only the source code. In a separate round of testing, the researchers found previously undisclosed bugs in Caliptra, macOS, the Linux eBPF verifier and the Rust compiler. The work adds evidence that AI systems can find subtle bugs in widely used, heavily reviewed software. That has consequences both for defenders and for the growing volume of vulnerability reports maintainers have to handle.

Sources

  1. Help Net SecurityAnthropic's AI bug tests uncover previously undisclosed flaws in macOS, Linux and Rust - Help Net SecurityPublished · fetched

Also in this edition