Anthropic's Red Team Pitted Claude Code Against Fuzzers on Logic Bugs. The Plain Code Review Found 11 of 21; the Fuzzer Found None

Anthropic's Frontier Red Team built a 21-bug benchmark of historical logic flaws and found that simply letting Claude review code agentically beat LLM-guided fuzzing and symbolic execution. The same methods turned up new bugs in Caliptra, macOS, the Linux eBPF verifier and the Rust compiler.

Clay-render of a magnifying glass resting on a stack of paper proofs, with one tiny red thread pulled loose from the bottom sheet.
Clay-render of a magnifying glass resting on a stack of paper proofs, with one tiny red thread pulled loose from the bottom sheet.

Anthropic’s Frontier Red Team says the simplest way to point a language model at logic bugs works best. In research published December 2, the team reports that running Claude inside a standard agentic harness, Claude Code, rediscovered 11 of 21 historical logic bugs with no hints, while LLM-assisted fuzzing and LLM-driven symbolic execution rediscovered none in the same blind setting. Using the same approaches on live targets, the team found new flaws in the Caliptra silicon root of trust, macOS, the Linux eBPF verifier and the Rust compiler.

Why logic bugs resist automation

Memory-safety bugs have a convenient property: an invalid memory access is wrong in any program, so sanitizers can flag it without understanding what the code is meant to do.

Logic bugs do not crash. They happen when software breaks the implicit rules, or invariants, of how it should behave, and those rules differ from program to program. That has left logic-bug hunting largely to human reviewers, which does not scale to big codebases. Anthropic’s argument is that models can now infer the intent of code, form a hypothesis about an invariant and test it, filling the gap that oracles leave.

A benchmark built from fixed bugs

The team collected 21 logic bugs disclosed between 2016 and 2026 across SQLite (9), zstd (3), brotli (1) and image-png (8). Each technique got only the unpatched source and had to prove a rediscovery by submitting an input. An input counted as a success if it made the unpatched and patched builds behave differently. Each ran three times per bug, with up to 1,000 submissions per run and no feedback.

Four techniques were compared, all using Claude Mythos 5: an LLM writing assertions for an eight-hour fuzzing campaign, an LLM generating harnesses for a symbolic execution engine, agentic code review, and “informal correctness proofs,” in which the agent writes a natural-language proof of a program’s invariants and turns every claim it cannot discharge into a test input.

In the blind setting, agentic code review and informal proofs led; the fuzzing and symbolic-execution approaches scored zero. When the violated invariant was supplied, 20 to 21 of the 21 bugs were found, which the authors read as evidence that testing a hypothesis is easy and forming one is the hard part. Even the informed-setting wins for the two tool-based methods, they write, came from the model spotting the bug in its own source review.

Memorization and model generations

Because the bugs are public, the team asked each model about them without source code. The Claude 4.5 models recalled none; Claude Opus 5 and later recalled 8 to 10 of the 10 bugs published from 2016 to 2024 but at most one of the 11 later ones. On the nine bugs no model remembered, Claude 4.5 models and Sonnet 5 rediscovered zero to one, while Opus 5 and later found two to five.

The experiments also surfaced 316 unique bugs outside the benchmark on the old code versions. Anthropic says 189 are fixed or already known, and it is reporting the remaining 127. Claude Mythos 5.2 found 241 verified bugs in total, 216 of them logic bugs, according to the post.

Four new findings

  • Caliptra. Agentic review found a time-of-check-to-time-of-use flaw in the ROM’s runtime firmware update: the image is verified on one read of a staging area and loaded on a second read, so a compromised on-chip component could swap in unverified firmware. It was assigned CVE-2026-11835 and patched.
  • macOS. Claude independently found CVE-2026-43783 (now patched) in DesktopServicesHelper, Finder’s root helper. Any sandboxed caller could ask it to repair iCloud permissions on arbitrary paths, letting even the nobody account take ownership of non-SIP files such as /etc/pam.d/su and reach a root shell.
  • eBPF. The informal-proof method found more than a hundred soundness bugs in the kernel’s eBPF verifier, all reported. One, CVE-2026-98041 (fixed in commit e51179a4e0), came from a 2020 null-check rule wrongly applied to 32-bit comparisons, letting code the verifier never checked run and enabling local privilege escalation.
  • Rust compiler. Asked to prove safe Rust is type-safe, Claude produced several dozen counterexamples, including a short program that rustc accepts despite a use-after-free inside an index expression. Anthropic calls these bugs rather than security vulnerabilities; it says several are fixed and the example shown is still being patched.

What Anthropic tells defenders

The recommendation: before buying specialized tooling, apply agentic code review and informal correctness proofs to your own code. The authors caveat that even the newest models are still limited in generating useful invariants and benefit from human help. The grading method also assumes a correct input implies correct reasoning about the bug, which the authors say they did not verify directly. All figures in the post are Anthropic’s own measurements.

Topics
  • #Anthropic
  • #Claude
  • #Vulnerability Research
  • #Logic Bugs
  • #eBPF
  • #Rust
Raj M

Author

Raj M

Contributor

AI Systems Architect is a seasoned technology leader with over 15 years of experience in the IT industry working with Fortune 500 companies. With a solid foundation in multi-agent systems, open-source LLM infrastructure, and enterprise deployment, he excels at building scalable production-grade AI platforms.