Google DeepMind Uses AlphaProof Code to Verify Signal Encryption
Google DeepMind researchers completed a formal verification of Signal's messaging security using a new AI framework called AlphaProof Code.
2 min read
What Happened
Google DeepMind researchers have completed a formal verification of the Signal messaging protocol’s security using a new multi-agent framework called AlphaProof Code [2]. Formal verification is a method that uses mathematics to check if software functions exactly as intended, which helps identify critical vulnerabilities [3].
During this research project, which took four weeks for a team of five people, the following occurred [2, 3]:
- The team used Gemini Carbon agents to generate 6.5 million lines of Lean code to prove the correctness of the libsignal implementation [2].
- One source reports the agents wrote three million lines of proofs in Lean to verify Signal’s core encryption [1].
- The process involved turning security goals into a mathematical specification reviewed by humans [2].
- The agents performed an auditing pass and flagged parts of the code that required human review [2].
- The analysis verified Signal’s post-quantum PQXDH handshake and Triple Ratchet, validating design elements like forward secrecy, authentication, post-compromise security, and handshake secrecy [2].
- The researchers did not find new vulnerabilities in the portions of the protocol they examined [3].
- When testing older versions of Signal with known, fixed vulnerabilities, the system correctly identified them and showed the protocol could not be verified [3].
The project was conducted free of charge as a research project [3]. The researchers are releasing the specification and proof they developed to assist other formal verification work [3].
Swarat Chaudhuri, a research scientist at Google DeepMind and professor at the University of Texas at Austin, stated the system is built for human-AI collaboration [2]. He noted that while verification has traditionally been the difficult part of software development, this process aims to scale it using AI [2]. The team included Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, Charles Sutton, and Pushmeet Kohli [2].
Who Is Affected
This development impacts users of platforms that rely on Signal’s cryptography, such as the Signal app, Google Messages, and WhatsApp [3]. Signal’s chief technology officer, Ehren Kret, stated that as AI-driven security threats increase, this verification provides greater confidence in privacy guarantees [3]. Pushmeet Kohli, chief scientist at Google Cloud and DeepMind, suggested that companies like banks that rely on software assurances could eventually use such technology to prove their systems’ properties [3].
What to Do Next
Swarat Chaudhuri mentioned the next step is to apply this technology during the software design process for general code, not just cryptographic protocols [2]. The researchers aim to eventually scale this technology to verify all software in the world [3].
About the author
Ali Raza, Founder
Sources
- Introducing AlphaProof Code: a breakthrough in verifying complex software at depth — Google DeepMind Official source
- Google DeepMind melds humans and AI agents to vet Signal's secure messaging techniques — theregister.com
- A New AI Tool From Google DeepMind Proved the Signal Protocol Is Secure | WIRED — WIRED
Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes
Questions or something to add?
Ask below. We read every comment and reply when we can.