🤖 AI Hot

Claude Formally Verified 123 Open Source Libraries

A
Alex Chen

On October 22, 2026, Anthropic published the most consequential software-security result of the year, and it has almost nothing to do with benchmarks. Working with the verification firm Theorem, Anthropic’s Frontier Red Team used Claude to produce machine-checked formal proofs of security properties at the RISC-V assembly code level across 123 real-world open source libraries — the exact kind of dependencies that open source AI models and production software everywhere build on. In the process, Claude proved that 239 OSS-Fuzz entry points can never crash for any input up to 64 MB, and it found bugs that had survived trillions of test runs over years of fuzzing. This is, by Anthropic’s account, the first large-scale effort to apply AI-driven formal verification to production software at the assembly level.

The framing matters because formal verification has spent decades as a niche, expensive technique reserved for kernels and flight controllers. The standard illustration of why is seL4, the formally verified microkernel: implementing it took roughly two person-years, but verifying it took around twenty. The proof work dwarfed the build work by an order of magnitude, which is why the technique never spread to the ordinary libraries that everyone depends on. Anthropic’s claim is that LLMs have now broken that economics barrier, making verification feasible at a scale that was previously unthinkable.

Why This Matters More Than Any LLM Benchmarks 2026 Entry

The instinct when a frontier lab announces a capability is to slot it into LLM benchmarks 2026 and move on. That would be a category error here. A benchmark measures how well a model answers questions or writes code; this result demonstrates a model producing a mathematical guarantee that a piece of software is free of a class of bugs. Those are fundamentally different kinds of claims, and the second one is the kind that actually changes what you are allowed to deploy. A model that scores a few points higher on a reasoning benchmark is an incremental improvement. A model that can prove a library cannot crash on any input up to 64 MB is a step toward software you can trust at the foundation of your stack.

The stakes are not abstract. Anthropic points out that the Linux kernel — one of the most heavily tested pieces of software in existence, deployed on billions of devices — recently had more than 1,000 vulnerabilities disclosed. Mature, heavily tested software still contains bugs, and frontier models are getting better at chaining seemingly benign bugs into critical exploits. The traditional defense is to find and patch bugs reactively. Formal verification offers something better: translate code into a mathematical model, prove it always follows a set of security rules, and if the proof fails, the nature of the failure points at the bug. Repeat until the proof holds, and you have a guarantee, not a test suite.

How the Proof Actually Worked

The technical shape of the result is important to get right, because “Claude proved 123 libraries correct” is a tempting and inaccurate shorthand. What happened is more specific. Anthropic took 123 open source libraries that are part of the OSS-Fuzz project and targeted their fuzz-test entry points — 239 entry points in total. For each, Claude worked to prove a security property at the assembly code level, on RISC-V, using a formal proof assistant. The proof itself is machine-checked, which means the guarantee does not rest on trusting the model’s output; it rests on the proof assistant having verified every step.

The property Anthropic proved for these entry points was freedom from crashes for any input up to 64 MB. That is a meaningful and non-trivial guarantee: it says the code will not crash on any of the vast space of possible inputs up to that size, not merely on the specific inputs a fuzzer happened to try. And here is the detail that makes the result land: while attempting the proofs, Claude found real bugs, patched them, and then completed the proofs. The result is not just a certificate over code as-is — it is code that was fixed and then certified.

The assembly-level detail is the hardest part and the part that makes this a genuine advance rather than a demo. Most prior automated verification efforts have operated at the source-code level, where the compiler is trusted to preserve the properties. By working at the assembly level on RISC-V, Anthropic is verifying the artifact that actually executes, closing the gap between what you prove and what runs. That is the same rigor that made seL4’s verification notable, applied now to ordinary libraries.

The Bugs That Survived Trillions of Test Runs

The most striking individual finding is not the count of libraries but the fact that Claude found bugs that had eluded years of fuzzing. Anthropic’s phrasing is specific: some of these bugs survived despite trillions of test runs. OSS-Fuzz is a massive, continuously running fuzzing infrastructure, and it had exercised these libraries for years without tripping over what Claude found. That is not a knock on fuzzing — fuzzing is excellent at finding crashes on reachable paths — but it illustrates the ceiling of testing-based approaches. A fuzzer can only find the bugs its inputs happen to trigger; a proof must account for every input, which forces the model to confront edge cases the fuzzer never visited.

This is also why the result is positioned as a complement rather than a replacement. Fuzzing remains the cheapest way to surface the first wave of bugs. Formal verification is the expensive guarantee you layer on after fuzzing has done its work, for the specific properties and entry points that matter most. The novelty is that Claude made the expensive part dramatically cheaper, which changes where you can afford to apply it.

What This Means for Open Source Security

The open source angle is central, and it is where the practical implications are biggest. Open source libraries are the invisible foundation of almost everything — they sit under commercial software, cloud infrastructure, and open source AI models alike. A bug in a widely used parsing library or compression routine is a bug in thousands of downstream systems. Yet open source maintainers rarely have the resources for formal verification, which has historically required the kind of specialized, years-long effort that only a few projects could fund. If an LLM can produce assembly-level proofs at the scale Anthropic describes, that constraint starts to lift.

The collaboration with Theorem is the second piece of the open source story. Theorem is a formal verification firm, and the work pairs Claude’s ability to generate proof steps with human verifiers who steer and check the effort. This is the realistic model for the near future: not a model autonomously certifying code, but a model doing the grinding proof labor under expert supervision, at a cost that makes verification viable for projects that could never have afforded it before. The human in the loop is not a compromise; it is what makes the guarantee trustworthy.

The Team Behind the Result

The authorship is worth a moment because it signals how serious Anthropic is treating this line of work. The paper comes from the Frontier Red Team, a group that includes Nicholas Carlini, a researcher best known for adversarial-example and security work, alongside a roster spanning both security and formal-methods specialists — Keane Lucas, Aengus Lynch, Luna Tong, Luke Champine, Zygi Straznickas, Dino Distefano, Jason Gross, and others. The mix of red-team security researchers and formal verification experts is telling: the people most practiced at breaking software are now the ones producing proofs that it cannot be broken. That is the right combination of skills for a result whose credibility rests entirely on adversarial rigor.

Limitations and Caveats

The honest caveats are as important as the result itself. The first is scope: 239 entry points across 123 libraries is a meaningful demonstration, but it is a sliver of the open source ecosystem, and each proof targets a specific property — here, freedom from crashes for inputs up to 64 MB. It is not a claim that the libraries are correct in general, free of logic bugs, or secure against every attack class. A library can be proven crash-free and still mishandle data in ways that cause incorrect output.

The second caveat is that formal verification is only as good as the property you state. Proving “no crash for any input up to 64 MB” is a strong and useful guarantee, but it is deliberately bounded. Inputs larger than 64 MB, properties other than crash-freedom, and the interaction between verified and unverified code all fall outside the guarantee. The third caveat is the assembly-level target: RISC-V was chosen, and the results do not automatically transfer to x86 or ARM without redoing the work, since the assembly differs. The proof methodology is the generalizable part; each architecture is still its own effort.

Finally, there is the economic caveat Anthropic itself is careful to flag. The result shows that LLMs make verification feasible at “a much larger scale,” not that they make it free or turnkey. Expert human verifiers were involved throughout, and the technique is a collaboration, not an autonomous tool. Teams expecting to point a model at a repository and receive a certificate overnight will be disappointed; teams willing to invest in the human-machine loop will find the cost curve has shifted dramatically.

Who Should Pay Attention

Two groups should treat this as a signal. The first is anyone responsible for security-sensitive software — the maintainers of parsing, serialization, cryptography-adjacent, and network-facing libraries that sit in the path of untrusted input. These are precisely the components where a single crash can be a denial-of-service or a step toward code execution, and they are precisely the components that benefit most from a proof rather than a test suite. The second is open source maintainers who have long wanted formal guarantees but could not afford them; the economics that made seL4’s verification a twenty-person-year project are the part this result most directly challenges.

There is also a strategic signal for the industry. Anthropic is investing in the Frontier Red Team’s ability to produce security guarantees at the same time frontier models are becoming better at finding and chaining vulnerabilities. The implicit thesis is that the same capability that makes AI a security threat — the ability to reason about code at scale — is also the capability that can defend against it. Formal verification at this scale is one of the first concrete demonstrations of the defense side of that equation.

The Bottom Line

Anthropic’s formal verification result is the rare AI announcement where the substance exceeds the headline. Using Claude to produce machine-checked, assembly-level proofs for 239 entry points across 123 open source libraries is a real milestone, and the fact that the model found and patched bugs that survived trillions of fuzz runs is a concrete demonstration that proof and testing are different tools with different ceilings. The result does not mean software is now provably safe — the properties are bounded, the scope is small, and human verifiers remain essential. But it does mean the economics of formal verification have changed, and for the open source libraries that underpin open source AI models and everything else, that is a bigger deal than any benchmark score.

Sources

Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen