The Jerusalem PostEU considers new West Bank sanctions over extremist Israeli settler arson attacks, Italian FM saysBollywood HungamaCinépolis India crosses 500-screen milestone; plans to add around 40 screens annuallyBillboardMy Bloody Valentine’s Deb Googe Releases Hypnotic Solo Track ‘The Last One’ For World AIDS DayDaily MaverickSTUDENT FUNDING: NSFAS to leave R2m-a-month Cape Town offices with no new home securedRadio TimesThe Radio Times appFootball ItaliaCardinale: ‘Serie A most compelling in the world right now, more than Premier League’KoimoiEbenezer Box Office: How Johnny Depp’s $38 Million Film Compares With Disney’s $190 Million AdaptationMilliyet MagazinOscar ödüllü oyuncudan acı haber! Michael Caine 93 yaşında hayatını kaybettiMexico News DailyOn 8th anniversary of ‘4T,’ Sheinbaum shares 30 achievements of the political movement: Tuesday’s mañanera recappedTagesschauMilitante israelische Siedler greifen Kirchen im Westjordanland anRai NewsFefè De Giorgi insignito: laurea honoris causa al Foro ItalicokickerLIVE! Drei Tore in 17 Minuten in Kiel - Dresden meldet sich via Handelfmeter zurück
The Daily Newsstand · Free, Always
Tuesday, December 1, 2026

You are reading Joho no Todai on KioskNews: newspapers from many countries on one stand, each linked to its original. What other papers report

AWS Announces Project C2 to Find Concurrency Bugs With AI and Mathematical Proofs

Translate

On November 30, 2026, Amazon Web Services (AWS) announced Project Code Confidence (Project C2), a software verification service.

AWS said it examined 22 widely used open-source projects and found more than 800 bugs. They included race conditions, where the result depends on the order of concurrent operations, and thread-safety issues.

Why are such bugs difficult to find by reading source code alone? AWS used Paxos, an algorithm that lets multiple computers agree on a value, as an example.

Even a single round of consensus among three computers can involve more than 90,000 possible orderings of events such as messages. Packet loss, retries, and duplicate messages make the number larger still.

AWS also found that bugs tended to cluster in error handling and failure recovery paths that are rarely exercised.

Code written to recover from a failure can itself cause another failure. The longer a system runs normally, the easier it is for these bugs to go unnoticed, even though recovery code has to work correctly when it is needed.

AI infers the specification and mathematics checks it

Project C2 uses agents based on large language models (LLMs) to read source code and documentation and infer how a program should behave. It then uses formal verification tools such as the Lean proof assistant to check whether the implementation satisfies the inferred specification.

Project C2 aims to produce proofs that cover multiple execution orders. It expresses behavior and conditions mathematically and attempts a proof over the execution orders under consideration without having to test each one individually.

When it finds a discrepancy, AWS says the system also reconsiders whether the inferred specification was wrong before concluding that the implementation is at fault.

For a finding it classifies as a bug, the system generates a test against the actual program. It assesses severity and proposes and tests a fix. It also attempts to prove the fix correct.

The inferred specification, mathematical proof, and test against executable code serve different purposes. The test gives developers something they can run to examine the outcome of the formal analysis.

AWS Project C2 verification workflow

A successful retry can still leave data at risk

One AWS example involved a widely used open-source database that handles data in memory.

The database records operations in a log so it can recover after a restart and asks the operating system to persist the data. When persistence fails, it enters an error state and rejects subsequent writes.

Project C2 found an issue in how the database interprets a successful retry after a persistence failure. It could resume accepting writes even though earlier writes still lacked a durability guarantee.

AWS says that on systems such as Linux, the success of a retry can guarantee persistence of newer writes without guaranteeing that the earlier data was saved. If the server restarts, data could be lost.

The database needed assurance that previously unsaved data was protected too. A success from the operating system did not necessarily mean the database had fulfilled its promise to users.

Work can outlast a change of leader

Another case involved a distributed key-value store that uses Raft to reach consensus among computers.

In this system, servers can hold resources for a limited time. These rights are known as leases. A leader revokes expired leases in batches, while servers periodically renew leases they need to keep.

Project C2 found that lease cleanup based on stale information could continue after a change of leader and revoke a valid lease.

AWS illustrated the risk with a system meant to assign payment processing to one server. If more than one server takes responsibility, duplicate charges are one possible consequence.

A public etcd bug report describes a similar lease invalidation problem after a leadership change. Another developer investigated it and posted a proposed fix and test results.

AWS did not name the product in its example. The etcd report is a separate case of maintainers investigating and proposing a fix for a comparable problem in real software.

Deciding what needs to be proved

AWS also reported finding nine thread-safety issues in a profiling library used by the Rust community. In one case, a reporting thread could terminate unexpectedly and cause subsequent data to be lost.

Examples of bugs Project C2 found

SystemBugPossible impact
More than 800 bugs across 22 open-source projects
In-memory
database
On systems such as Linux,
After a persistencefailure,
a successful retry
can reopen writes.
earlier writesmay remain unsaved
On restart:data loss
Raft-based
distributed store
database
after a leaderchange
Stale cleanup
can still revokeleases
Loss ofa valid lease
Duplicate payment charges
(illustrative scenario)
Used by theRust
communityfor profiling
Library
involvingthread safety
Nine bugs
Example: Reporting
can fail
and later data can be lost

AWS says it sent maintainers detailed validation information and tested proposed fixes. The count reflects bugs found during verification. Each project still has to review any proposed changes before adopting them.

AWS is using the technology in its own services, including Amazon Aurora, Amazon DynamoDB, and Amazon Elastic Block Store (Amazon EBS). At announcement, Project C2 was available to selected customers through an invite-only preview. Interested users can request an invitation with an AWS account ID.

Project C2's appeal is that it presents AI findings in a form other developers can check. But a proof begins with deciding what to prove. Because the AI infers the intended behavior, whether it understood the specification correctly remains an open question.

What does the database guarantee after a retry succeeds? What work should be allowed after a change of leader? Stating those answers precisely and expressing them mathematically may help developers understand their own code better.

View the original on Joho no Todai →

KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.