SurviAGI
← Public previews

Nov 15, 2026 | DeepMind says AI agents proved key Signal security properties at machine-code level

PUBLIC PREPRINT · NOT APPROVEDVersion 1

DeepMind's paper says AI agents produced about 6.5 million lines of Lean proofs about the compiled libsignal library. The claim is much narrower than "AI proved Signal secure": it covers ten stated properties under explicit assumptions, and we found no independent review or reproduction.

DeepMind's paper backs a narrower claim than its social media posts. According to the paper, AI agents produced machine-checked proofs that one compiled build of Signal's open-source protocol library meets ten stated security properties. Those proofs hold only under explicit assumptions. They do not show that the Signal app as people use it is secure. All of the evidence below comes from DeepMind. As of the evidence cutoff of 15 November 2026, SurviAGI found no independent review of the theorem statements.

What DeepMind announced

Google DeepMind published a 57-page paper, "AlphaProof Code: Verifying Signal's Security at the Machine-Code Level", dated 10 November 2026. It lists nine authors from Google DeepMind and Google. The paper does not name a peer-review or publication venue.

The company's launch post, "Introducing AlphaProof Code", says AI agents proved key security properties of the compiled code underlying the Signal protocol. It calls this the first AI-assisted formal verification of a widely deployed cryptographic protocol at this depth. The paper's own "first" is narrower. It claims the first protocol-level security proofs for a widely deployed, unmodified implementation. It says earlier work verified protocol designs, reimplementations such as LibSignal*, or narrower properties.

DeepMind's X account went further. It said AI had "mathematically proven" that Signal's protocol is secure "down to the code level", and that the verified system "protects billions of private messages every day". The paper itself limits its results to stated properties, to a command-line build of libsignal v0.105.4 running one-to-one sessions, and to a list of assumptions. It says the results do not cover Signal's apps.

What was actually proved

The paper describes three parts. A human-guided agent writes specifications in the Lean proof language. A formal semantics defines what AArch64 (64-bit Arm) machine code does. A team of autonomous prover agents then writes the proofs. A proof is accepted only if Lean's kernel checks it against the approved specification. A tool called comparator must also confirm that the theorem statement and its definitions match a held-out copy of the specification, and the proof may use only Lean's standard axioms.

The target, per the paper, was the unmodified libsignal Rust code at version 0.105.4, restricted to one-to-one sessions. Group messaging is left as future work. The authors compiled the code with the standard rustc compiler into a command-line harness for AArch64 Linux called libsignal-cli. The compiler is not trusted: the theorems are about the resulting machine code itself. Low-level cryptographic primitives are described by contracts rather than verified line by line.

The proofs cover two parts of the protocol: the post-quantum PQXDH handshake and the Triple Ratchet, which keeps updating keys as a conversation goes on. According to the paper, the proofs establish four properties for the compiled binary against classical attackers. These are forward secrecy, post-compromise security, message confidentiality and authenticity. The paper also says it proves handshake secrecy against a future quantum attacker, but only in the symbolic model. The work uses two models. The symbolic model, a Dolev–Yao model, assumes cryptography is perfect. The computational model uses game-based reductions, and its bounds give no guarantee against a quantum adversary. The paper lists ten theorems. We found no published independent check of their statements.

How the work was split between AI and people

The proofs come to about 6.5 million lines of Lean. With comments, the repository holds nearly 7 million lines. About 5.3 million of those concern the binary, about 860,000 are the computational proof, about 350,000 are the symbolic proof and about 140,000 cover the reintroduced bugs described below. DeepMind's blog and X post say "over six million lines", which matches.

The paper says a team of five did the work over four weeks. Agent teams powered by Gemini 4 Carbon produced every proof, and none of the authors wrote proof code. Each proof campaign ran 40 to 80 agents for 24 to 72 hours on a single machine. Specifications came out of back-and-forth between the humans and agents powered by Gemini 4 Carbon and Claude Opus 5.5. The effort figures are self-reported. The paper does not give total compute or cost, and the blog's "just four weeks" does not mention team size.

The paper also describes what the people did. They chose the scope and the reference models, guided and approved the trusted statements, designed the specification structure and proof strategy, decided on amendments and reviewed escalated issues. Most of their effort went into specifications rather than proofs.

DeepMind's blog says human experts reviewed every formal specification. It also says agents flagged areas needing a second human look, amounting to about one percent of the codebase. DeepMind's X post shortened this to experts reviewing only "the critical 1%", a phrase the blog does not use. The paper excerpt SurviAGI reviewed does not say what the 1% is measured against, so it is unclear how the figure relates to the trusted base described below.

For context, the paper says earlier milestones were costly. By its account, verifying the seL4 microkernel took twenty person-years and verifying the CompCert compiler took six, and both were written with verification in mind. That comparison is DeepMind's own. The scope and properties of those projects differ from this one, so it is not like-for-like.

What you still have to trust

A machine-checked proof is only as meaningful as the statement it proves. The paper says a reader must trust about 26,000 lines. That figure is made up of about 18,000 lines of specifications and definitions in the repository and about 8,000 lines of AArch64 semantics. The reader must also trust the symbol names in a Lean representation of the compiled machine code, which Lean checks against the executable's bytes. Beyond those lines, the trusted base includes Lean's kernel, the contracts for hooked routines, the assumed properties of the cryptographic primitives, and the symbol-extraction and build tools.

The machine semantics cannot itself be proved correct. It covers 467 instructions and 31 system calls in 7,532 lines, and the authors validated it by testing it against the Unicorn emulator, Arm's Sail model and qemu.

SurviAGI's judgment is that this work moves the bottleneck from writing proofs to writing and reviewing specifications. Whether an AI-produced proof can be trusted depends on that human-reviewed trusted base, not on how many lines the proof runs to. Six and a half million lines checked by Lean say little if one of the 26,000 trusted lines states the wrong property.

Did it catch real problems?

As a test, the team reintroduced two libsignal bugs that Cheval et al. had found and that have since been fixed, known as "weak state" and "small subgroup". They did this by reversing the upstream fix commits. They then obtained complete Lean proofs that the bug-injected binaries violate the symbolic security theorem. Only the symbolic theorem was refuted, because refuting the computational theorem would require proving hardness assumptions. The bugs were known in advance. The test shows that the specification catches known bugs, not that the system can discover new ones.

The team also reports that, while writing specifications, it found errors in published analyses that had to be repaired. These include 15 gaps or bugs in a computational analysis of the Double Ratchet and errors in ProVerif queries printed by Cheval et al. SurviAGI found no response from the original authors.

Limits

The paper states its limits plainly. The symbolic guarantees assume perfect cryptography. Side channels and secrets held in memory are out of scope. The theorems do not rule out a known replay-based loss of forward secrecy. The computational bounds give no guarantee against a quantum adversary, and they restrict the attacker in ways the literature does not. Further assumptions include one session per promotion, fixed-length messages, no multi-device state, and identity keys trusted on first use. When nearly every message starts a new epoch, the statistical terms make the bound meaningless at around 25,000 messages in a single session.

The scope is also narrow. The results concern the authors' own build of libsignal-cli: libsignal v0.105.4, one-to-one sessions, compiled for AArch64 Linux. They do not concern Signal's applications, and group messaging is not covered.

Signal's response and what remains unverified

DeepMind's blog quotes Signal CTO Ehren Kret, who says that rigorously verifying the Signal protocol implementation "gives us even greater confidence in our code's privacy guarantees." We have not confirmed the quote through Signal's own channels.

The paper says the full Lean development, with all specifications and proofs, is public. The project page links to github.com/google-deepmind/code-verification and names libsignal-protocol v0.105.4 with spqr v1.6.0. SurviAGI has not confirmed the license, and it is not known whether anyone outside DeepMind has rebuilt the proofs.

SurviAGI's assessment: every piece of evidence here comes from DeepMind, and we found no independent reproduction or third-party review of the theorem statements. What the work delivers is a machine-checked proof of specified properties for one compiled build, under stated assumptions. It is not a guarantee that Signal as people use it is secure. The artifacts are public, which makes outside checking possible. Our view would change if independent cryptographers reviewed the 26,000-line trusted base and its theorem statements and found them sound, or if outsiders rebuilt the proofs from the repository. A published flaw in a specification would change it in the other direction.