AWS unveils Project C2 at re:Invent to find concurrency bugs in distributed systems

Editorial illustration: Cyan and orange streams meet at a cracked mechanical junction, with a large lens assembly showing an enlarged view of the collision.

In brief

  • Project C2 (Project Code Confidence) debuted at AWS re:Invent in Las Vegas on November 30.
  • Project C2 pairs large language models with automated reasoning built on mathematical logic and formal proofs.
  • Race conditions, thread-safety problems and TOCTOU vulnerabilities in distributed systems are its main targets.
  • AWS says internal tests on 22 open-source projects found more than 800 bugs.
  • Access is limited to a small customer group, and AWS hasn't dated a broader release.

What Project C2 looks for

AWS named three bug categories the tool is built around: race conditions, thread-safety problems and time-of-check-to-time-of-use (TOCTOU) vulnerabilities. They're the rare, hard-to-reproduce kind. A race condition happens when a program's outcome depends on which of two operations finishes first, while thread-safety issues come up when multiple processes touch shared data without proper coordination. A TOCTOU flaw is subtler (a system checks something, acts on it, and the underlying situation changes between those two steps).

Crypto Briefing reported that this class of bugs tends to slip past even advanced AI systems. The publication pointed to method: language models are probabilistic, while automated reasoning uses formal logic to establish whether something is true under defined conditions.

Project C2 uses both.

How it works, and what AWS says it found

The customer side is short. Users submit a link to their code along with a one- or two-sentence description of the bug they suspect, and the system handles the rest.

AWS says it's already run the technology internally across 22 popular open-source projects, turning up more than 800 bugs. The company says it shared fixes with those projects' maintainers. These are AWS's own numbers.

It gave two examples. In one in-memory database, AWS said Project C2 flagged critical bugs that could potentially cause data loss when the system reboots. In a Raft-based distributed key-value store, the tool found errors that AWS said might lead to unintended behavior across the cluster.

Limited rollout for now

AWS is rolling Project C2 out to a limited group of customers, with a broader release expected in the near future. It hasn't put a date on that wider launch.

The tool doesn't stand alone. It's part of a larger AWS push into agentic AI and reliability tooling, and the company paired it with other recent launches aimed at observability and DevOps.

Frequently asked questions

What kinds of bugs is AWS Project C2 designed to find?

AWS named three categories: race conditions, thread-safety problems and time-of-check-to-time-of-use (TOCTOU) vulnerabilities. They tend to be rare and hard to reproduce, and AWS said the tool is aimed at distributed and concurrent systems.

How does Project C2 differ from other AI code review tools?

Project C2 combines large language models with automated reasoning, which relies on mathematical logic and formal proofs. Crypto Briefing noted that language models are probabilistic, while automated reasoning uses formal logic to establish whether something is true under defined conditions.

What results has AWS reported from testing Project C2?

AWS said it ran the technology internally across 22 popular open-source projects and found more than 800 bugs, sharing fixes with maintainers. These figures come from AWS itself. Its examples included bugs in an in-memory database that could potentially cause data loss on reboot.

Who can use Project C2 right now?

AWS is rolling Project C2 out to a limited group of customers. It said a broader release is expected in the near future but hasn't given a date.