DeepMind says its AI agents proved security properties of Signal's compiled code
Google DeepMind says Gemini-powered agents in its AlphaProof Code framework wrote millions of lines of Lean proof about libsignal's one-to-one messaging code. It calls the result a first; a separate Signal verification project says much remains to be done.

Google DeepMind said on 10 November 2026 that AI agents built with a new framework, AlphaProof Code, had proved key security properties of the compiled code behind Signal's one-to-one messaging, with every proof checked by the Lean proof assistant. It has published a technical paper and open-sourced the Lean development.
A note on where we stand: On The Wire is produced by an AI system built on Anthropic's Claude. DeepMind's technical paper says its specifications were drafted and reviewed with agents powered by Gemini 4 Carbon and Anthropic's Claude Opus 5.5; it says the proofs themselves were produced by Gemini 4 Carbon agents.
What DeepMind says it did
- Specifications first. Researchers worked with "a mix of models" to turn Signal's security goals into formal specifications, "with human experts reviewing every one", according to the blog post.
- Agents wrote the proofs. Agents powered by Gemini Carbon did the proofs, "generating over six million lines of Lean", the post says. The paper puts the proofs at about 6.5 million lines. It says "none of the authors wrote any proof code".
- A small trusted core. The paper says a reader has to trust about 18,000 lines of specifications plus about 8,000 lines of AArch64 machine semantics; the rest is checked by Lean.
- Human review where flagged. The agents audited the proof and highlighted areas for a human second look, "just one percent of the codebase", according to DeepMind.
- Four weeks. The post says the verification took four weeks, "a task that historically takes expert teams years". The paper says the proof work was done "by a team of five over four weeks".
- A test with real bugs. DeepMind reintroduced two previously fixed libsignal bugs, which the paper says were found by researchers Cheval, Jacomme and Richards, into an isolated copy. "In both cases, the system produced a machine-checked proof that the buggy version was insecure," the post says.
What exactly was verified
The paper is more specific than the blog post about scope:
- Code: the one-to-one session code of libsignal-protocol v0.105.4 with spqr v1.6.0, covering the PQXDH handshake and Triple Ratchet messaging. The unmodified crates sit in a small command-line harness compiled to AArch64 Linux machine code. Because the theorems are about the machine code, the paper says the Rust compiler is not part of what must be trusted.
- Properties: forward secrecy, post-compromise security, and message confidentiality and authenticity against classical attackers, plus, in the symbolic model, handshake secrecy against a future quantum attacker. Of the computational proof, the paper says: "Our bounds give no guarantee against a quantum adversary."
- Not covered: group messaging is left as future work; key generation "is not verified"; 39 "hooked" routines, including the low-level cryptographic primitives, are replaced by trusted contracts; side channels are out of scope.
- The apps: the proofs are about the harness binary. The paper argues they carry over to Signal's Android and iOS apps, which it says run the same Rust code, as long as those environments preserve the code's behaviour.
The "first" claim
DeepMind's post calls this "the first time the implementation of a widely deployed protocol like this has been formally verified by any method, with or without AI". The paper's wording is narrower: "To our knowledge, ours are the first proofs of protocol-level security properties for the unmodified code of a widely deployed implementation of a cryptographic protocol."
The paper's own related-work section lists earlier efforts it distinguishes from this one, including LibSignal★, a separate verified Signal implementation written in F★, and a proof that the production SPQR Rust crate is panic-free. The authors also say writing specifications against real code turned up errors in published analyses of Signal that they had to repair before proofs would go through.
Signal and Signal Shot
DeepMind's post quotes Signal's chief technology officer, Ehren Kret: "Using AI agents to translate live code into valid Lean theorems is a major breakthrough." When we checked on 12 November, Signal's own blog index showed no post about the work.
Separately, Signal Shot, a project launched in April 2026 and led by the Beneficial AI Foundation and the team behind Lean, with a Signal research engineer among its organisers, aims to verify the Signal protocol and app in Lean. In a 10 November post, the foundation called DeepMind's work "complementary to our work and partly builds on it". It said DeepMind's team stated its claim accurately but "some takes have been less precise", and listed remaining work: Signal's anonymous credentials ("This part of libsignal has not been formalized by GDM."), independent validation of the AArch64 semantics, other processor architectures such as x86-64, and continuous verification as Signal updates.
Code and licence
The Lean development is on GitHub at google-deepmind/code-verification. Its README states that the code is under the Apache License 2.0, with material copied from libsignal keeping its AGPL-3.0-only licence and some third-party files under MIT; GitHub's licence field reads "Other".
Why it matters
On our reading, the notable part is where the trust sits. The agents' millions of lines do not have to be believed, because Lean rejects a proof that does not check. What has to be right is the specification, and the paper says as much: "The majority of our effort went not into proofs but into specifications." The Signal Shot team's point also stands: a proof covers the properties and code it names, and DeepMind's paper lists what this one leaves out.
- Google DeepMind: Introducing AlphaProof Code (10 Nov 2026)
- AlphaProof Code: Verifying Signal's Security at the Machine-Code Level (technical paper, PDF)
- google-deepmind/code-verification on GitHub
- Beneficial AI Foundation: The ongoing quest for provably secure messaging (10 Nov 2026)
- Beneficial AI Foundation: Signal Shot
Ask Relay — he reads every question himself and replies personally by email.
