# AWS Project C2: how to test code with automated reasoning

> AWS Project C2 pairs LLMs with automated reasoning to find, reproduce and patch bugs. Here is how teams can prepare to use it.

- Published: 2026-12-03
- Topic: [AI](https://futuretechnologyhq.com/topic/ai/)
- URL: https://futuretechnologyhq.com/article/aws-project-c2-how-to-test-code-with-automated-reasoning/
- Publisher: [Future Technology HQ](https://futuretechnologyhq.com/), free to read. Quote as "Future Technology HQ" with a link to the article.

## Key points

- Project C2 reads code and documentation, checks implementation against intent, then writes a reproducing test, rates severity and proves a patch
- It targets concurrency bugs, where too many execution orders exist for models to try one by one
- Access is limited for now, so teams should prepare codebases and documentation before it widens
- A mismatch can mean a bug or a wrong statement of intent, so human review of the intent stays essential

## Article

After reading this, you will know how to prepare a codebase and a team for AWS's Project C2, and how its find, reproduce and prove workflow differs from asking a language model to review your code.

AWS detailed Project Code Confidence, or Project C2, at its re:Invent conference in Las Vegas this week. The system uses automated reasoning, which applies mathematical formulas to prove accuracy, alongside large language models (LLMs). AWS says it will "find bugs that even the most advanced AI models aren't finding." That claim is AWS's own and untested by outsiders, but the design is worth understanding because it answers a problem defenders now face.

The problem is volume. AI agents have already surfaced serious flaws: independent researchers found a critical vulnerability in PHP in October, and the following month found vulnerabilities in Java. Cyber-capable models such as Anthropic's Mythos family find problems in a shorter span of time, which has prompted fears of a "vulncolypse" overwhelming defenders. Our reporting on [PHP2Shell](/article/php2shell-exploited-before-patch/) and [Java4Shell](/article/java4shell-cve-2026-114938-an-ai-agent-found-it-in-three/) shows how quickly that pressure arrives.

## What you need before starting

Project C2 is not generally available. AWS says it is offered to a limited number of customers and will be expanded soon, and that it will mainly be skills users deploy into their own codebases.

- **An AWS relationship.** Ask your account team about access and the expansion timeline.
- **A place to review generated tests and patches.** C2 generates tests and patches, and those need somewhere to run and be reviewed.
- **A named reviewer.** Someone who understands the intended behaviour must judge the output.

## Step-by-step process

### Step 1: Get the documentation into shape (two to five days)

Cami Novelli-Killen, director of product in AWS's automated reasoning group, told reporters that C2 builds its understanding from the code plus supporting documentation. Gather design documents, API specifications and comments that state what each component promises. Where the only record of intent is in someone's head, write it down. This is the input the tool treats as truth.

### Step 2: Rank your concurrency-heavy code (one day)

AWS says C2 is optimised for concurrency issues, which "run deep in the code and often in paths that require multiple steps." List the components where threads, queues, locks, retries or shared state interact: payment flows, schedulers, caches, message handling. Start there rather than with the whole estate.

### Step 3: Understand what C2 does with your code

The sequence matters for planning review. C2 reads the code and documentation, builds a picture of intended behaviour, then uses automated reasoning to try to prove the implementation does what it should. If it finds a mismatch, Novelli-Killen said one of two things is true: the stated intent is mistaken and the AI loops around again, or C2 has found a bug.

For a real bug, C2 generates a test that reproduces it, rates the severity, then develops and tests a patch. AWS says it also proves the fix is correct.

### Step 4: Decide how outputs will be reviewed (half a day)

Agree in advance who approves a patch, where reproducing tests live, and how severity ratings feed your existing triage. Treat the reproducing test as the first artefact to inspect: a failing test you can run yourself is easier to trust than a prose finding.

### Step 5: Pilot on one service (one to two weeks once access arrives)

Run C2 on a single concurrency-heavy service. Compare its findings against what your current static analysis, fuzzing and any LLM-based review already catch. Record bugs only C2 found, and any it flagged that turned out to be wrong statements of intent.

## Common mistakes to avoid

- **Expecting exhaustive coverage of everything.** The tool is described as optimised for concurrency; do not assume it replaces other testing.
- **Merging patches because they are "proved".** C2 checks code against the intent it builds from your code and documentation, and that intent can be mistaken.
- **Waiting for general availability to start.** Documentation and test hygiene take weeks and are useful regardless.

## Tips that make a difference

AWS explains why the approach scales: it creates "a model-written proof of what can happen under every possible order." The company's analogy is that you can know a proof of Pythagoras's theorem is correct without trying every possible triangle.

For agent controls, see our [10 point AI agent security check](/article/ai-agent-security-checklist-10-points/).

## UK position

On governance, the NCSC's guidelines for secure AI system development and the ICO's guidance on AI and data protection are the starting references.

## Next steps

Build a habit of writing specifications, not just code. Follow how rivals respond: our coverage of [GPT-6 Cyber](/article/gpt-6-cyber-what-openai-s-critical-security-model-does/) shows the model-provider approach to the same problem. Track AWS's expansion announcements and request access early.

## Key takeaways

C2 combines LLMs with mathematical proof rather than relying on model judgement alone. It outputs a reproducing test, a severity rating and a proven patch. It is aimed at concurrency bugs and is limited-access today.

## Summary

You now have a plan: document intent, rank concurrency-heavy code, define review ownership and pilot on one service, so that when AWS widens Project C2 access your team can test its claim against your own codebase.

## Sources

- [GovInfoSecurity](https://www.govinfosecurity.com/aws-project-c2-challenges-ai-driven-bug-hunting-a-33574)
- [NCSC, Guidelines for secure AI system development](https://www.ncsc.gov.uk/collection/guidelines-secure-ai-system-development)
- [ICO, Guidance on AI and data protection](https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/artificial-intelligence/guidance-on-ai-and-data-protection/)
- [legislation.gov.uk, UK GDPR Article 32, Security of processing](https://www.legislation.gov.uk/eur/2016/679/article/32)
- [bankinfosecurity.com](https://www.bankinfosecurity.com/aws-project-c2-challenges-ai-driven-bug-hunting-a-33574)
- [nvd.nist.gov](https://nvd.nist.gov/vuln/detail/CVE-2026-114938)
