Anthropic tests Claude on software logic bugs | Magica
Anthropic’s logic-bug benchmark favors AI code review
Editorial Team
••📖8 min read
Anthropic says Claude rediscovered 11 of 21 historical logic bugs without hints, outperforming its fuzzing and symbolic-execution setups. Public bug records support practical findings, but memorization, automated judging and missing cost comparisons limit the conclusions.
Claude code review rediscovered 11 of 21 historical logic bugs without hints in Anthropic’s test.
Anthropic’s model-assisted fuzzing and symbolic-execution setups found none in the same blind setting.
Maintainer records document real findings, while the study leaves audit costs and broader detection rates unresolved.
Anthropic, the developer of the Claude AI models and Claude Code coding agent, says ordinary agentic code review rediscovered 11 of 21 historical logic bugs without hints in a new study. Its model-assisted fuzzing and symbolic-execution setups found none under the same conditions. The result points to a way of searching for software errors that depend on understanding a program’s intended rules, rather than simply making it crash.
Company-reported results with Claude Mythos 5 on 21 historical logic bugs, aggregated across three runs per bug. Informed agents received the violated rule; blind agents received no bug hints. Graphic: Anthropic. Source: Anthropic.
Finding the rule the software broke
In its research published December 2, Anthropic tested methods for detecting logic bugs: programs violating their intended rules while potentially continuing to run without crashing. Such errors can undermine permissions, firmware verification or compiler guarantees even when conventional memory-safety checks see nothing wrong.
The distinction matters because many automated tools depend on a recognizable signal of failure, sometimes called a bug oracle. An invalid memory access is wrong regardless of a program’s purpose. A permissions decision can be wrong only in light of the access rules the program is meant to enforce. Discovering that rule, then finding a way to break it, is the difficult part.
This extends an existing security-research effort by a company testing its own products. In a March 6 account of its Firefox collaboration, Anthropic said Claude Opus 4.6 had found 22 vulnerabilities over two weeks, with Mozilla assigning 14 high severity. The new study asks whether models can also discover program-specific mistakes without being supplied the rule to check. Firefox, Mozilla’s open-source web browser, was chosen for its complex, extensively tested code and exposure to untrusted content, Anthropic said. The earlier findings are precedent, not a comparable detection-rate baseline.
Mistral makes marking automatic for eligible Vibe output while leaving API and Studio customers to opt in. Some file signatures attest only to delivery, and its watermark research shows substantial differences in detection and serving costs.
That collaboration also shows the work behind a discovery count. Anthropic said it scanned nearly 6,000 C++ files and submitted 112 unique reports, including findings that did not necessarily have security implications. Mozilla helped triage them and determine what warranted reporting. Anthropic’s March account also described Claude Code Security, its vulnerability-discovery and patching offering, as being in limited research preview: the company has a product stake in demonstrating these capabilities.
A small benchmark favors freedom to investigate
Anthropic assembled 21 previously patched bugs disclosed between 2016 and 2026: nine from SQLite, three from zstd, one from brotli and eight from image-png. Agents received unpatched source code without the fixing commit. A submitted input counted as successful if it produced different output or a different return value in the patched and unpatched versions. The grader did not separately verify the assumption that producing a triggering input meant the agent had correctly reasoned about the broken rule.
Each technique ran three times per bug, with results reported across those runs. An agent could submit up to 1,000 candidate inputs in a run but received no feedback from the grader until the run ended. The headline result therefore describes bugs found across repeated attempts, not an 11-in-21 success rate for a single audit.
Using Claude Mythos 5, one of Anthropic’s Claude models, ordinary agentic code review—source access plus the ability to run tests—rediscovered 11 bugs without hints. The tested approaches that used models to generate checks for fuzzing or harnesses for symbolic execution found none under that condition. Fuzzing explores inputs automatically; symbolic execution reasons about possible execution paths using mathematical constraints. The fuzzer ran for eight hours, and the symbolic-execution engine received the same execution time. Those budgets do not provide an all-in cost comparison with agentic review.
Another successful approach asked an agent to write an informal correctness proof and investigate claims it could not establish. These natural-language documents had no formal correctness guarantee; their value was in directing the search for counterexamples.
The comparison does not establish that fuzzing or symbolic execution is generally ineffective. When researchers supplied the violated rules, the symbolic-execution setup found 13 bugs, and a fuzzing variant with control over seeds and harnesses found 15. Anthropic says the symbolic-execution agent found the bugs while reviewing source to write harnesses and submitted triggering inputs directly. Symbolic execution confirmed two findings but contributed no additional discoveries. In the fuzzing variant, the model spotted each bug first and then forced the fuzzer to reproduce it.
Across the stronger approaches, supplying the rule brought results to 20–21 of 21 bugs. Within this test, inferring what the software should do was a greater obstacle than constructing an input once that obligation was known.
The alternatives still have useful roles. A human can supply program-specific assertions for a fuzzer to test; the study instead asked the model to generate those checks. Fuzzers are limited by the functionality their harness exposes and what their instrumentation can observe. Agentic review can choose tests around a particular hypothesis.
Public findings show both consequence and constraints
Anthropic also describes discoveries in current software, including Caliptra, an open-source silicon root of trust that verifies firmware. The researchers selected it because, they say, it had already undergone substantial security auditing and was written entirely in Rust, a programming language designed to provide memory safety, putting most memory-safety problems outside their target.
Anthropic says Claude found a gap between checking a firmware image and loading it. A compromised component could change the image between those operations, causing execution of firmware that had never been verified.
The maintainer advisory makes the limits concrete. CVE-2026-11835 affects Core ROM versions 2.1.0–2.1.1 and is patched in 2.1.2. The flaw occurs in the subsystem-mode update-reset flow: the firmware address was not checked against the configured restricted staging area, and the image was not verified again after loading. Exploitation requires compromised microcontroller firmware with access to unprotected SRAM reachable by Caliptra. The advisory rates it moderate, with a CVSS v4 score of 5.7 out of 10. Its significance is the broken trust guarantee: attestation could still report the digest of the originally verified image.
The Rust compiler example concerns the machinery enforcing the language’s memory-safety guarantees. Anthropic says an informal proof exercise uncovered several dozen type-safety issues. In the highlighted case, code without an unsafe block could use memory after it had been freed because the compiler failed to connect an ownership move with a later indexed access.
The public issue, opened August 4, 2026, records a reproducer, a use-after-free diagnostic and a high-priority soundness classification. Contributors documented the compiler accepting the memory-unsafe program in a 2019 version. The discussion also documents human checking of an LLM-generated candidate before submission. The archived record remains open and contains a September 25, 2026, commit reference describing a fix; that is evidence of repair work, not proof that a fix had shipped to users. Anthropic distinguishes these compiler-correctness failures from the security vulnerabilities in its other examples.
Anthropic further reports an independently discovered, now-patched macOS permissions flaw, CVE-2026-43783, which allowed a local user to take ownership of files outside System Integrity Protection and escalate privileges. It says its proof-based approach also found more than a hundred soundness bugs in the verifier for the extended Berkeley Packet Filter (eBPF), which lets user applications run programs inside the Linux kernel. The verifier is meant to establish that those programs obey safety restrictions before they execute.
In one eBPF example, Anthropic says a rule added in 2020 treated a comparison of the lower 32 bits of a pointer as though it checked all 64 bits. When the pointer’s lower 32 bits were zero, that error let a program pass verification while retaining a path to an unchecked memory access, enabling local privilege escalation. The company identifies a fix and CVE-2026-98041 for that example, and says maintainers have been working through the wider set of reports. The aggregate counts remain company claims; they do not show that every report has been patched.
Company-reported status of 316 bugs found outside the benchmark in outdated software versions: 189 already fixed or known, and 127 remaining bugs being reported. Assessment and deduplication used an LLM judge. Chart: Magica; source: Anthropic. Source: Anthropic.
The next test is validated yield and cost
Historical benchmarks carry a memorization problem. Anthropic found that Opus 5 and later models could recall eight to ten of the ten benchmark bugs made public between 2016 and 2024. Recall did not guarantee that a model could generate a successful triggering input. On the nine bugs no tested model remembered, Claude 4.5 models and Sonnet 5 rediscovered zero or one, while Opus 5 and later models found two to five. That supports improvement, but on a very small subset.
The larger discovery totals also require care. Across models and techniques, Anthropic counted 316 unique bugs outside the intended benchmark set, using an LLM judge to assess and deduplicate findings. These came from outdated software versions. It says 189 were already fixed or known to maintainers and that it was reporting the remaining 127. Those are not 316 newly confirmed vulnerabilities in current releases.
The logic-bug report supplies no comparable cost per validated finding or human-review baseline. The evidence therefore does not establish cheaper audits or replacement of security reviewers. Maintainer confirmation, repair status and the effort needed to reject weak reports remain essential measures.
Anthropic recommends trying agentic code review and informal proofs before investing in specialized tooling. The unresolved question is how reliably that recipe produces consequential, previously unknown bugs in maintained software—and how much computation and expert attention each accepted finding requires.
European leaders and eight technology and industrial companies presented projects spanning computing, chip design and factory AI. The roadmap pairs European procurement and infrastructure ambitions with demands for capital and regulatory reform, but discloses no overall investment commitment.
The Vermont independent is demanding a pause on advanced AI and a ban on superintelligence, extending his campaign against unchecked industry expansion. A September bill shows how far his proposed federal controls would reach, while labor and energy research distinguish measurable disruption from existential warnings.
Apple subsidiary Claris has opened a developer preview that lets AI coding agents build and modify FileMaker apps. Its promise is faster modernization of existing business software, but the available demonstration does not establish typical savings.
Meta is making undisclosed realistic AI content ineligible for Instagram and Facebook recommendations. Creators can restore eligibility with a label or successful appeal, but repeat violations can affect an entire Instagram profile.
Tesla has discussed using Intel’s factories if its Terafab venture with SpaceX falls behind, according to a report. The possible fallback would extend an existing technology relationship, alongside Samsung and TSMC supply plans, while leaving Terafab’s financing unresolved.
Nvidia’s co-founder and reinstated CEO appeared at its Washington developer conference despite earlier plans to stay away, while Congress investigated chip exports and the board continued its inquiry into a suspected foreign intelligence effort.
Google is rolling out Gemini 4 Live and Live Translate across apps, APIs and forthcoming eyewear. A small hands-on test supports faster translation but challenges the conversational speed gain and finds tool errors in default mode.
US prosecutors have sought information from Nvidia in criminal investigations into possible chip diversion to China. Officials and sources describe the company as a witness; the scrutiny concerns intermediaries, restricted hardware and overseas computing access.
Huawei Cloud has launched its Ascend 950 AI cluster service overseas, while its chairman says unmet domestic demand limits supply to selected countries. Prices and overseas capacity remain undisclosed in the launch reports.
The EU’s new AI Act prohibition targets non-consensual intimate material and child sexual abuse material. Separate requests to Apple, Google and Meta examine distribution, while app testing shows why safeguards must be assessed system by system.
Algoriddim’s desktop DJ software adds song-section analysis for automatic cues, phrase alignment and live rearrangements. A hands-on review finds useful controls but also a detection error, while competing tools and streaming terms limit the broader promise.
A 15-year agreement with an unnamed AI lab anchors a planned West Texas gas-and-storage project. The partners target first power in late 2027, but disclose no electricity price or project returns, and later grid access remains conditional.
Jensen Huang reportedly met with intelligence overseer Jim Himes after a contentious House interview, as Nvidia faces questions about chip diversion and the commercial limits of licensed sales to China.
Ora has emerged from stealth with $75 million across two rounds to help AI agents complete online tasks. Its founders bring search and interface experience, but shared standards and company-provided performance figures leave its commercial advantage to be tested.
Hyundai-backed Motional has removed the safety driver from its Las Vegas Uber service. A small initial fleet and the need for cheaper hardware leave the economics of expansion unresolved.
Nvidia is pairing Sentry’s hardware-isolated agent controls with faster security-model inference and partner integrations. The framework is planned for early 2027; containment speed alone does not establish detection accuracy or deployment economics.
The House sent Trump a permitting overhaul that pairs faster infrastructure approvals with data-center power cost protections. Its limits on environmental review and tribal consultation split lawmakers who otherwise support expanding the grid.
Nvidia’s top lawyer faces closed-door House questioning after lawmakers said CEO Jensen Huang identified him as responsible for export compliance and customer checks. The inquiry spans suspected chip diversion to China, contacts with investigators and licenses for Chinese buyers.
A White House official says Commerce Secretary Howard Lutnick will agree to rescheduled Nvidia testimony, but the Senate Banking Committee has received no revised commitment. Senators are seeking answers about export enforcement and alleged chip diversion to China.