The useful AI security claim is a proof, not an answer

Google DeepMind used AI agents to produce machine-checked proofs for specified security properties of Signal's compiled cryptographic code. The result is narrow by design—and more credible because the model does not get the last word.

What happened

Google DeepMind introduced AlphaProof Code, a human-guided, multi-agent system for formal software verification. Researchers used it to prove specified security properties of libsignal, Signal's reference implementation, at the level of a compiled AArch64 Linux executable. The work covers the post-quantum PQXDH handshake and the Triple Ratchet, including message confidentiality and authenticity, forward secrecy, and post-compromise security against classical attackers; the symbolic model also establishes handshake secrecy against a future quantum attacker.

The agents generated about 6.5 million lines of Lean proof code resting on roughly 26,000 lines of trusted specifications and processor semantics. Lean's kernel checked the proofs against the approved statements. Humans still chose and reviewed what to prove; AI agents did the large proof search. DeepMind's announcement says an audit process flagged about one percent of the codebase for closer human review and that the project took four weeks.

As a fault test, the researchers reintroduced two previously fixed bugs into isolated builds. The system proved that the altered binaries violated the covered symbolic security theorems. DeepMind also released the paper and Lean artifacts. Those are stronger evidence than a benchmark score, but the result has not yet been independently reproduced.

Why it matters

Most AI coding claims ask the reader to trust a model's output, a test suite, or a company benchmark. This work changes the authority structure. The AI can propose an enormous proof, but it cannot declare itself correct: a small, deterministic proof checker accepts or rejects the artifact. That makes scale useful without making fluency the standard of truth.

The implementation level also matters. Cryptographic protocols are often analyzed as mathematical designs, while vulnerabilities can enter through compilation, memory handling, serialization, or the distance between the specification and the program that ships. The paper follows an unmodified libsignal build through machine-code execution for the covered scenarios, connecting protocol claims to a concrete binary rather than stopping at the design.

The economics are potentially more important than the model name. Formal verification is expensive because experts must translate security goals into precise statements and construct proofs across large systems. If agents can compress years of proof labor into weeks while leaving the trusted checker small, verification could move from exceptional projects toward ordinary critical infrastructure.

What it does not prove

This is not a certificate that Signal is bug-free. A formal proof is only as broad as its specification, models, assumptions, and code boundary. The paper abstracts some low-level cryptographic routines behind contracts, targets a particular AArch64 build and harness, and proves selected properties of selected protocol components. A missed requirement can be proved perfectly and still leave the system exposed somewhere else.

That limitation is not a weakness to hide; it is the discipline. Humans remain responsible for deciding which properties matter, reviewing the trusted specifications, and testing whether the model matches the world. Independent cryptographers now need to inspect the artifacts, reproduce the build, challenge the assumptions, and see whether the method transfers to less structured software.

What to watch

Watch for independent reproduction, proof maintenance as libsignal changes, and evidence that another team can apply the framework without DeepMind's researchers. The practical test is not whether agents can generate millions of proof lines once. It is whether a project can keep a useful security theorem current across releases without turning the trusted specification into a new bottleneck.

The maniacal take: the best high-stakes AI output may be one that does not ask to be believed. AlphaProof Code points toward a division of labor in which people define the obligation, agents do the exhaustive work, and a machine-checkable artifact—not the model's confidence—settles whether the implementation meets the claim.

Sources & further reading

  1. Google DeepMind — AlphaProof Code announcement, process, and stated results
  2. Google DeepMind — technical paper and scope
  3. Google DeepMind — open Lean artifacts and proof map
  4. GitHub — released verification repository

Reporting is based on company announcements and attributed coverage. Analysis and interpretation are Maniacal’s own.