
Anthropic Finds Plain Claude Code Reviews Beat Fuzzing at Catching Logic Bugs, Including a macOS Root Flaw
Anthropic researchers found that letting Claude review code directly beats fuzzing and symbolic execution for finding logic bugs, and the method surfaced real flaws in macOS and the Caliptra root of trust.
Anthropic researchers reported on December 2, 2026 that simply pointing Claude at source code and asking it to review the code finds logic bugs far better than pairing the model with fuzzers or symbolic execution tools. The approach also independently turned up a now-patched macOS flaw that let any local user take ownership of system files and open a root shell without a password.
What a logic bug is, and why tools miss them
Most automated bug hunting depends on an obvious failure signal: a crash or an illegal memory access. Logic bugs produce no such signal. The program runs fine; it just breaks the unwritten rules of how it should behave, such as running firmware that was never checked. Finding those has mostly depended on human code review, which does not scale to large codebases.
A language model can read code, infer what it is supposed to do and then test whether it actually does it. Anthropic built a benchmark of 21 since-patched logic bugs from SQLite, zstd, brotli and image-png, disclosed between 2016 and 2026. It gave the models only the unpatched source and required a working input that triggers each bug as proof.
What the benchmark showed
- Claude running in Claude Code with no hints rediscovered 11 of the 21 bugs; the fuzzing and symbolic execution setups found none without hints.
- When told which rule each bug broke, the models found 20 to 21 of the 21, showing that forming the right hypothesis is the hard part.
- In the blind test, Claude Sonnet 4.5 rediscovered one bug, Claude Opus 4.5 five, newer Opus models 9 to 13 and Claude Mythos models 11 to 15.
- Claude Mythos 5.2 found 241 bugs in total across the targets, 216 of them logic bugs.
- Across all runs the experiments surfaced 316 unique bugs; 189 were already fixed or known, and Anthropic is reporting the other 127 to maintainers.
Anthropic checked whether the models were simply remembering famous bugs from training data. On the nine bugs no model remembered, Opus 5 and later still rediscovered two to five, while the Claude 4.5 models and Sonnet 5 found zero or one.
Flaws found in macOS and Caliptra
In macOS, the agentic review independently discovered CVE-2026-43783 in DesktopServicesHelper, the root-level helper Finder uses for file operations the logged-in user is not allowed to perform. Any process can sandbox itself with one unprivileged call, and the helper accepted a permissions-repair request from any sandboxed caller with no further check. An attacker could then take ownership of a file such as /etc/pam.d/su and use it to get root. Apple fixed the flaw in macOS Tahoe 26.6, describing it as a race condition that could let a malicious app gain root privileges.
In Caliptra, an open-source silicon root of trust written in Rust and audited by outside firms, Claude found a time-of-check-to-time-of-use flaw in the ROM's firmware update flow. A compromised component on the same chip could make the root of trust run firmware it never verified. The maintainers assigned it CVE-2026-11835 and patched it. The work also produced logic bugs in eBPF and the Rust compiler.
What security teams should do now
The lesson runs against a common instinct in security engineering, where more elaborate tooling usually wins. Here the extra machinery got in the way: the fuzzing and symbolic execution pipelines were boxed in by fixed harnesses, while the plain review could pick its own tools to test its own hypotheses about the code.
Anthropic's own recommendation is to start with the simple approach, and that is sound advice for any company with in-house code. Run an agentic review over your most sensitive components before buying specialized tools, and assume attackers are already doing the same thing to the software you depend on.
The facts
Anthropic published research on December 2, 2026 finding that simple agentic code reviews by Claude beat fuzzing and symbolic execution at finding logic bugs.
Logic bugs happen when software breaks the implicit rules of how it should work, and they usually do not cause crashes or bad memory access, so general-purpose detection tools miss them and finding them has relied on human code review, which does not scale.
The benchmark has 21 since-patched logic bugs from SQLite (9), zstd (3), brotli (1) and image-png (8), disclosed between 2016 and 2026; models got only the unpatched source and had to submit an input that triggers each bug.
Claude running in Claude Code rediscovered 11 of the 21 bugs with no hints, while the fuzzing and symbolic execution techniques found none in the same setting.
When given the rule each bug broke, the models found 20 to 21 of the 21 bugs, showing that testing a hypothesis is not the hard part.
In the blind setting Claude Sonnet 4.5 rediscovered one bug, Opus 4.5 five, newer Opus models 9 to 13 and Claude Mythos models 11 to 15.
On the nine bugs no model remembered from training, the Claude 4.5 models and Sonnet 5 rediscovered zero to one, while Opus 5 and later rediscovered two to five.
Claude Mythos 5.2 found 241 bugs in total, 216 of them logic bugs.
Across all techniques and models the experiments found 316 unique bugs; 189 were already fixed or known, and Anthropic is reporting the remaining 127 to maintainers.
Anthropic independently discovered CVE-2026-43783 in macOS DesktopServicesHelper, the root helper Finder uses for file operations, which let any local user take ownership of files outside System Integrity Protection and spawn a root shell without a password.
Any process can sandbox itself with one unprivileged call, and the daemon accepted a permissions-repair request from any sandboxed caller without further checks, so an attacker could take ownership of files such as /etc/pam.d/su.
Apple fixed CVE-2026-43783 in macOS Tahoe 26.6, released July 27, 2026, describing it as a race condition that could let a malicious app gain root privileges; the entry was added September 14, 2026.
Caliptra is an open-source silicon root of trust, written in Rust and audited by product security teams and outside auditors.
In Caliptra, Claude found a time-of-check-to-time-of-use bug in the ROM firmware update flow that let a compromised component on the same chip make the root of trust run firmware it never verified; it was assigned CVE-2026-11835 and patched.
Anthropic also reported logic bugs in eBPF and the Rust compiler found through this work.
The fuzzing and symbolic execution pipelines were constrained by fixed harnesses and heuristics, while agentic review could choose tools around its own hypotheses.
Anthropic recommends that defenders start with these simple techniques on their own code before investing in specialized tooling.
In Anthropic's benchmark of 21 since-patched logic bugs, Claude running in Claude Code with no hints rediscovered 11, while fuzzing and symbolic execution setups found none in the same blind setting. When given the rule each bug broke, the models found 20 to 21 of the 21 bugs. Anthropic's agentic code review independently discovered CVE-2026-43783 in macOS DesktopServicesHelper, the root helper Finder uses for file operations. Any sandboxed process could get it to hand over ownership of files outside System Integrity Protection, such as /etc/pam.d/su, and spawn a root shell. Apple fixed it in macOS Tahoe 26.6. Claude found a time-of-check-to-time-of-use bug in the Caliptra ROM's firmware update flow that let a compromised component on the same chip make the root of trust run firmware it never verified. Caliptra is an open-source silicon root of trust written in Rust. The bug was assigned CVE-2026-11835 and patched. In Anthropic's blind logic-bug test, Claude Sonnet 4.5 rediscovered one of 21 bugs, Claude Opus 4.5 five, newer Opus models 9 to 13 and Claude Mythos models 11 to 15. Claude Mythos 5.2 found 241 bugs in total across the targets, 216 of them logic bugs. Anthropic recommends that defenders start by running simple agentic code reviews with a model like Claude over their own codebases before investing in specialized tooling. Its experiments found 316 unique bugs in total; 189 were already fixed or known, and Anthropic is reporting the remaining 127 to maintainers.Questions and answers
Is Claude Code better than fuzzing at finding logic bugs?
What macOS flaw did Anthropic's agentic code review find?
What bug did Claude find in Caliptra?
How did different Claude models compare at finding logic bugs?
What does Anthropic recommend for finding logic bugs?
Storyline62 storiesCybersecurity
In this story
Pacific timeCoverage timeline
More in this topic
Latest video
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.


