AI Code Review vs Automated Reasoning: What Anthropic and AWS Found Hunting Bugs

Anthropic found that a Claude agent doing plain code review rediscovered 11 of 21 logic bugs while LLM-driven fuzzing found none. AWS says its Project C2 catches concurrency bugs that AI review misses. We compare both, explain where they agree and list what teams can try on their own code today.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 7 min read
Share
A software engineer at a desk at night with two monitors and a hand-drawn flow diagram on paper.
Image: AI-generated, i10X
On this page
  1. What Anthropic measured
  2. What AWS claims for Project C2
  3. Same first step, different bug classes
  4. What to try on your own code
  5. One step further: why AI bug hunting moved past crashes now, and who absorbs the reports
  6. i10x Perspective
  7. What to watch

Anthropic published a study on December 2 in which a Claude agent doing plain code review found more logic bugs than setups that paired the model with fuzzing or symbolic execution. Two days earlier AWS introduced Project C2 with a nearly opposite message: that AI code review misses rare concurrency bugs, and that only automated reasoning, a mathematical check over every possible order of events, catches them. Both are vendor research on targets the vendors picked. Read side by side, they still give the most concrete guidance so far on which AI bug-hunting setup to try first.

What Anthropic measured

Anthropic built a benchmark from 21 logic bugs, found and patched between 2016 and 2026: nine in SQLite, eight in image-png, three in zstd and one in brotli. Logic bugs do not crash a program, so sanitizers and classic fuzzers have nothing to catch. The model got the unpatched source and had to prove each find with an input that changes behaviour compared with the patched version, with up to 1,000 inputs per run, three runs per bug and no feedback during the run.

Four techniques ran on Claude Mythos 5: LLM oracles for fuzzing (the model writes asserts, a fuzzer runs for eight hours); LLM-driven symbolic execution (the model writes the harness, a solver searches for violations); agentic code review (Claude Code with source access and the ability to run test inputs); and informal correctness proofs (the agent writes a proof in plain language, and every claim it cannot back from the code becomes a test input).

Without hints, agentic code review found 11 of the 21 bugs. Fuzzing and symbolic execution found none. When the violated rule was handed over, the agents found 20 or 21, and symbolic execution reached 13, but Anthropic says those finds came from the model reading the code while writing the harness, not from the solver. Model generation matters: in the blind setting Claude Sonnet 4.5 found one bug, Opus 4.5 five, newer Opus models 9 to 13 and Mythos models 11 to 15. Anthropic also checked memorisation. Opus 5 and later recall most of the older bugs, but on the nine bugs no model remembers, Opus 5 and later still rediscovered two to five.

Outside the benchmark the runs turned up 316 unique bugs. Of those, 189 were already fixed or known, and 127 are being reported. The same methods produced new vulnerabilities: a check-then-use flaw in the firmware update path of Caliptra, an open-source silicon root of trust (CVE-2026-11835), a macOS helper that let any local user take ownership of system files (CVE-2026-43783, now patched), a Rust compiler bug, and more than a hundred soundness bugs in the Linux eBPF verifier.

What AWS claims for Project C2

Project C2, short for Code Confidence, uses agents to work out from code and documentation what a system is supposed to do, then tries to prove that the implementation does it, with tools such as the Lean theorem prover. A mismatch is either a wrong assumption, which the system refines, or a bug, which gets a reproducing test, a severity rating and a proposed fix that is itself checked.

AWS says it found more than 800 bugs in 22 popular open-source projects and is applying the method to Aurora, DynamoDB and EBS. It describes two cases without naming the projects: an in-memory database that, after a failed disk sync, could clear its error flag on a retry and lose data on reboot, and a Raft-based key-value store in which a leader that lost its role could still revoke leases that a new leader had handed out. The product page says C2 covers concurrency bugs for now, as a gated preview for invited customers. There is no public price.

Same first step, different bug classes

Anthropic logic-bug studyAWS Project C2
Bug classLogic bugs that break a program’s own rulesConcurrency and distributed-systems bugs
Method that wonAgentic code review in Claude Code, informal correctness proofsAgents infer intent, automated reasoning (e.g. Lean) checks all orderings
Published evidence21-bug benchmark, 316 extra bugs, four named zero-days800+ bugs in 22 unnamed open-source projects, two described cases
Proof per findingAn input that changes behaviour vs the patched codeA reproducing test, severity rating and checked fix
AvailabilityMethod described; uses Claude CodeGated preview for invited customers, no public price
Not disclosedFalse positive rate (extra bugs judged by an LLM)Project names, false positive rate, cost per scan

Sources: Anthropic research post (December 2, 2026), AWS Project C2 post and product page (November 30, 2026). Compiled by i10X.

The two are less contradictory than they sound. Both start with a model guessing what the code is meant to guarantee, and Anthropic’s numbers show that this guess is the hard part: given the rule, its agents found 20 or 21 of 21 bugs; without it, 11 to 15. The disagreement is about the second step. For single-threaded logic, Anthropic found that extra machinery added nothing. For concurrent and distributed code, AWS argues that no reader, human or model, can walk through the possible orderings: a single Paxos agreement round between three machines already has more than 90,000. Our earlier coverage of AWS Greenlight shows the same automated reasoning group applying proofs to agent rules.

What to try on your own code

  • Start with an agent review that can run inputs. No preview access is needed. Ask the agent for a triggering input for each suspected bug, as Anthropic did, so every finding is reproducible rather than a comment.
  • Write down your invariants. The jump from 11 to 20 or more found bugs came from stating the rule that was broken. A short list such as “installed firmware equals the verified image” or “a lease is never revoked while its holder keeps renewing” is the cheapest upgrade.
  • Use formal tools where order matters. Leases, consensus, retries and durability are where AWS says reviews fail; that is the case for requesting C2 access.
  • Plan triage time. By our calculation 60% of Anthropic’s extra findings (189 of 316) were already fixed or known. Our coverage of the SWE-sweep benchmark shows the other side: without a bug report, agents fixed only 4.7% of hidden bugs.

One step further: why AI bug hunting moved past crashes now, and who absorbs the reports

The shift has a clear cause. Memory-safety bugs have mature tools, and code written in Rust or protected by mitigations such as Apple’s pointer authentication leaves logic and ordering mistakes as the remaining risk; Caliptra, written entirely in Rust and already audited, still had one according to Anthropic. AWS adds scale: in 2015 it saw a one-in-a-million error a few times a second across its systems, and today such errors occur thousands of times a second, with agents expected to raise that further.

The consequences reach beyond the teams running these tools:

  • Open-source maintainers. AWS reports more than 800 bugs across 22 projects, about 36 per project on average by our calculation. Anthropic has 127 reports in the pipeline for four libraries, plus more than a hundred eBPF verifier bugs. That work lands largely on volunteers. Both vendors say they send reproductions, and AWS says it includes tested patches, which cuts the cost of each report but not the number of them.
  • Makers of fuzzing and static analysis tools. In Anthropic’s fuzzing variant that reached 15 of 21 bugs once the rule was provided, all 15 came from the model spotting the bug and steering the fuzzer to it. AWS positions C2 against “AI code review, coding agents, and AI security agents”. Classic tools lose ground from both directions.
  • Teams on older or smaller models. Outside the benchmark, Mythos models found 54 to 241 bugs per model and the Claude 4.5 generation 17 to 18. Claude Mythos 5.2 alone found 216 logic bugs among 241. Results from these posts will not transfer to whatever cheaper model a team runs by default.

Still open: neither vendor gives a false positive rate. Anthropic verified the extra findings with an LLM judge; AWS publishes no project names and no cost per scan.

How we checked

Checked on 3 December 2026, 14:38 CET.

  • Anthropic’s research post of December 2, 2026, AWS’s Project C2 post of November 30, 2026 and the Project C2 product page, read December 3, 2026
  • The comparison table, the per-project average and the 60% share of already known findings are our own work
  • We have not run Project C2 or reproduced Anthropic’s benchmark

i10x Perspective

Anthropic’s result is uncomfortable for anyone selling elaborate harnesses: on logic bugs, giving the agent freedom beat giving it a pipeline. We would still read it with care, since the benchmark has 21 bugs, the authors built it, and the winning models are their own. AWS’s case is harder to test because it comes with almost no numbers beyond the 800. The practical position is not to pick a side. Use agent review with explicit invariants on everyday code today, and keep formal reasoning for the places where timing and failure handling decide whether data survives. Both studies point to the same human job that still pays most: writing down what the code must never do.

What to watch

Whether the 127 pending Anthropic reports turn into maintainer fixes, when AWS opens C2 beyond invited customers and adds the bug types it promised “over the coming months”, and whether an independent benchmark confirms that simple agent review beats the more complex setups. For the earlier step in this line of work, see how Anthropic’s model found 271 zero-days in Firefox.

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Timeline

What happened before

  1. Release

    Claude Haiku 5.5

    1M context · $0.1 / $0.5 per 1M tokens

    support.claude.com (source, opens in a new tab)
  2. Release

    Claude Sonnet 5.5

    1M context · $2 / $10 per 1M tokens

    support.claude.com (source, opens in a new tab)
  3. Release

    Claude Opus 5.5

    1M context · $4 / $20 per 1M tokens

    First model of the Claude 5.5 family; performs at the level of Claude Fable 5.1 on most work and costs 40% less to run than Opus 5.

    anthropic.com (source, opens in a new tab)
  4. Release

    Claude Fable 5.1 & Mythos 5.1

    1M context · $10 / $50 per 1M tokens

    Anthropic's most advanced models for coding and knowledge work. Price/context shown for Claude Fable 5.1 (models overview).

    support.claude.com (source, opens in a new tab)
  5. Release

    Claude Opus 5

    1M context · $5 / $25 per 1M tokens

    support.claude.com (source, opens in a new tab)
Full Claude timeline ›

Editor's picks

  1. Aikido Raises $370M at $4B: Europe’s AI Security Bet on Fixing, Not Finding
  2. AI Code Review vs Automated Reasoning: What Anthropic and AWS Found Hunting Bugs
  3. EU Finds Meta Breached the DSA Over AI Scam Ads: What Must Change, What It Could Cost
  4. gemini-mcp-tool flaw lets injected prompts run host commands, still no patch
  5. Neural Override RAT lets an LLM pick its next attack on infected Windows PCs