AWS Project C2 Uses Math Proofs to Find 800 Bugs AI Models Missed

AWS Project C2 Uses Math Proofs to Find 800 Bugs AI Models Missed

AWS has unveiled Project C2, a new bug-hunting system that pairs AI models with mathematical reasoning to catch rare flaws in code. The company says Project C2 found over 800 bugs across 22 popular open source projects and shared the fixes with maintainers. It was announced at the AWS re:Invent 2026 developer keynote and is opening first to select customers.

What Is AWS Project C2?

The full name is Project Code Confidence. AWS describes it as a mix of large language models and automated reasoning, a branch of computer science that uses logic and math to prove whether software behaves correctly.

The announcement was written by Marc Brooker, an AWS vice president and distinguished engineer, and Soonho Kong, a principal applied scientist. Their framing is direct: the most advanced AI models still miss certain rare bugs, and math can catch what they cannot.

Why Rare Bugs Matter More Now

AI coding agents now write a huge share of new software. According to AWS, even mistakes that happen once in a million cases start showing up hundreds of times when companies ship billions of lines of code a day.

Large distributed systems make this worse. They have so many moving parts and possible orderings of events that normal testing cannot cover them all, which is exactly where hidden bugs live.

How Project C2 Finds Hidden Bugs

Based on AWS’s description and outside coverage, the system works in a few clear steps:

  1. It reads the code and its documentation to understand what the software is supposed to do.
  2. It builds mathematical proofs, using tools such as the Lean theorem prover, to check whether the code holds up in every possible scenario.
  3. When a proof fails, it writes a real-world test to confirm the bug actually exists.
  4. It rates how severe the bug is and suggests a fix for developers.

That third step is the important one. Instead of flooding developers with theoretical warnings, Project C2 tries to show a working failure before it reports anything.

What the Open Source Tests Turned Up

AWS tested the approach on 22 widely used open source projects. Beyond the headline count, reported examples show the kind of bugs it surfaced:

Project typeReported finding
Rust profiling libraryNine separate bugs in a widely used library
In-memory databaseSeveral data-loss risks
Raft-based key-value store used in paymentsA lease-revocation bug that could charge customers twice
All 22 projects combinedOver 800 bugs, with fixes shared with maintainers

The double-charge case is a good example of why this matters. It is the kind of bug that rarely appears in testing but can cost real money once a system handles millions of payments.

This fits a wider trend of AI finding flaws people overlooked. In November a researcher using Claude reported over 100 flaws in UK government code, and security teams keep adding AI threat detection to their workflows.

Who Can Use Project C2 and When

AWS says it is opening Project C2 to select customers first and plans to widen access over time. Interested developers can apply for early access, and AWS did not share pricing.

AWS will also use the system on its own services, including Amazon Aurora, DynamoDB and Elastic Block Store. That is a strong signal of confidence, since those services sit under a large share of the internet.

Project C2 arrived next to other developer news at the same keynote, including shared Kiro Crews for team coding agents and a revamped AWS Amplify for launching apps quickly. You can follow the rest of the event in our AI news coverage.

What This Means for You

If your team leans on AI coding agents, Project C2 points at a real gap: generating code is easy, but proving it is safe is hard. A few practical takeaways:

  • If you maintain popular open source code, watch for fix suggestions from AWS, since it says it shared findings with maintainers.
  • Teams running payment, storage or distributed systems are the best fit to apply for early access.
  • Do not treat any single tool as proof your code is bug-free; keep code review and tests in place.
  • Expect more vendors to pair AI with formal verification as AI-written code keeps growing.

Sources

Primary source: Amazon’s Project C2 announcement. Additional reporting from SiliconANGLE and Amazon’s re:Invent news briefing.

Conclusion

Project C2 is AWS’s answer to a problem that grows as AI writes more code: rare bugs that slip past both people and models. By pairing language models with math proofs and then confirming each failure with a real test, AWS says it found over 800 bugs in 22 open source projects. Access is limited for now, and outside results will matter more than launch-day claims. Still, using it on Aurora and DynamoDB shows AWS is betting heavily on proof-backed code checks.

Newsletter

New AI tools in your inbox

The best new tools and the AI news that matters, in one short email. Unsubscribe any time.

Free · No spam · Unsubscribe any time

✓ Looks like you’re subscribed

Loading Google’s sign-up form…

Looks like you’re already subscribed

Thanks for reading! New AI tools and the AI news that matters will land in your inbox.

Not subscribed yet? Refresh the page to load the sign-up form.

The sign-up form couldn’t load. If you use an ad or content blocker, allow news.google.com and reload the page.

Free instant check before you pay. Takes a few seconds.

Scroll to Top