AWS claims its math-plus-AI bug hunter found 800 defects models alone missed
AI & ML

AWS claims its math-plus-AI bug hunter found 800 defects models alone missed

Project C2 pairs large language models with the Lean theorem prover to find and verify concurrency bugs, the hardest class of defects to reproduce, but AWS has not benchmarked it against a named alternative.

PublishedDecember 4, 2026
Read time4 min read
Share

What C2 actually does

Project C2, short for Project Code Confidence, is a software verification tool AWS unveiled at re:Invent 2026 and is currently making available to select customers in gated preview. A developer submits a link to a code repository and describes the defects to investigate. C2 then attempts to reproduce each defect through generated tests, assesses its severity, and proposes a fix, using large language models together with mathematical tools including the Lean theorem prover to find discrepancies between intended and actual software behavior.

The distinguishing feature is verification: where possible, mathematical proofs confirm that a proposed patch actually resolves the discrepancy, rather than relying solely on the generating model's own assessment that the fix is correct. That verification step is what separates C2's pitch from a conventional AI code-review assistant, which typically has no independent mechanism to confirm its own suggestions are right.

Why concurrency bugs specifically

The current gated preview focuses narrowly on concurrency bugs, defects that depend on the specific order in which parallel operations execute. These are notoriously difficult to find through conventional testing because the failure condition may only occur under a particular, hard-to-reproduce interleaving of threads, and a test suite that passes reliably in development can still hide a race condition that surfaces only under production load.

AWS's examples include nine thread-safety defects found in a Rust performance-profiling library, one of which could crash a reporting thread and cause data loss, and a separate coordination defect affecting how servers communicate in a distributed system. Both are exactly the category of bug that is expensive to find manually and dangerous to ship undetected, which is why AWS chose this defect class to lead with rather than a broader, less differentiated bug-finding claim.

AWS is eating its own dog food, with real stakes

AWS says it is applying C2 to Amazon Aurora, DynamoDB, and Elastic Block Store, three of its most heavily used production database and storage services, and reports bugs found and fixed in Aurora, DynamoDB, and EC2 through the tool. Running a new verification tool against your own highest-stakes production infrastructure, rather than only against external open-source test cases, is a credible signal that AWS has some internal confidence in the tool beyond the marketing claim.

It does not, however, substitute for independent verification. AWS controls both the tool and the disclosure of its own results, and the 800-plus defect count across 22 open source projects, while specific, has not been independently audited or compared against what an existing static analysis or fuzzing toolchain would have found on the same codebases.

The benchmark gap worth noting

A relevant data point sits uncomfortably next to this announcement: AWS's own September Deception Benchmark tested 12 AI models on vulnerability classification tasks, and no tested configuration kept both false-positive and false-negative rates below AWS's stated 10 percent production threshold. That benchmark did not test C2 directly, so it is not a direct refutation, but it does establish that AWS's own internal bar for AI-driven vulnerability classification has not yet been cleanly cleared by any configuration it has publicly tested.

Neither AWS's written announcement nor its re:Invent keynote offered a comparable error-rate figure for C2 itself, or a head-to-head comparison against a named competing static analysis or fuzzing tool. Enterprises should treat the 800-defect figure as a usage claim, not a validated accuracy benchmark, until that comparison exists.

How to actually evaluate this

If your engineering organization has concurrency bugs that have resisted conventional testing, this is a reasonable candidate for a pilot once general availability opens, but structure the pilot to measure confirmed defects that your existing tools already missed, not total findings, since a tool that surfaces many false positives looks productive on volume alone. Track engineer review time spent validating C2's findings against time saved from bugs it catches that would otherwise have shipped.

Before connecting any proprietary repository, confirm AWS's code retention, model-training, and access-control terms explicitly, a step that matters more for a tool explicitly designed to ingest and reason over your full codebase than for a narrower point tool. Given the gated preview status, pricing and general availability timing remain unconfirmed, so budget evaluation time now without assuming production deployment timing.

Tagged#news#ai-ml#ai#llm#agents#agentic-ai#openai#anthropic#regulation#lean-theorem-prover#code-verification#project-c2#concurrency-bugs#ai-assisted-development#static-analysis