Itdaily - AWS finds more than 800 bugs in 22 open source projects with Project C2

AWS finds more than 800 bugs in 22 open source projects with Project C2

AWS logo in blue 3D letters with Amazon's yellow arrow on a dusty glass wall.
Image: Sundry Photography/Shutterstock

AWS is opening Project C2 to a limited number of customers. The service combines language models with automated reasoning and found more than 800 bugs in 22 popular open source projects during tests.

Project C2, short for Project Code Confidence, looks for errors that rarely occur but can have serious consequences, such as race conditions and thread safety problems. AWS announced the service at its conference re:Invent in Las Vegas. According to AWS, the consequences of such bugs range from a few lost bits of data to a system going completely offline.

Marc Brooker, Distinguished Engineer and vice president at AWS, and Soonho Kong, Principal Applied Scientist, outline the scale. In 2015, AWS saw a one-in-a-million error occur a few times per second. Today that happens thousands of times per second.

How Project C2 works

Project C2 reads the code and the documentation and derives from them what a system is supposed to do. It then tries to prove that the implementation behaves accordingly, using the Lean theorem prover, among other tools. When it finds a discrepancy, it first adjusts its own interpretation or builds a test that reproduces the bug in the actual code. It assesses the severity and proposes a tested fix.

According to AWS, a language model alone misses such errors, because distributed systems have too many possible orderings of events. A proof covers all orderings without trying them one by one. A single round of deliberation in the Paxos protocol between three machines can already play out in more than 90,000 ways.

In a popular open source in-memory database, Project C2 found a background process that clears an error flag as soon as a second attempt to write to disk succeeds, even though the data from the failed first attempt is then not guaranteed to be on disk. After a restart, that data may be lost. In a Rust library for performance profiling, it found nine bugs related to thread safety. The maintainers each time received a reproduction and a tested patch.

A skill in your own coding tool

Developers give Project C2 a link to their code and one or two sentences about the kind of bugs they are looking for, said Julia White, Chief Marketing Officer of AWS.

Project C2 runs as a skill in the developer’s coding tool, so the code stays where it is. AWS is first admitting a select group of customers, “frankly because it is so powerful,” White said.

Shared Kiro Crew and new Amplify

AWS is making Kiro Crew, its open source working environment for AI agents that write code, shareable for teams. The team then shares the memory, skills and planning of a single crew, and a correction by one developer becomes a skill for everyone. Such a crew can review every pull request or update dependencies, under its own identity and with its own budget.

The new AWS Amplify sets up hosting and a backend with a database and user sign-in with a single command, after which an app is live within a minute. Amplify works with coding agents such as Kiro, Claude Code, Codex and Cursor. One fixed monthly fee covers hosting and backend for the whole team, and the Basic plan is free with no time limit.

AWS is gradually expanding access to Project C2. In the coming months, it wants to bring more automated reasoning techniques to programming, from bug detection to regression tests.