AWS says its new tool finds the bugs the best AI models miss
AWS on Monday announced Project C2, a service that uses large language models to write mathematical proofs about code in
Amazon Web Services (AWS) unveiled Project C2 on Monday, a service leveraging large language models to generate mathematical proofs about code, aiming to uncover bugs that even the most advanced AI models may overlook. C2, or Code Confidence, has already identified more than 800 bugs across 22 popular open-source projects. The system is currently being tested on AWS services like Amazon Aurora, DynamoDB, and Elastic Block Store (EBS), with limited access granted to select customers.
AWS Distinguished Engineer Marc Brooker and Principal Applied Scientist Soonho Kong, who previously worked on the Lean theorem prover at Microsoft Research, explain that due to the vast number of potential execution orders in distributed systems, a single round of agreement between machines may involve over 90,000 different sequences, making manual verification infeasible.
C2 begins by analyzing a project's code and documentation to understand its intended functionality, then attempts to prove that the code behaves as expected. Should a proof fail, C2 either refines its comprehension of the system or flags a bug. It subsequently writes a test to reproduce the bug, rates its severity, and proposes a fix, which it also proves to be correct.
While some recent AI bug-finding tools focus on security, C2 targets a different issue—reliability bugs that commonly reside in error and failure handling code. Unlike testing, which covers only the executed paths, C2's proofs consider all potential orderings, offering a comprehensive approach. AWS emphasizes that while security scanners like Anthropic’s Claude Security and OpenAI’s Codex Security excel at faster reasoning, C2 focuses on a distinct problem class.
The company argues that proofs surpass simulated testing by encompassing the entire spectrum of possible execution paths.
Rewritten by urgent.news; may contain errors — check the original.
Source: thenewstack.io