Google DeepMind Uses AI to Formally Verify the Signal Protocol, Mathematically Proving Its End-to-End Encryption Reliability

IThome, Nov 10 - The Signal encryption protocol has long been regarded as the gold standard for end-to-end encrypted messaging. Google DeepMind's team has now used artificial intelligence to formally verify the protocol's security. Beyond the Signal app itself, the protocol is also adopted by WhatsApp and Google Messages, and the research is described as 'a landmark advance.' Formal verification means using mathematical methods to rigorously prove or refute whether a cryptographic algorithm or protocol meets its security promises. Unlike conventional testing, it aims to prove that a protocol satisfies security requirements under all conditions covered by the established model, rather than hunting for known bugs through testing - and even a clean test run cannot guarantee no undiscovered vulnerabilities remain. Completing formal verification with autonomous AI agents matters for both cryptography and AI, though the process requires substantial computing resources.
IThome, Nov 10 - The Signal encryption protocol has long been considered the gold standard of end-to-end encrypted messaging. Now Google's DeepMind team has used artificial intelligence to formally verify the protocol's security. Beyond the Signal app itself, the protocol is also adopted by WhatsApp and Google Messages, and the research is described as 'a landmark advance.' Formal verification means using mathematical methods to rigorously prove or disprove whether a cryptographic algorithm or protocol actually meets its security promises. Unlike conventional testing, formal verification aims to prove that a protocol satisfies security requirements under all conditions consistent with the established model, rather than hunting for known bugs through testing; even if conventional testing finds no problems, it cannot guarantee that no undiscovered vulnerabilities remain. Completing formal verification with autonomous AI agents is significant for both cryptography and AI - though the process consumes large amounts of computing resources. Google told Wired it is not yet possible to determine the practical feasibility of rolling the technology out more broadly. DeepMind researchers also stressed that the result is only one milestone in a longer research process. DeepMind research scientist Swarat Chaudhuri said: 'We are very excited about this result, but there is still a long way to go to scale this technology to all the world's software, and that is exactly what we hope to achieve.' One important caveat: this verification targeted the Signal protocol itself, not a comprehensive security audit of the entire Signal application. One result nonetheless stands out: the researchers also used the method to test an older version of the Signal protocol implementation containing known vulnerabilities, and the AI successfully identified the relevant issues and determined that those versions failed formal verification. Google's research was not built entirely from scratch either: the team drew on previously completed formal verification work, some of it done without AI. The whole analysis took about four weeks, and Google has not disclosed the scale of computing resources required, so no one should expect large numbers of other cryptographic protocols to be verified in short order. Even so, this is a highly significant advance: AI can not only help developers write and check code, but may also verify whether software security mechanisms are truly reliable through rigorous mathematical proof.
≈4 weeks
Verification time※
Digit form derived; the text spells out "four weeks"
6.5M lines
Lean proof code generated by AI agents
Source: The Register
20 person-years
Historical baseline: seL4 microkernel verification
Source: The Register

We are very excited about this result, but there is still a long way to go to scale this technology to all the world's software, and that is exactly what we hope to achieve.
even if conventional testing finds no problems, it cannot guarantee that no undiscovered vulnerabilities remain
this verification targeted the Signal protocol itself, not a comprehensive security audit of the entire Signal application
01The proof lands on the implementation, not just the design
Protocol verification has mostly stopped at the design level, while real vulnerabilities hide in the gap between design and compiled code. This time DeepMind proved the deployed implementation itself — forward secrecy and the post-quantum handshake included — so every product built on the protocol, WhatsApp and Google Messages among them, now carries math-level assurance down to the machine-code layer.
02Planted bugs got caught
Researchers reintroduced known vulnerabilities into older Signal builds and the AI judged them unverifiable — the method passed a controlled test, not a self-declared clean bill.
03Labor cost solved, compute cost not
Verifying the seL4 microkernel once took 20 person-years; Signal took five people four weeks, with 6.5 million lines of Lean proof generated by agents. Google itself still can't price the compute at scale, so don't expect a queue of other encrypted protocols to get the same treatment anytime soon.