presentofai

Claude Formally Verifies Security Properties in 123 Open-Source Libraries

TL;DR

Anthropic's Claude autonomously produced formal mathematical proofs for security properties across 123 open-source libraries, marking the first large-scale AI application of formal verification at the assembly-code level and surfacing bugs that survived years of testing.

What happened

  • On Oct. 22, 2026, Anthropic published research showing Claude proved 239 entry points across 123 open-source libraries would never crash on any input below 64 MB under modeled conditions.
  • Proofs operated at the assembly-code level on RISC-V binaries, using Theorem's formal semantics for RISC-V and Linux process behavior.
  • Libraries verified included software from Google's OSS-Fuzz initiative, covering real-world production code, not toy examples.
  • Claude also patched bugs it discovered, including an out-of-bounds write triggered by a rare 20 MB input layout, an out-of-bounds read in an image decoder requiring 64 MB input and over 2 GB memory, and a rediscovery of CVE-2026-56132 in libexpat.
  • Anthropic collaborated with Theorem, which will offer the same verification pipeline to other open-source projects.

Why it matters

  • Formal verification historically cost enormous expert effort: verifying the seL4 kernel took 20 person-years versus 2 person-years to write it, confining the technique to avionics and other mission-critical niches.
  • Claude's work signals that LLM-driven verification can scale to general open-source software, potentially reshaping secure software development workflows industry-wide.
  • Larger models needed fewer tokens for some tasks, and shared proof components reduced duplication across related projects, pointing toward falling marginal costs as models improve.
  • The Linux kernel alone had over 1,000 vulnerabilities disclosed recently, and frontier models are increasingly capable of chaining bugs into critical exploits, raising the stakes for proactive verification.
  • Anthropic is publishing a subset of proofs for public reuse, lowering the barrier for other teams to build on this work.

What to watch next

  • Whether Theorem's open pipeline attracts major open-source projects and how quickly proof coverage expands beyond 123 libraries.
  • How the field responds to Anthropic's acknowledged limitations: proofs are conditional on single-threaded static binaries with fixed memory budgets on RISC-V Linux, leaving multi-threaded and dynamic deployment scenarios unverified.
  • Whether competing labs (Google DeepMind, OpenAI) publish comparable formal verification results, signaling a race to make provable security a standard AI capability.

Originally published on Present of AI, a daily source-linked AI news timeline. Read the full timeline or browse the open dataset.