Amazon Web Services says it has built a bug finder that caught more than 800 flaws in 22 widely used open-source codebases, and it is now offering the tool to a limited group of customers. The system, called Project Code Confidence (Project C2), combines language models with a branch of computer science known as automated reasoning. Marc Brooker, an AWS vice president and distinguished engineer, and Soonho Kong, a principal applied scientist, described it in a post on About Amazon on 1 December 2026.

Every figure in that post is Amazon’s own. It names no outside auditor, and it does not say how many of the 800 reports maintainers have accepted or fixed.

Automated reasoning sounds forbidding, but the idea is plain. Instead of running a program many times and hoping to trigger a failure, the software uses mathematical logic to show that something always holds, or to find the case where it does not. AWS says the tool reads the code and its documentation, builds a picture of what the software should do, and then tries to prove the real code matches that picture. When the two disagree, either the picture was wrong and gets revised, or a real bug has turned up.

The target is a specific class of defect: race conditions and thread-safety errors, where the outcome depends on the order in which events happen. AWS argues that no person and no current model can check every order. A single round of the Paxos agreement protocol among three machines can unfold in more than 90,000 sequences, and the count grows exponentially once dropped packets and retries are allowed. The company says even frontier models struggle to diagnose these flaws. Its answer is to have a model write a proof, checked with the Lean theorem prover, that covers every ordering without testing each one.

Once a candidate bug appears, the tool builds a test that triggers it in the real code, rates severity, and drafts a fix that it also tests. AWS says it sent maintainers reproductions and tested patches. One example involves an in-memory database that clears its error flag after a retry succeeds, even though the retry only confirms newer data reached disk, so a reboot could lose earlier writes. Another involves a distributed key-value store whose old leader keeps revoking leases after a new leader has taken over, which AWS says could leave a cluster with two payment processors and double-charge customers.

The scale argument is the business case. AWS says a one-in-a-million error was firing a few times a second on its platform in 2015, and now fires thousands of times a second. It expects autonomous agents to push that higher. The company also says these bugs cluster in error-handling code, the paths that run least often and matter most when something breaks.

The skeptical reading is straightforward. The 800-bug count, the claim that similar flaws appeared in nearly all of the hundreds of codebases scanned, and the claim that other tools miss these cases all come from the vendor. The post gives no severity breakdown, no false-positive rate, and no pricing, and it compares the approach to other tools only in general terms. AWS is also using the tool on its own Aurora, DynamoDB, and EBS services, which makes it both a product and an internal quality program.

For teams that run concurrent or distributed code, the useful test is cheap to describe. Point any tool like this at your own error-handling paths, and judge it by how many reported bugs come with a failing test you can run.

Reported by Amazon (About Amazon), by Marc Brooker and Soonho Kong, on 1 December 2026.