Google DeepMind Uses Agentic AI to Formally Verify Signal Protocol Security via AlphaProof Code
In a proof-of-concept project completed over the span of just four weeks, Google DeepMind scientists employed agentic artificial intelligence to formally verify, or mathematically prove, several of the Signal protocol’s key cryptographic guarantees.
The development is the first time researchers have formally verified the actual machine code behind a widely used cryptographic protocol.
The work demonstrates Google DeepMind‘s formal verification capabilities using a new AI framework called AlphaProof Code, powered by frontier large language models including Gemini Carbon. Rather than verifying an abstract model, a verification-friendly reimplementation, or a high-level specification, the team verified the actual low-level machine code executing on end-user devices, resting on about 26,000 lines of trusted specifications and AArch64 semantics.
The Signal protocol serves as the de facto global standard for end-to-end encrypted messaging, protecting communications for billions of people worldwide through the standalone Signal application, WhatsApp, Meta’s Messenger app, and Google Messages.
Historically, formal verification has functioned as a gold standard offering end-to-end mathematical guarantees, but it has remained notoriously difficult and practically impossible for real-world production deployment. Past efforts, such as the seL4 microkernel, required twenty person-years, while the CompCert verified C compiler took six years.
Researchers carried out the analysis by working alongside a combination of models to convert Signal’s security objectives into formal mathematical specifications, with every single one examined by human experts. Agents powered by Gemini Carbon then generated proofs, producing over six million lines of Lean—a computer language that mathematically proves the accuracy of code—down to machine instructions.
The agents audited the proof and highlighted areas needing a second look by a human, accounting for just one percent of the codebase. Because Lean automatically checks the rest, experts could focus their review where human judgment matters most.
The DeepMind analysis did not find any new vulnerabilities in the portions of the Signal protocol examined. However, when researchers used AlphaProof Code on older versions of Signal containing known and long-fixed vulnerabilities, the framework correctly identified them and showed that the protocol could not be formally verified.
Developed by the Alphabet Inc. subsidiary Google DeepMind—formed in April 2023 by merging DeepMind with Google AI’s Google Brain division—AlphaProof Code represents a specialized framework for formal verification rather than a domain-specific game-playing agent or a biological prediction model.
Unlike earlier systems such as AlphaGo, which focused on mastering board games through reinforcement learning, or AlphaFold, which achieved breakthroughs in protein folding prediction, AlphaProof Code is powered by frontier large language models including Gemini Carbon to verify actual low-level machine code and cryptographic protocols.

The core research team consisted of Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, and Charles Sutton, who worked alongside the Signal team for the technical collaboration.
To support other formal verification efforts, Google DeepMind is making the specifications and proofs created during the Signal protocol analysis fully open source, allowing the broader research community to adapt these verification artifacts and specifications for critical infrastructure, medical devices, and grid firmware.