Thursday, December 3, 2026

Top 5 This Week

Related Posts

Project C2: Amazon combines AI and mathematical proofs to ferret out rare bugs that code wizards miss, with more than 800 found in testing


Some bugs only appear once in a million, when two operations intersect in a precise order that no one had anticipated. They’re also the hardest to find, for both developers and AI-based programming assistants. They are the ones who are attacked Project C2for Project Code Confidence, unveiled by Amazon Web Services (AWS) on November 30, 2026on the first evening of its annual re:Invent conference in Las Vegas.

Bugs that only occur once in a million

Modern software does several things at once: several threads of execution (tasks carried out in parallel by the same program) or several machines work simultaneously on the same data. Depending on the exact order in which their operations are sequenced, the result may change. When a particular order produces an error, we speak of concurrency bugor “competitive situation”.

The problem is combinatorial. In a post signed by Marc Brooker, vice-president and emeritus engineer at AWS, and Soonho Kong, principal researcher, Amazon takes the example of Paxos, a classic protocol which allows several servers to agree: a single round of exchanges between three machines can take place according to more than 90,000 different orders. It’s impossible to test them all by hand, and traditional automatic tests only cover a small part. The two authors also note that these bugs are concentrated in the code that handles errors and failures, precisely the one that executes the least often.

The tool combines two approaches that have long remained separate. On the one hand, language modelsable to read code and documentation like a developer would. On the other, the automated reasoninga branch of computer science that uses mathematical logic to demonstrate whether or not a program respects a property. AWS calls it “neurosymbolic” AI.

The process described by Amazon takes place in several stages:

  1. the tool reads the code and its documentation to understand what the system is supposed to do;
  2. he tries to provewith the Lean proof assistant, that the program behaves correctly in all possible execution orders, without having to try them one by one;
  3. if the proof fails, either his understanding of the expected behavior was wrong and he starts again, or he found a real bug;
  4. he then writes a test which reproduces the problem on the real software, assesses its severity, then proposes a fix, which he tests and whose validity he can prove.

It is this last point which makes the difference claimed by AWS: each alert is accompanied by a test that the developer can launch himself to note the bug, which limits the risk of wasting time on a false lead.

Three examples of bugs found

AWS claims to have tested Project C2 on 22 popular free software and having found more than 800 bugs. The company does not publish the list of affected projects, but describes three cases.

Software analyzed Bug described by AWS Possible consequence
Performance measurement library, popular in Rust Nine thread security bugs Report thread crashes and subsequent data is lost
In-Memory Database A write error flag cleared too soon after a second successful attempt Loss of critical data after a reboot
Distributed key-value storage based on the Raft protocol A server who is no longer a chef can still revoke permissions Two active payment processes instead of one, therefore customers charged twice

The second example illustrates the subtlety involved. When the disk write fails, the database raises an error flag and refuses subsequent writes. But a background process tries again, and clears the flag as soon as its attempt succeeds. However, this success only means that the data arrivals after the failure are on the disk, not those from the first attempt. Nothing appears, until a reboot reveals that some of the data has disappeared.

Amazon specifies that these defects are not security flaws exploitable by hackers, but reliability errors, the effects of which range from a few lost data to the complete shutdown of a system.

Two ways to check for bugs

Classic Code Wizards

  • Read the code and spot possible errors
  • Fast, but may miss rare cases
  • Judgment of the model, without formal guarantee

Project C2 approach

  • Attempts to prove correct operation in all possible orders
  • Provides a test that reproduces every bug
  • Offers a tested, sometimes proven fix

Why Code Wizards Are Not Enough

Current detection tools rely either on known patternssuch as code analyzers and security scanners, either on the raw judgment of an AI modelsuch as proofreading assistants and scheduling agents. For the authors of the post, this second family reaches its limits when faced with distributed systems: even with the most advanced models, the agents would not be able to diagnose and correct the problems caused by these subtle bugs.

However, AWS does not cite any competing models and does not publish any comparative measurements to support this claim. The argument, however, speaks to a growing concern in the industry: as AI writes an increasing share of the code, verification becomes the real bottleneck. Anthropic noted this at the end of November by recounting Claude’s rewriting of its API, followed by five months of verification.

Who can use it, and at what cost?

For the moment, very few people. Project C2 is offered in limited preview, by invitation: Interested companies must submit an application to AWS, which plans to expand access gradually. The tool today covers concurrency bugs in “popular programming languages”, without the list being specified, and other categories of bugs are announced “soon”.

No price or general availability date has been communicated. AWS says it internally applies the method to several of its own services, including the DynamoDB database and EBS block storage, and claims to have run it on hundreds of code bases, finding similar bugs in almost all of them.

Mathematical proof, a new ally of programming AI

Project C2 is part of a broader movement: the association of language models, creative but fallible, with formal proof tools, slow but infallible on what they demonstrate. Lean, the proof assistant used by AWS, is already used by Google DeepMind to have the machine verify quantum algorithms discovered by its agents.

For free software publishers, often maintained by volunteers, the arrival of tools capable of producing hundreds of bug reports at a time is double-edged: it can improve the quality of bricks used everywhere, but also overwhelm small teams. The fact that AWS attaches a reproducible test and a previously tested fix to each report goes in the right direction. It remains to be seen how many of these corrections will actually be integrated, and whether the results hold when the tool leaves the restricted circle of its first users.

Frequently asked questions

What is AWS Project C2?

Project C2, for Project Code Confidence, is a tool presented by Amazon Web Services on November 30, 2026. It combines language models and mathematical proofs performed with the Lean Assistant to detect rare bugs, especially concurrency bugs. For each issue, it provides a reproduction test, a severity rating, and a suggested fix.

What is a concurrency bug?

It is an error that only appears when several tasks or several machines act on the same data at the same time, in a particular order. Since this order is rare, the bug may remain invisible for months and then cause data loss or an outage. These defects are known to be among the most difficult to reproduce and correct.

How do I access Project C2 and how much does it cost?

Project C2 is in limited preview: businesses must request an invitation via the dedicated page on the AWS site, and access is granted to a small number of customers. Amazon has not communicated pricing or general availability date, and does not yet specify which programming languages ​​are supported.

Are the 800 bugs found by AWS security flaws?

No, according to Amazon. These are reliability errors, not vulnerabilities exploitable by hackers. Their effects range from the loss of a few data to the shutdown of an entire system, or even double debit in a payment service. AWS claims to have sent tested patches to the maintainers of the 22 free software concerned.

Sources

References consulted for the writing of this article. The addresses are provided for information purposes only and are not links.

  1. Amazon, Project C2: new AWS technique spots the rare bugs the most advanced models miss, November 30, 2026www.aboutamazon.com/news/aws/aws-project-c2-finds-bugs-ai-models-miss
  2. AWS, Project Code Confidence (C2) overview and registration pageaws.amazon.com/ai/agentic-ai/c2
  3. The Next Web, AWS launches Project C2 to catch software bugs that AI models miss, December 1, 2026thenextweb.com/news/aws-project-c2-ai-bug-finder

Report an error or inaccuracy in this article

Shredder Smith
Shredder Smith
Shredder Smith is the lead curator and digital persona behind topaitools4you.com, an AI directory dedicated to "shredding" through industry hype to identify high-utility software for everyday users. Smith positions himself as a blunt, no-nonsense reviewer who vets thousands of emerging applications to filter out overpriced "wrappers" in favor of tools that offer genuine ROI and practical productivity. The site serves as a watchdog for the AI gold rush, providing categorized rankings and transparent reviews designed to help small businesses and creators navigate the crowded tech landscape without wasting money on low-value tools.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Popular Articles