Google DeepMind's AI agents mathematically prove key security properties of Signal's actual encryption code
DeepMind's post explains formal verification plainly, includes Signal's CTO's view, and links the technical paper and open-sourced proofs.
Google DeepMind said on Nov. 10 that researchers using a new agent framework, AlphaProof Code, formally verified key security properties of the real code behind the Signal protocol, which protects messages in Signal and Google Messages. Formal verification means mathematically proving that code behaves as specified.
Human experts and AI models first turned Signal's security goals into formal specifications, with experts reviewing each one. Agents running on Gemini 4 Carbon then wrote the proofs, more than six million lines of Lean, a language whose checker confirms each proof automatically, and flagged about 1% of the work for human review. DeepMind says the process took four weeks, versus years for expert teams, and that it is the first time a widely deployed protocol's implementation has been formally verified by any method. As a test, the team reintroduced two real, previously fixed bugs, and the system produced machine-checked proofs that the buggy versions were insecure.
Signal CTO Ehren Kret said the work gives "even greater confidence that our code delivers on its privacy guarantees." DeepMind is open-sourcing the verification artifacts.
-
Formal verification
After exploring Introducing AlphaProof Code: a breakthrough in verifying complex software at depth — Google DeepMind, for what "formally verified" means, read about Formal verification.
Explains formal verification: proving or disproving that a hardware or software system is correct against a formal specification using mathematics.
Wikipedia · Wade · 5 min
0 -
Signal Protocol
After exploring Introducing AlphaProof Code: a breakthrough in verifying complex software at depth — Google DeepMind, to learn what was verified, read about the Signal Protocol.
Describes the Signal Protocol, the end-to-end encryption protocol developed by Open Whisper Systems in 2013 and since adopted by apps including WhatsApp.
Wikipedia · Wade · 5 min
0