█

AI/TLDR

Anthropic · 2026-12-02 · major

Anthropic on finding logic bugs — agentic code review beats fuzzing

In short

Anthropic's Frontier Red Team tested four ways for Claude to find logic bugs. Plain agentic code review and informal proofs worked best, and the methods found new CVEs in macOS, the Linux eBPF verifier and Caliptra.

Anthropic · 2026-12-02 · 2 sources checked

Anthropic illustration for the research post on finding logic bugs without general-purpose bug oracles

Simple code review by a Claude agent finds more hidden logic bugs than fuzzing or symbolic execution, says Anthropic.

Key specs

Bugs found outside the benchmark316
New bugs being reported127

Quick facts

MakerAnthropic Frontier Red Team
PublishedDecember 2, 2026
Benchmark21 past logic bugs in SQLite, zstd, brotli and image-png
Methods testedFuzzing oracles, symbolic execution, agentic code review, informal proofs
Best methodsAgentic code review and informal correctness proofs
New CVEsCaliptra ROM, macOS DesktopServicesHelper, Linux eBPF verifier
Code releasedNone linked from the post

Benchmarks

Benchmark bugs found by method, informed setting (Claude Mythos 5)
Informal correctness proofs21
Agentic code review20
LLM-driven symbolic execution13
LLM oracles for fuzzing1
source ↗
Benchmark bugs found with no hints, agentic code review, by model
Claude Mythos 5.215
Claude Mythos 5.113
Claude Opus 5.513
Claude Mythos Preview12
Claude Mythos 511
Claude Opus 59
Claude Opus 4.55
Claude Sonnet 4.51
source ↗

What is it?

Anthropic's Frontier Red Team published a study on December 2, 2026 about finding logic bugs with Claude. Logic bugs break a program's unwritten rules without crashing it, so classic tools like sanitizers rarely catch them. The team rebuilt 21 patched logic bugs from SQLite, zstd, brotli and image-png and asked models to write inputs that trigger each one.

How does it work?

Claude Mythos 5 tried four methods: writing assert oracles for fuzzing, writing harnesses for a symbolic engine and SMT solver, reviewing the code as an agent that can run inputs, and writing a plain-language correctness proof whose weak claims become test inputs. Each ran in a blind setting (no hint) and an informed setting (the broken rule given). An input counted if the unpatched and patched builds gave different output.

Why does it matter?

The simplest approaches won: agentic code review found 20 of 21 bugs with hints and 11 with none, and informal proofs found all 21 with hints. The same methods produced 316 extra bugs, 127 of them still being reported, plus CVEs in macOS, the Linux eBPF verifier and the Caliptra root of trust. For security teams, the takeaway is to point a coding agent at their own code before buying special tools.

Who is it for?

security engineers, maintainers of C and Rust projects

Frequently asked questions

Which Claude model found the most logic bugs in Anthropic's study?
Claude Mythos 5.2 found the most. With no hints and agentic code review, it found 15 of the 21 benchmark bugs and 241 other verified bugs. Claude Mythos 5.1 and Claude Opus 5.5 found 13 benchmark bugs each, while Claude Sonnet 4.5 found 1. Anthropic says newer models clearly do better than older ones.
Did the models just remember the known bugs?
Anthropic checked this by asking the models about each bug in a plain chat. The Claude 4.5 models remembered none, Claude Sonnet 5 remembered three, and Claude Opus 5 and later remembered 8 to 10 of the older bugs. Anthropic reports that the same trend holds when it counts only the nine bugs no model remembered.
What real vulnerabilities did the logic bug methods find?
Anthropic's methods found a check-then-use bug in the Caliptra root-of-trust ROM (CVE-2026-11835), a root helper flaw in macOS DesktopServicesHelper (CVE-2026-43783), a 32-bit vs 64-bit null-check error in the Linux eBPF verifier (CVE-2026-98041), and several dozen type-safety issues in the Rust compiler, including one that lets safe Rust read freed memory.
Why did fuzzing with LLM-written oracles do so badly?
In Anthropic's test, LLM-written assert oracles for an 8-hour fuzzing run found only 1 of 21 bugs even when the model was told the broken rule. A variant where the model also controlled seeds and harnesses reached 15 of 21, but the authors credit the model's source reading for those wins, not the fuzzer.
Can I use Anthropic's logic bug benchmark or tools?
The Anthropic post does not link any released code, benchmark files or tools. Its advice to defenders is to start with what already exists: run agentic code review, the way Claude Code reviews a repository, and ask a model for informal correctness proofs of their own code before building special tooling.

Try it

https://www.anthropic.com/research/finding-logic-bugs

Sources · 2 outlets

Tags

  • anthropic
  • claude
  • claude-mythos-5
  • claude-mythos-5-2
  • frontier-red-team
  • logic-bugs
  • code-review
  • agentic-code-review
  • fuzzing
  • symbolic-execution
  • vulnerability-research
  • ai-security
  • ebpf
  • rust
  • macos
  • caliptra
  • sqlite
// NEVER MISS A RELEASEGet every AI release the moment it shipsFree Telegram channel · 1-line TLDRs · no emailJoin on Telegram

← All releases · Learn AI