adtestbench Higgsfield

AI news · Anthropic · software security

Claude writes security proofs for 123 open-source libraries

Working with the start-up Theorem, Anthropic used Claude to prove security properties down to machine code, and found bugs that automated checks had missed.

By Alexandre S. , 04:30 UTC

Anthropic said on 22 October 2026 that Claude can now write formal proofs at scale. A formal proof is a mathematical argument, checked by software, that a piece of code can never do a particular wrong thing, such as read memory it should not touch. Writing one has taken experts years: proving the small seL4 operating system kernel correct took about 20 person-years, The Decoder notes.

Retro-futurist illustration: a striped sunset over a grid horizon under a starry sky, with a padlock standing on the horizon.
Drawn by adtestbench from “LLMs are making formal software verification feasible at a much larger scale”,

Anthropic and the start-up Theorem pointed Claude at more than 100 open-source libraries and had it prove security properties on their compiled RISC-V code, the instructions the chip actually runs, Anthropic wrote. Along the way Claude found bugs that years of automated testing had missed.

The Decoder puts the count at 123 libraries from Google’s OSS-Fuzz security project, with roughly 180 million lines of proof code written in a few weeks, and Claude patched bugs it hit on the way. Each proof passes through Rocq, a proof checker, so Anthropic says people barely need to look. The tools and formal groundwork came from people at Theorem.

Claude Pro, Anthropic’s paid plan for people, costs $20 a month on our price sheet, read 23 October 2026; this proof work ran in Anthropic’s research team with Theorem’s tooling.

Because Rocq accepts or rejects every proof on its own, the result rests on that checker and Theorem’s tooling instead of on Claude’s word, which sets this work apart from AI-written code that people still check by hand.