AlphaGazette
Menu

Tech

AWS launches Project C2 to prove code and catch bugs models miss

The service uses language models and automated reasoning to write proofs about software, and AWS has already applied it to open-source projects and its own databases. Access is limited to a small set of customers for now.

1 min read AI-generated

AWS on Monday announced Project C2, a service that pairs large language models with automated reasoning so it can write mathematical proofs about software and catch rare defects the company says even the strongest frontier models still miss. The system, short for Code Confidence, has already found more than 800 bugs in 22 widely used open-source codebases, and AWS is also running it on Amazon Aurora, Amazon DynamoDB and Amazon Elastic Block Store. Only a limited number of customers will get access at this point.

C2 reads a project’s code and documentation to infer what the system should do, then tries to prove the implementation matches that intent. A failed proof either leads it to refine that picture or, when the mismatch is real, to flag a defect. It then writes a test that triggers the issue, rates how severe it is, and drafts a fix that it also proves correct.

AWS Distinguished Engineer Marc Brooker and Principal Applied Scientist Soonho Kong, who worked on early versions of the Lean theorem prover at Microsoft Research, argue that concurrent protocols such as Paxos explode far beyond what a person or a model can enumerate: a single round of agreement among three machines can unfold in more than 90,000 different orders, and dropped packets and retries grow that space further. They say the proofs, like a proof of Pythagoras’s theorem, can cover every ordering without trying each one.

AWS says it has spent about a decade applying automated reasoning to its own infrastructure and, earlier this year, brought the approach to developers in Kiro’s requirements analysis. Unlike security-focused AI hunters such as Anthropic’s Claude Security, OpenAI’s Codex Security (formerly Aardvark) and Google DeepMind’s CodeMender, C2 targets a different class of defect than those scanners and simulators.