CONNECT WITH US
AI & Deeptech

AI & Deeptech

Claude digs up bugs that survived trillions of tests across open-source software

Interesting Engineering – AI & Robotics logo

Published on

Add as a preferred source on Google
Claude digs up bugs that survived trillions of tests across open-source software

Anthropic says its Claude model has formally verified security properties in 123 open-source software libraries, uncovering hundreds of bugs during the process. Some flaws had escaped detection for years, despite trillions of automated test runs.

The project, conducted with software verification firm Theorem, applies mathematical proofs directly to compiled machine code. Researchers say the approach could make rigorous software verification practical for a much wider range of projects.

The work targets a growing security problem. Automated tools can now discover vulnerabilities in mature software, leaving developers searching for stronger ways to prevent exploitable flaws. Formal verification offers a potential answer by proving that code follows specific rules under defined conditions.

Traditional software testing runs programs against selected inputs to expose failures. Fuzzing tools generate large numbers of unusual inputs, but they cannot exhaust every possible combination.

Anthropic used Claude to turn existing fuzz tests into mathematical specifications. The model then generated proofs showing that 239 program entry points across 123 libraries would not crash under defined conditions.

The researchers worked with RISC-V assembly code, which represents instructions executed by a processor. Claude generated roughly 180 million lines of proof code, with a typical proof spanning about 600,000 lines.

A separate tool called Rocq checked the proofs against their specifications. This independent verification step means developers do not need to manually inspect every line of generated proof code. Anthropic also allowed Claude to patch bugs discovered during verification. The model then generated new proofs for the updated code.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.