Anthropic tests LLM methods for logic-bug detection, finds undisclosed flaws in Caliptra, macOS, Linux eBPF verifier and Rust compiler
Anthropic published research comparing four LLM-based methods for finding logic bugs: agentic code review, informal correctness proofs, LLM-assisted fuzzing and LLM-driven symbolic execution. On a 21-bug benchmark of historical flaws in SQLite, image-png, zstd and Brotli, run with Claude Mythos 5, agentic code review rediscovered 11 bugs blind and informal correctness proofs found 8. In the blind trials, fuzzing and symbolic execution found none. When the violated invariant was supplied, informal proofs found all 21 bugs and code review found 20. Fuzzing rediscovered 1 bug, and the symbolic execution engine confirmed 2 of the 13 bugs the model found during source review.
Separate runs surfaced previously undisclosed flaws in Caliptra, macOS, the Linux eBPF verifier and the Rust compiler. This is vendor research, not an active threat. No CVEs or exploitation in the wild are reported, and the article gives no technical detail that would let an attacker reproduce the flaws.
Detalhes técnicos
- Scoring: a bug counted as rediscovered when an input produced different output on the patched and unpatched versions. Each method ran three times per bug, with up to 1,000 inputs per run.
- Model comparison (blind agentic review): Sonnet 4.5 found 1 bug, Opus 4.5 found 5 and Mythos 5.2 found 15.
- Recall test (models asked about all 21 bugs without the source code): Sonnet 4.5 and Opus 4.5 recalled none. Sonnet 5 recalled three, about as often as it claimed to remember bugs the researchers had made up. Opus 5 and later models recalled 8 to 10 of the 10 bugs disclosed through 2024 and at most 1 of the 11 disclosed after that. Nine bugs went unrecognized by every model. In blind code review, Sonnet 4.5 rediscovered none of those nine, Opus 4.5 found one and Mythos 5.2 found five.
- The benchmark runs also surfaced 316 distinct bugs outside the original set, all in older project versions. Of these, 189 were already fixed or known, and Anthropic said it was reporting the remaining 127.
- Caliptra: a firmware update flaw could let the chip's root of trust run unverified firmware. It was patched by publication.
- macOS: a local user could take ownership of files outside System Integrity Protection's protection and gain root. It was patched by publication.
- Rust compiler: several dozen type-safety issues. One let safe Rust code access freed memory, and maintainers were still working on a patch at publication.
- Linux eBPF verifier: more than 100 bugs found. The bug described in the report was patched.
Remediação
The article gives no specific actions. Apply vendor updates for macOS and Linux, and track the Rust compiler fix for the safe-code use-after-free issue.
Linha do tempo
-
Anthropic tests LLM methods for logic-bug detection, finds undisclosed flaws in Caliptra, macOS, Linux eBPF verifier and Rust compiler
ler a análise desta fonte ocultar
Anthropic published research comparing four LLM-based methods for finding logic bugs: agentic code review, informal correctness proofs, LLM-assisted fuzzing and LLM-driven symbolic execution. On a 21-bug benchmark of historical flaws in SQLite, image-png, zstd and Brotli, run with Claude Mythos 5, agentic code review rediscovered 11 bugs blind and informal correctness proofs found 8. In the blind trials, fuzzing and symbolic execution found none. When the violated invariant was supplied, informal proofs found all 21 bugs and code review found 20. Fuzzing rediscovered 1 bug, and the symbolic execution engine confirmed 2 of the 13 bugs the model found during source review.
Separate runs surfaced previously undisclosed flaws in Caliptra, macOS, the Linux eBPF verifier and the Rust compiler. This is vendor research, not an active threat. No CVEs or exploitation in the wild are reported, and the article gives no technical detail that would let an attacker reproduce the flaws.
Technical Details
- Scoring: a bug counted as rediscovered when an input produced different output on the patched and unpatched versions. Each method ran three times per bug, with up to 1,000 inputs per run.
- Model comparison (blind agentic review): Sonnet 4.5 found 1 bug, Opus 4.5 found 5 and Mythos 5.2 found 15.
- Recall test (models asked about all 21 bugs without the source code): Sonnet 4.5 and Opus 4.5 recalled none. Sonnet 5 recalled three, about as often as it claimed to remember bugs the researchers had made up. Opus 5 and later models recalled 8 to 10 of the 10 bugs disclosed through 2024 and at most 1 of the 11 disclosed after that. Nine bugs went unrecognized by every model. In blind code review, Sonnet 4.5 rediscovered none of those nine, Opus 4.5 found one and Mythos 5.2 found five.
- The benchmark runs also surfaced 316 distinct bugs outside the original set, all in older project versions. Of these, 189 were already fixed or known, and Anthropic said it was reporting the remaining 127.
- Caliptra: a firmware update flaw could let the chip's root of trust run unverified firmware. It was patched by publication.
- macOS: a local user could take ownership of files outside System Integrity Protection's protection and gain root. It was patched by publication.
- Rust compiler: several dozen type-safety issues. One let safe Rust code access freed memory, and maintainers were still working on a patch at publication.
- Linux eBPF verifier: more than 100 bugs found. The bug described in the report was patched.
Remediation
The article gives no specific actions. Apply vendor updates for macOS and Linux, and track the Rust compiler fix for the safe-code use-after-free issue.