Google DeepMind has used teams of AI agents to mathematically prove that key security guarantees of the code behind Signal's encryption actually hold — not just in the protocol's design on paper, but in the compiled machine code that runs on people's phones. The company announced the result on 10 November 2026, calling it the first time a widely deployed cryptographic protocol has been formally verified at the level of its implementation, with or without AI.

The work was done with a new system called AlphaProof Code, which DeepMind describes as a multi-agent framework for formal verification that combines human expertise with AI agents. In four weeks, the agents produced more than six million lines of mathematical proof — about 6.5 million, according to the technical paper — and found no new vulnerabilities in the parts of Signal's code they examined, according to WIRED's report of the project.

Signal's encryption protocol protects private conversations not only in the Signal app itself but also, in variants, in WhatsApp and Google Messages, according to DeepMind. The result is therefore a test of code that underpins a large share of the world's encrypted messaging — and a demonstration that AI can now do, in weeks, a job that has historically taken expert teams years.

What exactly was proved

The verification targeted libsignal version 0.105.4, the reference implementation of the Signal protocol, together with SPQR version 1.6.0, its post-quantum ratchet component. The agents proved four security properties for one-to-one sessions: forward secrecy, authentication, post-compromise security, and handshake secrecy.

Forward secrecy means that if a key is compromised today, messages sent before that point stay secret. Post-compromise security is the reverse: after an attacker temporarily gains access, the conversation can become secure again as the encryption keys keep rotating. Authentication means each side can be sure it is talking to who it thinks it is. Handshake secrecy covers the opening exchange — the PQXDH handshake — that sets up a session.

Those properties were proved for two components: the post-quantum PQXDH handshake that starts a one-to-one session, and the Triple Ratchet, the mechanism that rotates the encryption key for every message. The code in scope amounts to roughly 560 kilobytes, or about 140,000 machine instructions for the AArch64 architecture used in most phones.

Crucially, the proofs are about the compiled program. The team proved statements about the machine code that a standard Rust compiler produced from Signal's library, rather than about an abstract description of how the protocol should behave. As DeepMind put it in its announcement, the agents proved "that the compiled code fulfills the key security properties — such as keeping messages protected before and after a device is temporarily compromised — down to the exact code running on devices."

Formal verification is different from a security audit or a code review. A reviewer reads code and judges whether it looks sound; a test checks whether it behaves correctly on the inputs tried. A formal proof is a mathematical argument, checked step by step by software, that the code meets a written specification for every input the specification covers. The claim is only as strong as the specification it is proved against — which is why DeepMind stresses that human experts wrote and reviewed every specification.

How AlphaProof Code did it

AlphaProof Code splits formal verification the way a research team would. Human experts work with AI to decide what to prove, translating Signal's security goals into formal mathematical specifications — and human experts reviewed every one. From there, agents powered by Gemini Carbon, Google's latest frontier model, did the proofs, generating the millions of lines of Lean, a computer language for writing mathematical proofs that a machine can check.

The checking itself is mechanical. Lean's kernel verifies every step of a proof, so no human needs to read six million lines. The agents then audited their own work and flagged the parts that needed a second human look — about one percent of the codebase, according to DeepMind — letting the five-person research team focus its review where human judgement matters most.

That division of labour is the point of the exercise. Writing a formal specification and then developing a proof for production code has traditionally been so labour-intensive that only small, critical pieces of software ever received it. DeepMind says its verification took four weeks, "a task that historically takes expert teams years". For comparison, formally verifying the seL4 microkernel — a much-cited earlier landmark — took about 20 person-years, according to The Register's reporting.

The test that proves it can catch bugs

A proof that everything is fine is only convincing if the same method can also detect when something is wrong. DeepMind tested that directly. The team reintroduced two real, previously fixed bugs into an isolated version of Signal's code — known in the research as "weak state" and "small subgroup" — and ran AlphaProof Code against the altered versions. In both cases, the system produced a machine-checked proof that the buggy version was insecure, and showed that the protocol could not be formally verified while those flaws remained.

The two bugs had been discovered by earlier research and were fixed long ago, so they pose no risk to Signal users today. But the exercise matters: it shows the system is not simply rubber-stamping code. It distinguishes correct code from buggy code, which is the minimum requirement for a verification tool that anyone would trust with real software.

"We are very excited by this result, but there is a long distance to go before we are able to scale this to all the software of the world, and we want to do that." — Swarat Chaudhuri, DeepMind research scientist, quoted by WIRED

Why the implementation level matters

Most protocol verification stops at the design level: researchers prove that a protocol, described mathematically, has the properties it claims. That leaves a gap. Real-world vulnerabilities often hide between the design and the implementation — in how the code actually handles keys, state transitions, and edge cases. A protocol can be secure on paper while its code mishandles a key or a state change in practice.

DeepMind's work is aimed squarely at that gap. The paper calls the result the first proof connecting protocol-level security guarantees to the unmodified code of a widely used cryptographic protocol implementation. The proofs need no trust in the source code or the compiler, according to the paper: they are statements about the compiled binary itself.

Signal's chief technology officer, Ehren Kret, welcomed the result in a statement carried by the Indian Express: "While prior formal verification focused on smaller portions of the code, Google DeepMind's approach enables significant expansion. As AI-driven security threats grow, rigorously verifying the Signal protocol implementation gives us even greater confidence in our code's privacy guarantees."

The Signal Foundation had already carried out formal verification work on the protocol with the firm Cryspen, but on a smaller scope, according to the Indian Express. DeepMind's contribution is the depth and the scale: the whole compiled implementation of the core protocol, rather than selected pieces of it.

What the proof does not cover

The limits of this work are as important as the achievement, and DeepMind and the coverage of it state them plainly. The proof is not a certificate that Signal — or WhatsApp, or Google Messages — is unbreakable. It covers one-to-one sessions in one version of one library, compiled for one architecture, inside a test harness. Several things sit outside it.

AreaCovered by the proof?What that means
PQXDH handshake (one-to-one sessions)Yes — proved at machine-code levelSession setup meets the specified security properties
Triple Ratchet messagingYes — proved at machine-code levelPer-message key rotation meets the specified properties
Key generationNoThe paper states plainly that "keygen is not verified"
Group messagingNoListed as future work
The full Signal mobile appNoThe app, its servers and its user interface were not verified
Sealed sender and server codeNoOutside the verified scope
Side-channel attacksNoTiming leakage and secrets held in memory are out of scope

Two caveats deserve emphasis. First, the symbolic theorems assume the underlying cryptography is perfect — they prove the protocol logic, not the strength of the cryptographic building blocks themselves. Second, the proof says nothing about a phone with malware, a vulnerable operating system, or a compromised server: a verified library inside a compromised device does not protect messages. Readers should not treat this as a promise that no one can ever read a Signal message.

The computational side of the proof also has its own limits. It bounds what an attacker can do inside the researchers' model, rather than giving the post-quantum guarantee that the SPQR ratchet is designed to add. And the whole result rests on about 26,000 lines of trusted specifications and machine-code semantics — the part a reader ultimately has to trust, since Lean can only check a proof against the specification it was given. If a specification said the wrong thing, the proof would faithfully prove the wrong thing. That is why the human-reviewed specification step, and the open-sourcing of the artifacts, matter as much as the six million lines of proof.

A milestone with a history behind it

Formally verifying Signal has been treated as a grand challenge in the field for years. In April 2026, the Beneficial AI Foundation issued a challenge to formally verify the Signal protocol and its app using Lean, working with Signal and the Lean research community. DeepMind's project is a parallel effort, not part of that challenge, but it lands in the same moment: the tools for machine-checked proof are suddenly fast enough, and automated enough, to take on production cryptographic code.

Signal itself has been upgrading its encryption since 2023 so that it remains secure against the future, hypothetical threat of quantum computers — the reason the PQXDH handshake, with its post-quantum component, is the part of the protocol DeepMind chose to verify. The protocol is open source, which is what made this kind of independent analysis possible at all: anyone can inspect the code, and DeepMind's researchers could build their proofs against the real library rather than a reconstruction of it.

DeepMind has published the technical paper — "AlphaProof Code: Verifying Signal's Security at the Machine-Code Level" — and open-sourced the specifications and proof artifacts, so other researchers can inspect the work and build on it. The analysis was done as a research project at no cost to Signal, according to the Indian Express, and Google declined to say what it cost or whether it plans to sell formal verification as a service, WIRED reported.

DateDevelopment
2023 onwardsSignal begins upgrading its encryption for post-quantum security
April 2026Beneficial AI Foundation issues a challenge to formally verify Signal's protocol and app with Lean
October 2026DeepMind's five-person team begins a four-week verification of libsignal with AlphaProof Code
10 November 2026DeepMind announces the result: key security properties proved at machine-code level; no new flaws found; paper and artifacts published

What comes next

DeepMind's researchers say the ambition goes well beyond messaging. Pushmeet Kohli, DeepMind's vice-president of research, told WIRED that verified implementations could matter anywhere assurances are sold on trust: "If you can now verify the correctness of these implementations, then you can rest easy. You can imagine banks, imagine all those other companies who rely on assurances and who worry about bugs who could now say, 'I can prove these properties.'"

The company says verifying Signal's core cryptography lays the groundwork for securing other vital systems, from medical-device firmware to power-grid software, and that pairing formal verification with automated defence agents such as its CodeMender system could help counter the speed and scale of modern cyber threats. Chaudhuri, though, sounded a note of caution about letting AI grade its own homework: "We don't want this sort of vibe world where AI is generating the goals and AI is generating the proofs and basically taking tests that are self-written. There's a middle ground."

That middle ground — humans deciding what "secure" means, AI doing the proving, a machine checking the proof — is the model DeepMind is betting on. Whether it scales beyond cryptography, and at what cost, is the open question. Google has not disclosed the price of the four-week project, and there is no commercial AlphaProof Code product yet. But the Signal result is now public, peer scrutiny can begin, and the next test will be whether the same approach works on software where the specification is messier than a cryptographic protocol — operating systems, medical devices, and the infrastructure that runs the power grid.

Frequently asked questions

Does this mean Signal is now proven unhackable?

No. The proof covers specific security properties of one version of Signal's cryptographic library, for one-to-one sessions, at the level of compiled code. It does not cover the full Signal app, key generation, group chats, servers, or side-channel attacks, and it assumes the underlying cryptography is perfect. A phone with malware or a vulnerable operating system is outside what was proved.

What is formal verification, in plain terms?

It is a mathematical proof that software behaves as its written specification demands, in every situation the specification covers. A test checks some inputs; a proof covers all of them. The proof is checked step by step by software — in this case Lean's kernel — so no human has to read millions of lines of proof.

Did DeepMind find any flaws in Signal?

No new vulnerabilities were found in the portions of the protocol examined, according to WIRED. To show the system can detect flaws, the researchers reintroduced two real bugs that had already been fixed in older versions of Signal; AlphaProof Code correctly proved those versions insecure.

Does this affect WhatsApp and Google Messages?

Both use variants of the Signal protocol, so the verified library is closely related to the code that protects their messages too. But the proof is about Signal's libsignal library specifically, not about WhatsApp's or Google Messages' own implementations, and it does not cover their apps, servers, or other features.

What is AlphaProof Code, and can anyone use it?

It is Google DeepMind's multi-agent framework for formal verification: human experts write the specifications, AI agents powered by Gemini Carbon write the proofs, and Lean's kernel checks them. DeepMind has open-sourced the Signal verification artifacts and published a technical paper, but there is no commercial AlphaProof Code product or public release of the framework yet.

Key takeaways

  • Google DeepMind's AI agents mathematically proved key security properties of the compiled code behind Signal's encryption — the first implementation-level verification of a widely deployed cryptographic protocol, according to DeepMind.
  • The proof covers the PQXDH handshake and Triple Ratchet in libsignal v0.105.4 for one-to-one sessions: forward secrecy, authentication, post-compromise security, and handshake secrecy.
  • Agents generated more than six million lines of Lean proof in four weeks; humans reviewed the specifications and about one percent of the code the agents flagged.
  • No new vulnerabilities were found in the code examined, and the system correctly caught two reintroduced, previously fixed bugs.
  • The limits matter: the full Signal app, key generation, group chats, servers, and side channels were not verified, and the proof assumes the underlying cryptography is perfect.

What to watch next: independent scrutiny of the open-sourced proofs and technical paper; whether DeepMind extends the method to group messaging and key generation; whether Google turns AlphaProof Code into a commercial service; and whether the same approach is applied to other critical software, from banking systems to medical devices and power-grid controls.