Amazon Web Services (AWS) has introduced a new artificial intelligence-powered software analysis system called Project Code Confidence, or Project C2, claiming it has identified more than 800 bugs across 22 popular open-source software projects. Announced on November 30, 2026, at the AWS re:Invent conference in Las Vegas, the technology combines large language models (LLMs) with mathematical reasoning techniques to identify complex software errors that conventional testing tools and advanced AI models can miss.

The launch comes as businesses increasingly rely on AI coding agents to generate and modify large amounts of software. AWS argues that faster code production also increases the risk of subtle programming errors, particularly in complex systems involving multiple processors, simultaneous operations and distributed infrastructure. Project C2 is designed to address this challenge by using mathematical proofs to examine how software behaves under different conditions, rather than relying exclusively on an AI model’s judgment.

What Is AWS Project Code Confidence?

Project Code Confidence, abbreviated as Project C2, is an automated software bug-detection service developed by AWS.

Its primary purpose is to identify errors in existing code, particularly problems that are difficult to discover through conventional software testing.

AWS says the system combines two technologies:

  • Large language models: AI models that read source code, understand programming logic and interpret technical documentation.
  • Automated reasoning: Mathematical techniques that use formal logic and proofs to analyse whether software behaves as intended.

The combination is designed to address a limitation of conventional AI coding tools. An LLM can inspect a program and suggest where a problem might exist, but its conclusions are not necessarily mathematically verified.

Project C2 attempts to go further by building a formal understanding of what the software is supposed to do and checking whether its actual implementation satisfies that expectation.

AWS says it has already tested the approach across 22 popular open-source projects, discovering more than 800 bugs. The company also said it shared fixes with the maintainers of the affected projects.

The findings include complex race conditions, thread-safety problems and errors in distributed systems.

How Project C2 Finds Bugs That AI Models Miss

Project C2 follows a process that combines AI-based code understanding with mathematical verification.

Rather than simply scanning source code for suspicious patterns, the system attempts to understand the intended behaviour of the software and identify situations in which the implementation might violate that behaviour.

Its process involves several stages.

1. Understanding the code and its intended behaviour

The system first examines the source code and supporting documentation to understand how a particular software component is expected to operate.

This gives it a reference point against which the actual implementation can be evaluated.

2. Building mathematical proofs

Project C2 then uses automated reasoning to analyse whether the software behaves as intended.

AWS says the approach uses tools including the Lean theorem prover, which can check mathematical statements and formal proofs.

The objective is to reason about a large number of possible execution sequences, including situations involving simultaneous operations, unexpected failures and changes in system state.

3. Confirming suspected bugs with tests

When the system identifies a mismatch between the expected and actual behaviour, it does not automatically assume that a bug exists.

It first considers whether its understanding of the software’s intended behaviour could be incorrect.

If the mismatch appears genuine, Project C2 generates a test designed to reproduce the problem in the actual implementation.

This step helps distinguish a real software error from an incorrect assumption made during analysis.

4. Developing and testing a fix

After confirming a bug, the system assesses its severity and works on a potential correction.

AWS says Project C2 can develop and test fixes and even attempt to prove that the proposed correction is valid.

This creates a broader workflow than conventional bug detection, potentially helping developers move from identifying an error to validating a solution.

What Types of Software Bugs Has AWS Discovered?

AWS reported finding more than 800 bugs across 22 open-source projects. The company highlighted several examples to explain the types of problems its system can identify.

Thread-safety problems in Rust software

One example involved a popular performance-profiling library used by developers in the Rust programming ecosystem.

AWS said Project C2 identified nine local thread-safety bugs in the library.

One of the problems could cause a reporting thread to panic, potentially resulting in subsequent data being lost.

Thread-safety issues occur when multiple threads access shared resources in ways that can produce unexpected behaviour.

These errors can be difficult to reproduce because they may depend on the precise timing and order in which different operations execute.

Data-loss risks in an open-source database

Another example involved an in-memory database that uses a log to preserve information after a system restart.

The database was designed to stop accepting further writes if the operating system reported that information had not been safely written to storage.

AWS identified a problem involving the handling of a failed write operation and a subsequent retry. Under certain conditions, the system could incorrectly clear an error state even though previously written information was not guaranteed to be safely stored.

Such an error could create a risk of data loss following a reboot.

Distributed-system errors involving leadership changes

AWS also described a problem involving a distributed system that uses a leader to manage expiring leases.

The system could continue processing a batch of leases even after the original leader had lost its leadership status.

A replacement leader might have already assigned those leases to new owners. The previous leader could then revoke leases using outdated information.

In a payment-processing environment, a similar failure could potentially allow two systems to believe they have authority to process the same transaction, creating risks such as duplicate charges.

These examples demonstrate why timing, concurrency and failure-handling logic are important areas for automated software analysis.

Why AWS Says Traditional AI Coding Tools Are Not Enough

AI coding assistants have made software development faster by generating code, suggesting corrections and automating repetitive programming tasks.

However, generating code and proving that code behaves correctly are two different challenges.

Traditional static-analysis tools generally look for known patterns, suspicious code structures and predefined rules. AI-based code reviewers use models to interpret code and identify potential weaknesses.

Both approaches are useful, but neither necessarily explores every possible execution sequence in a complex distributed application.

This becomes particularly challenging when software contains multiple threads, independent services and failure-recovery mechanisms.

A bug may only appear when several events happen in a particular order. Ordinary tests may never reproduce that sequence, even if the error exists in the code.

AWS argues that mathematical reasoning can help address this problem by proving properties across large numbers of possible execution orders rather than simply testing a limited collection of scenarios.

The company also stressed that the bugs identified by Project C2 are primarily reliability and correctness problems. They are not necessarily security vulnerabilities that allow attackers to steal information or compromise systems.

Nevertheless, reliability failures can have serious consequences, including data loss, service interruptions and incorrect transactions.

Project C2 Will Initially Be Available to Select Customers

AWS is opening Project C2 to a limited group of customers, with plans to expand access over time.

The company says developers do not need specialist expertise in artificial intelligence or automated reasoning to use the service.

According to AWS Chief Marketing Officer Julia White, developers can provide a link to their code repository and a short description of the types of bugs they want to identify. Project C2 then handles the analysis.

The system is intended to work with individual software libraries as well as larger distributed applications.

AWS is also applying the underlying technology internally to important infrastructure services, including:

  • Amazon Aurora
  • Amazon DynamoDB
  • Amazon Elastic Block Store (EBS)

These services support databases, storage and business-critical workloads used by AWS customers.

The company says improving their reliability is an important application of the same automated reasoning techniques.

AWS has not announced a general availability date or detailed public pricing for Project C2.

Project C2 Enters a Growing AI Software Security Market

The launch places AWS in a rapidly developing market for AI-powered software analysis and security tools.

Companies are increasingly building systems that can inspect code, identify vulnerabilities, suggest patches and automate parts of the development process.

Anthropic’s Mythos-related security work has also drawn attention to the ability of advanced AI systems to discover complex software vulnerabilities. However, security vulnerability discovery and the reliability-focused bug detection described by AWS are not identical tasks.

Project C2’s approach is distinctive because it combines language models with formal reasoning to examine whether software implementation matches its intended behaviour.

The development also reflects a broader change in software engineering. As AI agents generate more code, businesses need stronger ways to verify that the resulting applications remain reliable.

The Bigger Picture

AWS is positioning Project C2 as a way to improve software reliability in an era when AI coding agents are increasing the volume and speed of code production. Finding more than 800 bugs across 22 open-source projects provides an initial demonstration of the system’s potential, particularly in areas where conventional testing struggles with concurrency and rare failure conditions. However, these results are based on AWS’s own testing and have not yet established independent performance benchmarks across a broad range of customer environments.

The technology’s long-term value will depend on whether developers and open-source maintainers independently confirm its findings. False-positive rates, the quality of generated fixes, processing costs and integration with existing development workflows will all matter. If Project C2 can consistently identify real errors and produce reliable corrections, mathematical verification could become an important part of modern AI-assisted software development.

Looking Ahead

AWS plans to expand access to Project C2 beyond its initial group of selected customers. Its ability to analyse everything from individual libraries to distributed systems could make it useful for organisations operating complex applications, databases and cloud infrastructure. The company is also expected to continue developing its automated reasoning capabilities for additional bug-detection and regression-testing tasks.

For the wider technology industry, Project C2 highlights a growing shift from simply generating software faster to proving that software works correctly. As businesses deploy more AI-generated code, the ability to detect rare errors before they affect production systems could become a major competitive advantage. AWS will need to demonstrate that its early results translate into dependable performance for customers before Project Code Confidence becomes a standard tool in software engineering.

Get the day’s top stories in your inbox

One concise email. No spam, unsubscribe anytime.