AI & Agents

Anthropic Tested Four Ways for AI to Find Logic Bugs, and Turned Up Flaws in macOS, Linux’s eBPF Verifier and Rust

Leave a comment

Anthropic tested four ways of using language models to find logic bugs in software, Help Net Security reports, and the research turned up previously undisclosed bugs along the way.

The benchmark used 21 known bugs from SQLite, image-png, zstd and Brotli. With only the source code (the “blind” setting), agentic code review with Claude Mythos 5 rediscovered 11, informal correctness proofs found eight, and LLM-assisted fuzzing and symbolic execution found none. When given the rule the code was supposed to follow, proofs found all 21 and code review found 20. Across models, Sonnet 4.5 found one in blind review, Opus 4.5 found five and Mythos 5.2 found 15. The team also checked whether models simply remembered the bugs from training.

The runs surfaced 316 more bugs in older versions of those projects; 189 were already fixed or known, and Anthropic is reporting the other 127. Separately, code review found a Caliptra firmware-update flaw and a macOS bug that could let a local user get root around System Integrity Protection, both patched. Proofs found dozens of type-safety issues in the Rust compiler, including safe Rust that could touch freed memory (a fix is in progress), and more than 100 bugs in the Linux eBPF verifier.

My take

The interesting part for me is that plain “read the code like a reviewer” beat fancy fuzzing in the blind runs. It matches what I see with my own agents: give them the code and a clear question. Expect a steady flow of AI-found fixes in the tools you rely on, and keep patching.

God Bless, and Use the Source!

References & Further Reading

Subscribe (RSS) Follow AI & Agents via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.