AlphaProof Code: AI Agents Formally Verify Signal's Crypto

On November 10, 2026, Google DeepMind announced something the security world has treated as a grand challenge for decades: AI agents formally verified the cryptographic code behind the Signal protocol. The system is called AlphaProof Code, and it did in four weeks what DeepMind says historically takes expert teams years.

Signal's protocol protects billions of private conversations, not only in the Signal app but also in Google Messages. Until now, formal verification of a widely deployed protocol at this depth had never been done by AI, and DeepMind says the implementation itself had never been verified by any method at all.


 AI agents working through formal proofs to verify Signal's cryptography.  Source: NewsCarpenter illustration.

What AlphaProof Code actually is

AlphaProof Code is a multi-LLM agentic framework for formal verification. It splits the work the way a research team would: human experts work with AI to decide what to prove, and a group of AI agents does the proving.

First, researchers worked with a mix of models to translate Signal's security goals into formal mathematical specifications, with human experts reviewing every one. Then agents powered by Gemini Carbon wrote the proofs, generating over six million lines of Lean, a language that lets a computer check a proof step by step.

The agents did not stop at writing proofs. They audited their own work and flagged the parts that needed a second look by a human, which came to about one percent of the codebase. Because Lean checks the rest automatically, the experts could spend their time where human judgment actually matters.

Why this verification is different

Most formal verification of protocols stops at the design on paper. AlphaProof Code went further. It proved that the compiled code fulfills the key security properties, down to the exact code running on devices.

That gap between design and implementation is where real vulnerabilities hide. A protocol can be sound on paper and still fail because of a bug in the code that ships. Closing that gap is what makes these proofs much more complex than earlier efforts, and more useful because of it.

The properties covered include Signal's post-quantum PQXDH handshake, the step where two phones agree on keys, and the Triple Ratchet, which keeps rotating those keys as a conversation goes on. The proofs cover message confidentiality and authenticity, forward secrecy, and post-compromise security: in plain terms, messages stay protected even if a device is temporarily compromised.

DeepMind also ran a control test. Researchers reintroduced two real, previously fixed bugs into an isolated copy of Signal's code. In both cases, the system produced a machine-checked proof that the buggy version was insecure. That is the kind of negative test that separates a real verification from a rubber stamp.

What it actually means

For Signal users, nothing changes today. There is no patch to install and no setting to change. This is extra assurance about code that already ships, not an app update.



Signal's safety-number verification, the user-facing side of the protocol DeepMind verified. Source: BleepingComputer.

For the rest of the software world, the implications are bigger. Formal verification has long been the highest standard of security assurance and also one of the most labor-intensive. If agents can compress years of expert work into weeks, that standard becomes reachable for far more systems. DeepMind points to medical device firmware and power grid software as the next candidates, and pairs the work with automated defense agents such as CodeMender to counter threats at machine speed.

The open-source angle matters here too. DeepMind published the formal verification artifacts on GitHub under the Apache 2.0 license, including the Lean proofs, the AArch64 machine-code semantics, and a paper-to-code map. Anyone can inspect the proofs, rebuild them, and build on the method. The repository is google-deepmind/code-verification.

What was not proved

Honest limits matter as much as the headline. The work covers the core cryptographic protocol code, not the full Signal app. Group chats, multi-device behavior, and the operating system around the app are outside the scope. The low-level cryptographic primitives were treated as assumed-secure building blocks rather than proved from scratch, and the proofs target one compiled platform, AArch64 Linux.

No new vulnerabilities turned up in the parts examined, which is reassuring but not the same as a guarantee that none exist anywhere. DeepMind is clear that scaling the technique to whole apps and whole supply chains still needs more research, and the cost of running this kind of verification has not been disclosed.

What to watch next

The first thing to watch is reuse. The artifacts are public, so independent researchers and other labs can now test whether the method holds up outside DeepMind's hands and whether it transfers to other protocols and codebases.

Next, scope. Signal's core crypto is a contained, well-specified target. The harder question is whether agent-driven verification can climb to larger, messier systems without the proof effort exploding. DeepMind's next results will show whether four weeks for Signal becomes a template or stays a showcase.

Finally, the defensive side. Verification proves code meets its specification; it does not write the specification. As agent-written code spreads, the bottleneck moves to deciding what "correct" means in the first place. That is still a human job, and AlphaProof Code is built around it.

This is part of a wider pattern of agents moving from writing code to checking it. DeepMind's own agents recently found cracks in legacy RSA-1024, and OpenAI's agents found a Brotli RCE flaw earlier this year. The difference here is that the agents did not just find a bug. They proved, mathematically, that the code does what it promises.

Read the announcement at Google DeepMind's blog, and if you want to see how agent frameworks are organized in practice, our earlier look at Google's Agent Skills playbooks is a useful companion.

Comments

Popular posts from this blog

Open-Source AI Weekly: Bonsai, GigaChat 4 Lead

Claude Claims Proof of Riemann Hypothesis After 167 Years

How to Build an AI Agent with LangGraph in 30 Minutes