Google DeepMind's AI agents verify Signal's core encryption code
In short
- What it is: AlphaProof Code is a system from Google DeepMind in which several AI language models work as a team to prove, with mathematical certainty, that a program does what it should. This is called formal verification. DeepMind says it used the system on the real code behind the Signal protocol, the encryption that protects private chats in Signal and Google Messages.
- How it works: people and AI models first write down, in exact mathematical form, what the code must guarantee. AI agents then write the proofs in Lean, a proof language whose checker accepts only proofs that are logically valid.
- The result: DeepMind says the agents wrote over six million lines of Lean in four weeks, a job it says historically takes expert teams years. It also says only about one percent of the codebase needed a second human look.
- The catch: this is DeepMind's own account on its blog. The post says artifacts are being open-sourced and points to a technical paper, which we have not read, and no outside group has checked the claim in what we saw.
6 million+ lines of Lean written by the agents; 4 weeks time for the verification, DeepMind says; ~1% of the codebase flagged for a second human review; 2 previously fixed real bugs put back, both caught
What was verified
Signal's protocol is designed to keep messages private even if a phone is briefly compromised. Cryptographers have studied such designs for decades, but, as DeepMind's post puts it, most verification stops at the design level. Real flaws often hide in the gap between the design on paper and the code that actually runs.
DeepMind says its agents went further: they proved that the compiled code fulfils the key security properties "down to the exact code running on devices". One example it gives is keeping messages protected before and after a device is temporarily compromised. The post says this shows Signal's core cryptographic code delivers the protections the experts specified.
DeepMind calls this the first time AI has formally verified a widely deployed cryptographic protocol at this depth. It also says it is the first time the implementation of such a protocol has been formally verified by any method, with or without AI. Both are the company's claims.
How the work was split
DeepMind describes the framework as splitting formal verification the way a research team would.
- Decide what to prove. DeepMind researchers worked with a mix of models to turn Signal's security goals into formal specifications. Human experts reviewed every one.
- Write the proofs. Agents powered by Gemini Carbon, a DeepMind model, generated the proofs, over six million lines of Lean.
- Audit. The agents checked the proofs and marked the places that needed a human second look: about one percent of the codebase. Lean checks the rest automatically, so reviewers could concentrate on the parts where judgment matters.
The people matter here. A proof is only as good as the specification it proves, which is why humans reviewed every one. A proof that the code meets a wrong or incomplete specification would not catch the problem.
The bug test
To see whether the system can tell correct code from buggy code, DeepMind reintroduced two real, previously fixed bugs into an isolated copy of Signal's code. In both cases, it says, the system produced a machine-checked proof that the buggy version was insecure. The post does not say what the two bugs were.
Two bugs is a small test. The post does not say how the system would fare on flaws nobody has found yet, and the verified properties are the ones the experts chose to specify, not every possible weakness.
What Signal said, and what comes next
Signal's chief technology officer, Ehren Kret, is quoted on the post. He calls using AI agents to translate live code into valid Lean theorems "a great breakthrough" that gives "even greater confidence" in the protocol's privacy guarantees. DeepMind also thanks three Signal staff for feedback on its methodology.
DeepMind says the approach could help secure other systems, naming medical device firmware and power grid software, and that scaling it "requires continued research". It suggests pairing formal verification with CodeMender, its earlier AI agent for code security. It says it is open-sourcing its formal verification artifacts for community use.
Terms in plain English
- Formal verification: proving by mathematics, not by testing, that a program meets a precise description of correct behaviour.
- Lean: a programming language and proof assistant. If a proof written in it has a gap, Lean's checker rejects it, so the checker, not the AI, is what you trust.
- Specification: an exact, mathematical statement of what the code must do or guarantee.
- Signal protocol: the encryption scheme behind private messaging in Signal and Google Messages.
- AI agent: a language model set up to carry out a multi-step task on its own, here writing and fixing proofs.
Where things stand
The post is dated 10 November 2026 and links a technical paper. We have not read it, and the claims are DeepMind's own. With the artifacts open-sourced, independent researchers can in principle check the proofs, since Lean makes that mechanical.
Sources
- Introducing AlphaProof Code: a breakthrough in verifying complex software at depth, Google DeepMind, 10 November 2026
Sources
More from AI Research Labs
- NVIDIA announces Nemotron 4 open models, Super due early 2027
- NVIDIA introduces cuPlasma, a GPU library for fusion plasma simulation
- NVIDIA releases CodonFM 5B, an open 5-billion-parameter mRNA model
- Cursor is now Grok Build, the AI coding app of SpaceX's Grok team
- Belfort Labs releases Bel-0, an AI chatbot that works on encrypted prompts