The short version
Project C2 checks code with mathematical proof instead of test runs or a model’s judgment. That matters for teams shipping distributed or payment code written partly by AI coding agents: the bugs C2 targets hide in retry and failover paths that normal tests rarely reach. The tool is in limited preview, so most teams cannot use it yet.
What did AWS announce?
AWS announced Project Code Confidence, or C2, on November 30, 2026, the opening day of re:Invent in Las Vegas. The announcement was written by Marc Brooker, a vice president and distinguished engineer at AWS, and principal applied scientist Soonho Kong. The New Stack notes that Kong worked on the earliest versions of the Lean theorem prover at Microsoft Research.
AWS says it is also running C2 against its own services, including Amazon Aurora, Amazon DynamoDB and Amazon Elastic Block Store. Customers can apply for the preview on the AWS website.
SiliconANGLE reports that AWS announced shared Kiro Crews alongside C2, a feature that lets a team’s coding agents share one memory and the same learned skills.
How does Project C2 find bugs?
C2 uses an AI model to write a mathematical proof that the code behaves as intended, then treats every failed proof as a lead. According to AWS, the loop runs like this:
- Read the intent. It reads the code and its documentation to work out what the system is supposed to do.
- Try to prove it. It attempts to prove the implementation does that in every possible scenario, using tools such as the Lean theorem prover.
- Sort the failures. A failed proof means either C2 misread the intent, so it refines its model, or there is a real mismatch, which it flags as a bug.
- Confirm and fix. It writes a test that reproduces the bug, rates its severity and drafts a fix that it also proves correct.
The reason for proofs is scale. Brooker and Kong write that one round of agreement between three machines running the Paxos protocol can happen in more than 90,000 orders, before dropped packets and retries are added. “Just like we can know that a proof of Pythagoras’s theorem is correct without trying every possible triangle, the proofs this approach writes can generalize to all orderings without trying them all,” they write.
What kinds of bugs has C2 found?
AWS says the 800-plus bugs are mostly reliability flaws, not the kind of security holes attackers exploit. It did not name most of the projects, but it described several cases:
- Silent data loss. A well-known in-memory database cleared its disk-error flag after a successful retry. On Linux, that retry does not guarantee that earlier writes reached the disk, so data could be lost after a reboot.
- Double charges. In a Raft-based key-value store used in payment systems, a leader that lost its role mid-batch could keep revoking leases that clients had already renewed with the new leader. AWS says this could charge customers twice. The New Stack reports that the description matches an etcd issue Brooker filed in early November.
- Profiler flaws. SiliconANGLE reports nine flaws in one Rust profiling library.
How is C2 different from other AI bug hunters?
C2 targets reliability bugs and checks its findings with a proof rather than the model’s confidence. Most AI bug hunters released in the past year look for security vulnerabilities and rely on a model reasoning about code the way a human researcher would. The New Stack names Anthropic’s Claude Security, OpenAI’s Codex Security and Google DeepMind’s CodeMender as examples.
| Approach | What it checks | Coverage |
|---|---|---|
| Model-only bug hunters | Mostly security flaws | What the model notices |
| Fault-injection testing (for example, Antithesis) | Distributed-system failures | The orderings the test explores |
| Project C2 | Behavior against the documented intent | All orderings covered by the proof, according to AWS |
What it means for US & EU software teams
AWS launched C2 as part of its agentic coding push, and the bugs it exposes sit in code paths that every distributed system has. You cannot use C2 yet, but you can review the same weak spots today.
Failure-handling code needs its own review
Both AWS examples live in retry and failover logic that runs rarely and is easy for a person or an agent to get wrong. In payments, ledgers and storage, ask for tests that cover crashes, retries and leader changes, not only the happy path.
Write down what the code must do
C2 starts from documentation, so any proof-based tool is only as good as the stated intent. Short written invariants, such as “a payment is charged at most once,” help human reviewers today and make formal checks possible later.
Patching is the slow step
The New Stack points out that finding bugs is no longer the limit. Anthropic says it disclosed 5,087 vulnerabilities across 680 open source projects, but only 629 were patched by early November. If your product depends on open source databases or consensus libraries, track upstream fixes from these programs and plan time to upgrade.
What should teams do now?
- Map critical paths. List the code where a bug means lost data or money: payments, ledgers, sync and storage.
- Test failure paths. Add fault injection or property-based tests for retries, timeouts and node failover.
- Record invariants. Put the core rules of each critical module in the repository, next to the code.
- Gate agent changes. Require human review and failure-path tests for agent-written changes in these modules.
Frequently asked questions
What is AWS Project C2?
Project C2, short for Project Code Confidence, is an AWS tool announced on November 30, 2026, at re:Invent. It pairs AI models with automated reasoning tools such as the Lean theorem prover to prove that code matches its documented intent, and flags a bug when a proof fails.
How many bugs has Project C2 found?
AWS says C2 has found more than 800 bugs across 22 popular open source projects and shared fixes with the maintainers. AWS is also running it on Amazon Aurora, DynamoDB and Elastic Block Store.
Can I use Project C2 on my own code?
Not yet for most teams. C2 is in a limited preview, and AWS invites interested customers to apply. AWS has not published pricing or a list of supported languages.
Does Project C2 find security vulnerabilities?
That is not its main target. AWS says the bugs it finds are mostly reliability flaws in rarely run error- and failure-handling code, such as data loss after a retry or double charges after a leader change.
How is a proof better than more tests?
A test only covers the cases it runs. AWS says a proof covers every possible ordering of events, which matters in distributed systems where three machines agreeing on one value can do so in more than 90,000 orders.
Sources
About Amazon — Project C2: AWS finds rare bugs that AI models miss (November 30, 2026)
The New Stack — AWS says its new tool finds the bugs the best AI models miss (December 1, 2026)
SiliconANGLE — At re:Invent, AWS accelerates agentic coding with mathematical bug-hunting tools and self-learning agents (November 30, 2026)