Google DeepMind says its AI agents mathematically proved that the core code behind Signal’s encryption keeps its key promises. That is a real milestone. It is also narrower than the headline “proved secure” suggests. Here is what was checked, what was left out, and what it means for the messages on your phone.
The short version
On Nov 10, 2026, Google DeepMind announced AlphaProof Code, a system in which AI agents write mathematical proofs about real software. Its first big target was libsignal, the open source code library that carries out the Signal protocol, the encryption used by Signal and, in versions of it, by other messaging apps [1][2].
DeepMind says the agents proved that one specific version of that code, compiled into the machine instructions a processor runs, keeps messages private and authentic in chats between two people, including keeping messages protected “before and after a device is temporarily compromised” [1][2]. A proof checker called Lean confirmed every step. DeepMind calls it the first time the code of a widely used protocol like this has been formally verified “by any method, with or without AI” [1].
The limits matter as much as the result. The proof does not cover the Signal app itself, group chats or multiple linked devices, and it assumes the underlying encryption math is as strong as experts believe. It also depends on a human approved rulebook of about 19,000 lines that says what “secure” means [3][5]. No new security bugs were found [5].
The work took a team of five people four weeks. DeepMind has not said what it cost [2][5].
What happened
DeepMind researchers Pushmeet Kohli and Swarat Chaudhuri announced the work in a blog post on Nov 10, with a technical paper and the full set of proofs published openly [1][2][4]. Signal’s own engineers, Rolfe Schmidt, Michael Rosenberg and Ehren Kret, gave feedback on the method, according to DeepMind [1].
Signal’s chief technology officer, Ehren Kret, said in a statement published by DeepMind: “As AI-driven security threats grow, rigorously verifying the Signal protocol implementation gives us even greater confidence in our code’s privacy guarantees” [1].
DeepMind did the work for free as a research project, and Google declined to say how much it cost or whether it plans a product, WIRED reported [5].
First, what is formal verification?
Most software is checked by testing: you try lots of inputs and see what happens. Testing can find bugs, but it can’t show there are none, because nobody can try every possible input.
Formal verification uses math instead. You write down, very precisely, what the software must and must not do. That precise rulebook is called a specification, or spec. Then you build a proof, a step by step argument that the code follows the spec in every possible case [2].
The catch has always been effort. Proofs about real code are enormous and slow to write. By the paper’s account, verifying the seL4 operating system kernel took about 20 person years, and the CompCert C compiler took about six [2].
Here is the one idea to hold on to through the rest of this report: a proof shows that the code follows the spec. It can’t show that the spec asks for the right things. A flawless proof of the wrong rulebook is still a proof of the wrong thing.
How the proof was made

DeepMind split the work the way a research team might [1][2]:
- People and AI write the goals. Researchers worked with AI models, which the paper names as Gemini 4 Carbon and Claude Opus 5.5, to turn Signal’s security goals into formal specs. Human experts reviewed every one.
- AI agents write the proofs. Teams of 40 to 80 agents powered by Gemini 4 Carbon worked in runs of 24 to 72 hours. None of the paper’s authors wrote proof code. The result is about 6.3 million lines of proof in Lean, a programming language built for checking math. (The first version of the paper said 6.5 million, and DeepMind’s blog says “over six million” [1][2][3].)
- Lean checks every step. Lean accepts a proof only if every step follows its rules, so nobody has to trust the AI that wrote it. Anyone can rerun the check, though it takes several hours and about 15 to 34 gigabytes of memory [4].
- People review what the agents flag. DeepMind’s blog says the agents flagged “just one percent of the codebase” for a second look by a human [1]. That figure appears in the blog, not in the technical paper.
The whole effort took a team of five people four weeks [2]. “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,” Chaudhuri told WIRED [5].
What exactly was checked
The details here are what separate this from a general “Signal is secure” claim [2][4]:
- One version of one library. The target was libsignal-protocol version 0.105.4, together with Signal’s spqr version 1.6.0, unchanged. These are written in the Rust programming language.
- The compiled machine code. DeepMind compiled that code with the standard Rust compiler into machine code for 64 bit Arm processors running Linux, wrapped in a small test tool it built called libsignal-cli. The proofs are about runs of that compiled program. Because of that, the proofs don’t depend on the Rust compiler being correct. A compiler bug that broke security would have made the proofs fail.
- Two protocol pieces. The first is PQXDH, the opening handshake two Signal users perform to agree on a shared secret, designed to resist future quantum computers. The second is the Triple Ratchet, which keeps changing the encryption keys as messages flow.
- Three operations. Starting a session, encrypting one message and decrypting one message. Along the way the proof covers how session data is stored, how out of order messages are handled and the memory allocator.
- No crashes. The paper also proves the program never crashes, loops forever or runs out of memory within set limits.
In the current version of the paper, the checked program is about 744 kilobytes of code, about 186,000 machine instructions [3].
The paper has changed since launch. DeepMind has kept working on the project since Nov 10. A Nov 11 update to its public code verified 10 more library routines, and a Nov 19 update followed [19]. The paper’s web version now says every routine the program runs, including the encryption math code, is checked as machine code. The first version had left 39 low level routines as unchecked assumptions [2][3]. We found no changelog explaining every change, so this report uses the current web version’s figures and notes where the first version differed.
What the proof says, in plain English
The paper proves two sets of results, using two different models of the attacker [2]. The plain English lines below are our summary of the paper’s tables, not DeepMind’s wording.
In a symbolic model, which treats the math building blocks as perfect black boxes:
- Forward secrecy: stealing a phone’s keys today does not unlock messages sent before.
- Post compromise security: after a temporary break in, the conversation heals so later messages are safe again (against ordinary, non quantum attackers).
- Handshake authentication: when a chat starts, each side is talking to who it thinks.
- Resistance to impersonation: stealing Bob’s keys does not let an attacker pretend to be Alice to Bob.
- Handshake secrecy: the starting secret stays secret even if a future quantum computer breaks the older math, as long as the post quantum part holds. This guards against “harvest now, decrypt later,” where someone stores your messages today hoping to crack them later.
- Session independence: a key leaked from one conversation doesn’t expose another.
In a computational model, closer to a real attacker with limited computing power:
- Confidentiality: an attacker can’t tell which of two messages was sent, except with a tiny, measured probability.
- Authenticity: an attacker can’t get a forged message accepted, except with a tiny, measured probability.
The bug test
How do you know a proof system can tell good code from bad? DeepMind tried it. The team put two real, previously fixed bugs back into an isolated copy of libsignal. Both bugs had been found earlier by the researchers Vincent Cheval, Charlie Jacomme and Jessica Richards [2][7]. In both cases, the system produced a machine checked proof that the buggy version broke the security rules [1][2].
That test matters because it shows the spec is strong enough to catch at least these two real mistakes.
What was not proved

The paper is careful about its limits. Here is what sits outside the proof [2][5]:
- The Signal app. In the paper’s words, the results concern its own test build, “not Signal’s own applications.” WIRED notes it “did not, for example, formally verify the entire Signal mobile app.”
- Group chats. The paper leaves group messaging “as future work.”
- Multiple devices, such as a phone and a laptop linked to one account.
- Creating the keys. Key generation was not verified. The proof takes the keys as given.
- Whether the encryption math is unbreakable. The proof checks the code that runs the encryption and hashing math, but it assumes the math itself is strong: for example, that nobody can forge a signature or undo a hash without the key. That is standard for this kind of proof [3].
- Side channels, meaning leaks through things like timing.
- Quantum attackers, in the computational proof. It gives “no guarantee against a quantum adversary.” The extra post quantum healing that Signal’s newest ratchet layer is meant to add is not proved in either model.
- Extreme scale. The computational guarantee has a limit. At extreme scale its math bound stops meaning anything, the paper says [3].
- Replayed first messages. The paper now says its forward secrecy and post compromise security results “do not rule out the replay-based loss of forward secrecy” described in earlier research [3][7]. The real code includes a defense against this, but the model doesn’t rely on it.
- Other devices. The proof is about a single threaded Arm Linux test build. The paper doesn’t claim results for the iPhone, Android or desktop builds.
No source we found discusses everyday risks like someone holding your unlocked phone, cloud backups or screenshots. The proof is about the encryption code, not about those.
What you still have to trust
A proof is only as good as its starting points. Here, you have to trust [2]:
- the spec, about 19,000 lines of definitions that humans approved
- a Lean model of how the Arm processor and Linux behave, about 8,000 lines. The paper says this “cannot be proved.” DeepMind tested it against other processor models and emulators instead
- Lean’s own checker
- the strength of the encryption math itself
- fresh randomness, enough memory and a clean starting process
The upside is that a reviewer can read about 27,000 lines of definitions instead of 6.3 million lines of proof. The downside is that 27,000 lines is still a lot to get right [3].
What outside experts say
Most coverage quoted only DeepMind and Signal. Two outside researchers have since posted reactions:
- Nadim Kobeissi, an applied cryptographer, credited parts of the method but argued on LinkedIn that “the security properties named in the abstract cover less than they suggest.” He wrote that the authentication result only shows Alice completed a handshake “with some peer (not necessarily Bob),” that forward secrecy doesn’t rule out a known loss through replayed messages, and that the healing the Triple Ratchet exists to add “is proved in neither model.” He also noted that trusting the result, as first published, means reading about 18,000 lines of definitions plus a log of more than 200 places where the proof departs from earlier papers or from libsignal. He credited the bug test: the authors “re-inject two fixed libsignal bugs and prove the theorem false on the result” [17].
- Dan Wallach wrote on LinkedIn that it is “an amazing effort, with a refreshing amount of human-in-the-loop to make sure that the properties they’re proving are the right ones” [18].
DeepMind’s own researchers point at the same weak spot. “We really believe that the next frontier is not going to be proof but specification in this kind of research,” Chaudhuri told The Register [6].
Two earlier views, written before this announcement, frame the same question. Distributed systems researcher Martin Kleppmann predicted in December 2025 that AI would make formal verification mainstream, and that the hard part would become the spec: “How do you know that the properties that were proved are actually the properties that you cared about?” [16]. And when Signal, the Beneficial AI Foundation and the Lean FRO launched a separate open challenge called Signal Shot in April 2026, Leonardo de Moura, a co-founder of the Lean FRO, asked: “Cryptographers. We need your eyes on the definitions before anyone proves anything” [13][14]. DeepMind calls its result “a significant milestone towards” that challenge [2].
Does this cover WhatsApp or Google Messages?
Not directly, as far as any source shows. DeepMind’s blog says the Signal protocol protects “billions of private conversations in apps like Signal and Google Messages” [1]. The paper says “variants” of the protocol run in WhatsApp, Messenger and Google Messages [2]. Variants are not the same code.
WhatsApp’s own encryption white paper says the Signal Protocol “is the basis for WhatsApp’s end-to-end encryption.” But it doesn’t name libsignal or mention the post quantum pieces that DeepMind checked [15]. No source we found says WhatsApp runs the exact code that was proved.
How we got here
DeepMind had a head start. WIRED reports the team got a head start from past formal verification work that the Signal Foundation has conducted [5]. The paper lists nearly a decade of earlier analyses [2]:
- 2017 to 2020: Cohn-Gordon, Cremers, Dowling, Garratt and Stebila gave the first formal security analysis of the original Signal handshake and the Double Ratchet [10].
- 2019: Alwen, Coretti and Dodis defined and proved the Double Ratchet’s security [11].
- 2024: Bhargavan, Jacomme, Kiefer and Signal’s Rolfe Schmidt checked the PQXDH design and found issues in an early version of its spec [8].
- 2025: Rune Fiedler and Felix Günther analyzed PQXDH in a computational model [9]. Signal and the company Cryspen proved that the post quantum ratchet’s Rust code won’t “panic,” a kind of crash [2][12].
- 2026: Cheval, Jacomme and Richards found the two libsignal bugs DeepMind later put back in [7].
What DeepMind says is new is proving security properties about the unmodified code that actually ships, down to machine code [2]. The “first” is DeepMind’s claim. The paper also says writing specs against real code turned up errors in earlier published analyses, including 15 gaps or bugs in the 2019 Double Ratchet analysis [2]. We did not find responses from those authors.
What it means for you
If you use Signal, this work didn’t turn up a new bug, so there is no fix tied to it [5].
What changed is the evidence. The core encryption code behind chats between two people now has a machine checked proof behind specific promises, under stated assumptions. That is stronger than “experts looked at it.” It still isn’t a promise that the whole app, your phone or your group chats are flawless.
The bigger story may be cost. If AI agents can do in four weeks what once took expert teams years, more of the software people rely on could get this kind of check. DeepMind says it wants to extend the approach to other systems, from medical device firmware to power grid software [1]. Whether it scales at a reasonable cost is still an open question, and the price of this project hasn’t been disclosed [5].
What we know / Still unclear
What we know
- DeepMind’s agents produced machine checked Lean proofs that one compiled build of Signal’s core library keeps key promises in chats between two people [2].
- The proofs check the compiled machine code, so they don’t rely on the Rust compiler being correct [2].
- The guarantees depend on a human approved spec, the strength of the encryption math and a model of Arm and Linux [3].
- DeepMind has updated the paper and code since launch, and now checks routines it first assumed [3][19].
- Two old, fixed bugs were caught when put back in [1][2].
- No new vulnerabilities were found [5].
- A team of five took four weeks. The cost is not disclosed [2][5].
- The specs and proofs are public for others to check [1][4].
Still unclear
- Whether any outside cryptographer has rerun the proofs or fully reviewed the specs. We found reactions, not a review.
- What the project cost in computing and money [5].
- Whether the result carries over to the builds inside Signal’s iPhone, Android and desktop apps [2].
- Whether WhatsApp, Messenger or Google Messages use this exact code [2][15].
- Whether DeepMind will check new libsignal releases before they ship. The paper says the team is “keen to,” with no commitment [2].
- How the authors of earlier analyses respond to the errors DeepMind says it found.
Words to know
- Formal verification: using math to prove software always follows a written rulebook, for every possible input.
- Specification (spec): the rulebook. A proof only shows the code follows it.
- Lean: a programming language and proof checker that accepts a proof only if every step follows its rules.
- Signal protocol: the rules for end to end encrypted messaging that Signal created.
- libsignal: Signal’s open source code library that carries out the protocol.
- End to end encryption: only the sender and receiver can read a message, not the company running the servers.
- Machine code: the low level instructions a processor actually runs.
- Forward secrecy: stolen keys today can’t unlock messages sent before.
- Post compromise security: after a temporary break in, a conversation heals so later messages are safe.
- PQXDH: the handshake Signal users perform to agree on a shared secret. “PQ” means post quantum.
- Triple Ratchet: the part of Signal that keeps changing keys as messages flow, with a post quantum layer added.
- Quantum computer: a different kind of computer that, if built at large scale, could break some of today’s encryption math.
Sources
- Google DeepMind, Pushmeet Kohli and Swarat Chaudhuri, “Introducing AlphaProof Code: a breakthrough in verifying complex software at depth,” Nov 10, 2026. https://deepmind.google/blog/introducing-alphaproof-code/
- Google DeepMind, Chaudhuri, Ferraiuolo, Kovsharov, Chajed, Schlesinger, Seth, Katz, Sutton and Kohli, “AlphaProof Code: Verifying Signal’s Security at the Machine-Code Level,” technical paper, first version (PDF), Nov 10, 2026. https://deepmind.google/documents/36/Formal_Verification_of_Signal_4.pdf
- Google DeepMind, project page, current HTML version of the paper and artifacts (checked Nov 22, 2026). https://google-deepmind.github.io/code-verification/
- Google DeepMind, google-deepmind/code-verification (GitHub repository). https://github.com/google-deepmind/code-verification
- WIRED, Lily Hay Newman, “A New AI Tool From Google DeepMind Proved the Signal Protocol Is Secure,” Nov 10, 2026. https://www.wired.com/story/a-new-ai-tool-from-google-deepmind-formally-verified-the-signal-protocol/
- The Register, “Google DeepMind melds humans and AI agents to vet Signal’s secure messaging techniques,” Nov 10, 2026. https://www.theregister.com/ai-and-ml/2026/11/10/google-deepmind-melds-humans-and-ai-agents-to-vet-signals-secure-messaging-techniques/5308625
- Vincent Cheval, Charlie Jacomme and Jessica Richards, “Automated formal analysis of Signal’s Double Ratchet: Attacks, fixes and security proofs,” IEEE S&P 2026 (IACR ePrint 2026/727). https://eprint.iacr.org/2026/727
- Bhargavan, Jacomme, Kiefer and Schmidt, “Formal verification of the PQXDH post-quantum key agreement protocol for end-to-end secure messaging,” USENIX Security 2024. https://www.usenix.org/conference/usenixsecurity24/presentation/bhargavan
- Rune Fiedler and Felix Günther, “Security analysis of Signal’s PQXDH handshake,” PKC 2025 (IACR ePrint 2024/702). https://eprint.iacr.org/2024/702
- Cohn-Gordon, Cremers, Dowling, Garratt and Stebila, “A formal security analysis of the Signal messaging protocol,” Journal of Cryptology, 2020. https://doi.org/10.1007/s00145-020-09360-1
- Alwen, Coretti and Dodis, “The Double Ratchet: Security notions, proofs, and modularization for the Signal protocol,” EUROCRYPT 2019. https://doi.org/10.1007/978-3-030-17653-2_5
- Signal, “The sparse post-quantum ratchet (SPQR),” 2025. https://signal.org/blog/spqr/
- Beneficial AI Foundation, “Signal Shot,” April 2026. https://www.beneficialaifoundation.org/signal-shot
- Leonardo de Moura, “Signal Shot: The Platform Is Ready,” Apr 20, 2026. https://leodemoura.github.io/blog/2026-4-20-signal-shot-the-platform-is-ready/
- WhatsApp, “WhatsApp Encryption Overview,” technical white paper, version 10, Oct 30, 2026. https://www.whatsapp.com/security/WhatsApp-Security-Whitepaper.pdf
- Martin Kleppmann, “Prediction: AI will make formal verification go mainstream,” Dec 8, 2025. https://martin.kleppmann.com/2025/12/08/ai-formal-verification.html
- Nadim Kobeissi, LinkedIn post on AlphaProof Code, Nov 11, 2026. https://www.linkedin.com/posts/nadimkobeissi_introducing-alphaproof-code-a-breakthrough-activity-7526139159934078977-k_zn
- Dan Wallach, LinkedIn post on AlphaProof Code, Nov 10, 2026. https://www.linkedin.com/posts/dan-wallach-a712_more-amazing-software-verification-work-activity-7525966883464912897-Vobd
- Google DeepMind, google-deepmind/code-verification commit history (Nov 11 and Nov 19, 2026 updates). https://github.com/google-deepmind/code-verification/commits/main
