AI News

Google DeepMind Uses AI Agents to Formally Verify Key Signal Protocol Code

Google DeepMind says its AlphaProof Code framework used AI agents and machine-checked Lean proofs to verify key security properties in compiled Signal protocol code.

Sunil Kumar3 min read
Google DeepMind AI formal verification secure messaging

Google DeepMind has described a new agentic framework called AlphaProof Code that it used to formally verify key security properties in the code underlying the Signal protocol. The research, published on November 10, 2026, is notable because it goes beyond checking a cryptographic design on paper: the team says it proved properties about compiled implementation code.

How the verification process worked

Formal verification translates a security requirement into a precise mathematical statement and then checks whether an implementation satisfies it. That process can be powerful, but applying it to large, widely deployed software has traditionally required specialist knowledge and extensive manual work.

DeepMind says AlphaProof Code combines human researchers with multiple AI models and agents. Researchers first worked with models to translate Signal’s security goals into formal specifications, with human experts reviewing each specification. Agents powered by Gemini Carbon then generated more than six million lines of Lean, a proof language and theorem-proving environment. The framework audited its own output and flagged a small portion of the code for additional human review. DeepMind says that the remaining proof obligations were checked by Lean’s trusted proof machinery.

The work focused on important protocol properties, including protections for messages before and after a device is temporarily compromised. DeepMind reports that the project took four weeks. To test whether the framework could detect incorrect implementations, researchers reintroduced two previously fixed bugs into an isolated copy of the code. The system produced machine-checked proofs showing that the modified versions failed the specified security properties.

What the result does—and does not—mean

The announcement is not a claim that every line of the Signal application, every client implementation or every surrounding system has been proven free of vulnerabilities. The scope is the set of properties and implementation components covered by the research specifications. Formal verification also depends on whether the specification captures the security requirements that matter in practice. A proof can establish that code meets a stated property; it cannot automatically prove that the property is complete or that every operational risk has been considered.

That distinction is important for users of secure messaging. The work offers a stronger assurance method for a critical part of the protocol, but it should not be interpreted as a guarantee that no future bug or implementation weakness can exist. Signal’s own engineering, review and update processes remain important.

Why developers should pay attention

The wider implication is that AI agents may help make formal methods practical for larger codebases. Instead of relying on AI-generated explanations or test cases alone, engineers can use agents to help construct proofs that are checked by a separate, deterministic system. That approach could be useful for cryptographic libraries, authentication code, medical-device firmware and infrastructure software where correctness matters more than plausible output.

DeepMind says it is open-sourcing formal verification artifacts from the project and has published a technical paper. The next challenge will be whether similar workflows can scale to other complex systems while preserving clear human ownership of specifications and review.

Sources

Share this article

Written by

Sunil Kumar

Founder of FutureTechie and BoltPane. Writes clear explainers on AI, cybersecurity, gadgets and developer tools for curious readers who want signal over hype.

106 articles View profile

Get the tech briefing

AI, gadgets, software and cybersecurity — distilled into one short briefing every weekday.