Google AI agents prove security claims in part of Signal code
Google DeepMind says its AI agents produced 6.5 million lines of Lean proofs for a specific compiled Signal library build, excluding key generation and Signal’s phone apps.
Google DeepMind’s Nov. 10 AlphaProof Code report describes about 6.5 million lines of machine-checked Lean proofs linking selected security guarantees to a compiled build of Signal’s encryption library.
The target was a specific AArch64 Linux executable using libsignal-protocol v0.105.4 and SPQR v1.6.0 inside a small command-line program. The proofs cover session initialization, message sending and message receipt.
The verified properties apply to Signal’s PQXDH handshake and Triple Ratchet for one-to-one messaging. They include protection for earlier messages after a key theft, sender authentication and restoration of secrecy after a compromise.
The audit does not cover key generation, group messaging or Signal’s mobile applications. It excludes all of the state used by multi-device accounts and does not establish security for every possible build or operating environment.
The project used two proof models. The symbolic model treats cryptographic operations as ideal and assumes executions avoid collisions. The computational model estimates the success probability of classical attackers under stated cryptographic assumptions. It does not cover quantum attackers, and its security bounds become less useful at sufficiently large workloads.
Five people directed the project over four weeks. They selected the reference models, wrote and reviewed the specifications and chose the properties for the AI agents to prove. The agents generated formal proofs that the Lean checking system could inspect.
The claims depend on assumptions about cryptographic operations, the execution environment and selected software routines. Specifications, routine contracts and the AArch64 Linux model remain part of the trusted basis for the result.
A Nov. 11 project update reported that researchers had verified 10 additional library routines in a newer pinned executable. The change reduced the number of trusted routine hooks from 37 to 27. These hooks replace selected routines with assumed descriptions of their behavior, so verifying more routines reduced the code represented by those assumptions.
The researchers reintroduced two previously fixed libsignal bugs and showed that the altered binaries violated the project’s symbolic security theorem. The test checked whether the specification rejected known regressions.
The proof package and instructions for rebuilding the pinned binary are publicly available. A Linux-only comparator checks whether the theorems and their dependent definitions match the trusted statements. A fresh Lean kernel then replays the proofs. The full package has not been independently rebuilt and checked here.








