Amazon's new bug finder uses math to catch rare flaws that AI tools miss

Amazon Web Services' Project C2 checks code with mathematical proofs as well as AI. It found rare bugs in 22 popular free software projects, and a few customers can now try it.

Amazon Web Services graphic for its work combining AI with mathematical reasoning.
Image: Amazon

The short version

  • On 30 November 2026, Amazon Web Services said its new bug finder, Project C2, found over 800 bugs in 22 popular free software projects using AI and math.
  • Project C2 targets rare bugs that appear only under unusual timing or failures. AWS says even the most advanced AI models miss them.
  • A limited number of customers can now try Project C2, and AWS plans to open it more widely over time.
Lines of program code on a computer monitor.
Photo: Markus Spiske, Unsplash via Wikimedia Commons, CC0

What did AWS announce?

Amazon Web Services (AWS) described Project C2, short for Project Code Confidence, in a post on Amazon's news site on 30 November 2026. It was written by AWS engineers Marc Brooker and Soonho Kong.

Project C2 combines AI with automated reasoning. Automated reasoning uses mathematical logic to prove whether a system behaves the way it should.

AWS tested the approach on 22 popular pieces of free, open source software. It found over 800 bugs. AWS says it shared fixes with the people who maintain those projects. It is also using Project C2 on some of its own core services, such as its Aurora database.

AWS is now opening Project C2 to a limited number of customers. It says you don't need to be an expert in AI or in automated reasoning to use it.

Why do AI tools miss these bugs?

Project C2 targets a kind of bug that depends on timing. These bugs appear only when events happen in one rare order, such as a message arriving late or a machine failing at the wrong moment.

AWS gives a sense of the scale. When three machines agree on a single value using a common method called Paxos, the messages can arrive in over 90,000 different orders. Add lost or repeated messages and the number grows fast.

No person or AI model can check all of those orders one by one. AWS says even the most advanced AI models can't find and fix these bugs for that reason. A mathematical proof can cover every possible order at once, the way a proof about triangles covers every triangle.

At AWS's size, rare errors happen often. AWS says that back in 2015 it saw a one-in-a-million error happen a few times a second across its cloud. Today, such errors happen thousands of times a second.

AWS also found that these bugs cluster in the code that handles errors and failures. That code runs rarely. When it does run, the whole system depends on it.

How does Project C2 work?

Project C2 first reads the code and its documents to work out what the system is supposed to do. Then it tries to prove the system really does that.

If the proof fails, one of two things is true. Either Project C2 misunderstood the intent, so it tries again. Or it has found a real bug. When it finds one, it writes a test that makes the bug happen, so a person can see it is real. It then rates how serious the bug is. Last, it writes a fix and checks the fix too.

AWS gives two examples. In one widely used database, a retry could wrongly clear an error flag after a failed save to disk. After a restart, important data could be lost.

The second was in a widely used system that helps many computers stay in step. An old leader computer could keep acting on stale information. AWS says that could leave a cluster with two payment processors instead of one, and customers charged twice.

What does this mean for companies in Indonesia?

Indonesia's banks and online marketplaces run on systems spread across many computers. The bugs AWS describes can charge customers twice or lose data. They are also hard to find and fix.

Most testing tools look for known patterns, or rely on an AI's judgment. AWS argues that neither covers rare timing bugs well. Project C2 is a new option for the most critical code, though access is limited for now.

This also matters as more teams let AI write code. AI tools are getting better at fixing known security flaws, as we covered in our piece on AI fixing 2 in 3 security flaws on a single try. Timing bugs need a different kind of check.

What to do

  • Ask your engineering lead which systems would hurt most if they double-charged a customer or lost data.
  • Check how those systems are tested when a server fails or a message arrives late.
  • If you run critical systems on AWS, consider asking for early access to Project C2.
  • Watch for AWS's promised additions over the coming months, such as automated checks that old bugs haven't come back.

Questions

What is AWS Project C2?

Project C2, or Project Code Confidence, is a bug finder from Amazon Web Services that combines AI with mathematical proof. AWS says it found over 800 bugs in 22 popular open source projects.

What is automated reasoning?

Automated reasoning is a field of computer science that uses mathematical logic to prove whether a system behaves the way it should. It can cover every possible case without testing each one.

Can companies use Project C2 now?

Only a limited number of customers for now. AWS says it plans to open access more widely as it brings companies on board.

Sources

  1. 01 · Amazon (About Amazon) · 2026-11-30

Keep reading

  1. Analysis

    Indonesian payroll software maker Mekari goes offline after a cyberattack

  2. Research

    AI coding tools finished fewer than 8% of jobs inside a mock company

  3. Research

    When AI assistants wreck a database, your backup settings decide the damage