Google DeepMind announced AlphaProof Code on November 10, reporting that AI agents had mathematically verified selected security guarantees in Signal’s encryption code. The Signal protocol also protects communications in WhatsApp and Google Messages. The four-week project examined libsignal, the encryption library, down to machine code.
Formal verification establishes whether software satisfies precisely defined requirements through mathematical proof. Humans chose the properties to verify, and AI agents helped draft specifications that experts reviewed. Teams of 40 to 80 agents generated about 6.5 million lines of proof using Lean, a language for machine-checked mathematics, for a team of five researchers.
The verified properties include forward secrecy, which protects older messages if an attacker later obtains a phone’s keys, and post-compromise security, the protocol’s ability to recover after a breach. The analysis also covered authentication. Researchers found no new vulnerabilities in the portions examined; when they reintroduced two previously fixed bugs, the system correctly demonstrated that the affected code was insecure.
The guarantees apply to one-to-one conversations in the researchers’ own build of the library, not the complete Signal apps. Group messaging and key generation were excluded, while the proofs assume that underlying cryptographic routines behave as specified. The work therefore validates defined properties within a limited scope rather than establishing that Signal is universally secure.
DeepMind is releasing its specifications and proofs on GitHub for independent examination and reuse. The project also contributes to Signal Shot, a challenge launched in April by the Beneficial AI Foundation, Signal, and the Lean FRO to verify the Signal protocol and app in Lean.






