Newsroom Wire

US10-23 06:19⏱ 4 min read

Anthropic Says Claude Proved Security Properties Across 123 Libraries

Anthropic Says Claude Proved Security Pr

Anthropic published research on October 22, 2026, reporting that Claude produced machine-checked formal proofs of security properties at the RISC-V assembly code level for 239 fuzz-test entry points across 123 open-source libraries, in a collaboration with Theorem.

According to Anthropic, Claude patched the bugs it found and then proved the programs will always exit normally without triggering memory-safety errors or failing assertions, for every input under 64 MB and every modeled Linux operating system response and memory layout.

The proofs assume the program runs as a single-threaded static binary with a fixed memory budget on a RISC-V CPU using Linux.Anthropic said the proofs comprise about 180 million lines of Rocq, with a typical proof running about 600,000 lines to cover binaries with a median length of 18,000 RISC-V instructions.

The company said that, to its knowledge, this is the first large-scale effort to use AI to apply formal verification to production software at the assembly code level.

A subset of the proofs, along with the RISC-V and operating-system semantics behind them, is being published on GitHub.Anthropic said it is also releasing the trusted components built for the project that are not already public, complete proofs for fuzz tests that required no patching, and specifications for fuzz tests it could not prove, while withholding proofs that could reveal an unpatched bug.

The approach converts each library’s existing compilable fuzz test into a formal specification encoding one rule: the test never crashes for any input under 64 MB.The specification is defined over compiled RISC-V instructions using Theorem’s formal semantics of the RISC-V instruction set and Linux processes, and the Rocq proof checker verifies each finished proof against the specification.

Anthropic says this leaves only three components developers need to trust: the formal models of RISC-V and Linux processes, the exact theorem statements, and the Rocq checker itself.

Anthropic said it applied this process to hundreds of projects in Google’s OSS-Fuzz initiative, which provides continuous fuzz testing for qualifying open-source projects and automatically instruments C and C++ programs with AddressSanitizer, a tool that crashes a program whenever memory is accessed improperly.

An appendix dated October 22, 2026, spells out the full theorem proved: for all inputs under 64 MiB and all memory layouts, neither the ASan-instrumented binary nor the plain binary faults, aborts, or exhibits unmodeled behavior, and both produce identical read and write traces, exit behavior, and final file-system state.

The appendix states that Claude wrote around one billion lines of Rocq during the effort, of which about 180 million lines passed the proof checker; cJSON’s 391-line parser entry point received a 630,000-line proof, while fftw3, with 51,000 lines linked in, received a 480,000-line proof.

Because Claude was permitted to patch code before completing a proof, Anthropic said it penalized patches, offered extra credit for proving which inputs a patch changed, and logged and audited patches to discourage reward hacking.

Anthropic reports that attempting the proofs surfaced hundreds of bugs, many of them ones a fuzzer would be unlikely to find.While proving one library’s entry point, Claude found a counter underflow in a decompressor that caused an out-of-bounds write, but only on inputs of around 20 MB with one rare, specific layout.

Other finds included an out-of-bounds read in an image decoder requiring a 64 MB input and more than 2 GB of memory, an out-of-bounds read requiring a particular sequence of calls across two handles to the same file, and a rediscovery of CVE-2026-56132 in libexpat, which required deeply nested input.

Claude also found logic bugs that never crash, including a restriction on which files an application can load that is not always enforced.Anthropic said verification attempts on several widely used critical applications uncovered a previously unknown logic bug that had been latent for more than a decade, and that during an effort to verify a widely used PDF reader, it found as many security bugs in one week as are typically reported in a year.

Beyond OSS-Fuzz, Anthropic asked Claude to write a formal specification of RFC 1950, the technical document defining the zlib compression format, and then prove that the Linux kernel’s zlib implementation correctly implements it.

Claude proved the x86-compiled binary directly, using Claude-generated formal semantics of the x86 instruction set, and Anthropic said it repeated the process for half a dozen other widely used libraries, finding minor, unexploitable corner-case bugs that are being filed upstream.

The company also reported that generating the x86 semantics identified hundreds of mistakes in official reference documentation and a smaller number of bugs in the hardware itself, and that single-stepping through the semantics can boot an Ubuntu userspace on

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…