The Signal · Issue 09 · Frontier Models
Google DeepMind's agents proved Signal's encryption code secure, down to the machine code. People still had to define 'secure'
AlphaProof Code used agents powered by Gemini Carbon to write about 6.5 million lines of machine-checked proof that a compiled build of Signal's protocol library has the security properties experts specified. It took four weeks. The specifications, and the paper's own list of what they leave out, are the part to read.
Facts are attributed and linked to their sources. The analysis and opinions are the author's own.
What it is
On 10 November Google DeepMind introduced AlphaProof Code, a multi-agent framework for formal verification, and used it on libsignal, the reference implementation of the Signal protocol. Researchers worked with a mix of models to turn Signal's security goals into formal specifications in Lean, a language for machine-checked proofs, and human experts reviewed every specification. Agents powered by Gemini Carbon then wrote the proofs. According to the technical paper, they produced about 6.5 million lines of Lean proof resting on about 26,000 lines of trusted specifications and machine-code semantics. The proofs cover Signal's post-quantum PQXDH handshake and its Triple Ratchet, and establish forward secrecy, authentication, post-compromise security and handshake secrecy for an AArch64 executable built from unmodified libsignal code. Google DeepMind says the agents flagged about 1% of the work for human review, and the whole verification took four weeks.
The paper sets this against earlier landmarks: the formally verified seL4 microkernel took 20 person-years, the CompCert verified C compiler six, and both were written with verification in mind. To check that the specifications could catch real flaws, the team reintroduced two bugs found and fixed in libsignal earlier. For both, they produced Lean proofs that the security theorem fails for the buggy build. The Rust compiler is not trusted in the proof: a compiler bug that broke the security properties would make the proof fail.
Why it matters
Payments, online banking and card authentication all depend on cryptographic code, and most of it is assured by testing and review, which finds bugs but cannot show there are none. A proof can, for the properties it states. If the cost really falls from person-years to weeks, formal verification stops being something only microkernel teams can afford and becomes something a bank could ask a supplier of a critical library to provide.
A machine-checked proof moves the question from "is the code right?" to "did we ask for the right thing?"
That is why the limitations section matters as much as the headline. The paper says its symbolic proof assumes perfect cryptography, and its separate computational bounds give no guarantee against a quantum attacker and become vacuous for very long sessions. Side channels and other secrets in memory are out of scope. The results concern the team's own build of the libsignal command-line tool, not Signal's apps, and some environment assumptions are argued informally rather than proved. None of this weakens the result; it defines it. Issue 03 made the same point about another large AI-written proof: read what it does not prove. In my view, anyone citing this work to a board or a regulator should cite the specification and the exclusions with it. The Lean development is open source, so independent experts can check exactly that.
What I'd watch
- Whether independent cryptographers review the published specifications and find gaps.
- Which system Google DeepMind verifies next; it names medical-device firmware and power-grid software as candidates.
- Whether suppliers of cryptographic and payment libraries start offering machine-checked proofs with their releases.
Sources
- Introducing AlphaProof Code: a breakthrough in verifying complex software at depth Google DeepMind, 10 Nov 2026.
- AlphaProof Code: Verifying Signal’s Security at the Machine-Code Level Google DeepMind technical paper, 10 Nov 2026.
- google-deepmind/code-verification GitHub repository.