Search The Nerdy Humourist

AlphaProof Code Signal Verification Proves the Encryption Behind Billions of Chats

Demis Hassabis, co-founder of Google DeepMind, at the 2024 Nobel Prize ceremony — AlphaProof Code Signal verification

Google DeepMind says it has done something nobody had managed before: a machine-checked mathematical proof that the code behind Signal’s encryption does what it promises. The AlphaProof Code Signal verification, announced on November 10, 2026, covers the compiled code itself — the exact machine instructions that run on a phone’s processor — instead of a paper description of the protocol. It’s a proof about software people actually use, not a model of it.

That distinction is the whole story. Cryptographers have known for years how to prove a protocol secure on paper. The trouble starts when programmers turn that protocol into code. A single mishandled key, a wrong state transition, a missed edge case — any of those can quietly break a guarantee the maths said was solid. DeepMind’s team went after that gap. They took libsignal, the open-source library that implements the Signal protocol, and proved properties of the compiled binary itself.

The same protocol protects chats in Signal, WhatsApp, and Google Messages. Billions of conversations a day run on it. DeepMind calls the result the first verification to connect protocol-level security guarantees to an unmodified, widely deployed cryptographic implementation at this depth. Nobody, with or without AI, had pulled that off before, according to the company.

What the AlphaProof Code Signal proof actually covers

The target was specific: libsignal version 0.105.4, paired with SPQR version 1.6.0, the post-quantum extension. Researchers wrapped the unmodified crates in a small command-line harness and compiled them with stock Rust for AArch64 Linux. Nothing in the library itself was changed to make the proof easier. The agents then generated about 6.5 million lines of Lean proof. Lean is a language for writing mathematical proofs a computer can check, and every one of those lines was checked by Lean’s kernel.

An independent count the next day came out higher: 7,528,293 lines across 11,323 files, with zero “sorry” in the headline proofs. In Lean, “sorry” is a placeholder that lets a proof skip a step. Finding none of them in the headline proofs means nothing was left hand-waved.

The proof covers the post-quantum PQXDH handshake — the exchange that sets up a conversation — and the Triple Ratchet, the system that rotates the key for every message. Ten symbolic theorems came out of it. They cover forward secrecy, which keeps old messages secret even if a current key leaks; authentication, which checks the other side is who they claim to be; post-compromise security, which lets a conversation heal after an attacker loses access; and handshake secrecy. All of it applies to one-to-one sessions.

A second, computational argument sits alongside the symbolic theorems. It bounds what an attacker can do inside the researchers’ model. Neither argument claims no one can ever read a message. Both say the same narrower thing: inside the stated model, with the stated assumptions, the code keeps the promises its specification makes.

How four weeks replaced years of work

Five researchers spent four weeks on the project. That sounds short because it is. Formal verification used to be measured in person-years. Verifying the seL4 microkernel — a tiny piece of software by comparison — took about 20 of them. DeepMind describes this job as one that historically takes expert teams years.

The setup was not fully automatic. Humans wrote the formal specification, decided what “secure” should mean, reviewed the definitions, and kept final approval. The AI agents did the grinding: specification agents helped translate Signal’s security goals into formal maths, and proof agents wrote the proofs. The proof agents ran on Gemini 4 Carbon. One detailed breakdown of the announcement notes the specification agents used Gemini 4 Carbon and Claude Opus 5.5. The agents flagged only about 1% of the work for a second look by a human. Lean’s kernel checked the rest, line by line, without getting tired or bored.

The effort answers a challenge issued in April 2026 by the Beneficial AI Foundation: formally verify the Signal protocol using Lean. DeepMind has open-sourced the artifacts at github.com/google-deepmind/code-verification, commit 808b4b7, under the Apache 2.0 licence, alongside a technical paper.

Demis Hassabis at Nobel Week 2024 in Stockholm — AlphaProof Code Signal proof announced by Google DeepMind
Photo: Jennifer 8. Lee, CC BY-SA 4.0, via Wikimedia Commons — file photo, Demis Hassabis at Nobel Week 2024.

The control test: two old bugs, caught on cue

A proof system that says “secure” about everything is useless. DeepMind tested that. The team took two bugs that had been found and fixed in older versions of Signal — one called “weak state”, the other “small subgroup” — and put them back into an isolated copy of the code. Then they ran the framework against it.

Both times, AlphaProof Code produced a machine-checked proof that the buggy version was insecure. The system could tell good code from bad code. It didn’t just rubber-stamp whatever it was handed.

It also found no new vulnerabilities in the code it examined, according to WIRED. That’s the result Signal users will care about most, and it’s worth saying plainly: the proof doesn’t mean the app can never be hacked. It means this specific code, in this specific setup, keeps the specific promises that were written down for it.

Signal’s chief technology officer, Ehren Kret, said the work “gives us even greater confidence in our code’s privacy guarantees.”

What the AlphaProof Code Signal proof doesn’t cover

The limits matter as much as the achievement, and DeepMind’s own paper is open about them.

Group messaging is future work. The proof covers one-to-one sessions only. Key generation wasn’t verified. Sealed sender — the feature that hides who’s messaging whom — sits outside it, along with the server code. Side-channel attacks, where an attacker learns secrets from timing or power use, aren’t covered either.

Then there’s the biggest assumption of all. The underlying cryptographic primitives are assumed secure, not proven. The proof says: if the maths underneath holds, the code built on it keeps its promises. That’s standard for this kind of work, and it’s still a limit worth knowing about.

SPQR’s post-quantum healing property — the feature meant to restore security against a future quantum attacker — was not proved. And the computational proof covers classical attackers, not quantum ones. The proof also applies to libsignal running in a test harness, not the full Signal app on a phone. The app, the servers, the key servers, the screen that shows a safety number: none of that was in scope.

Google's offices at 6 Pancras Square, London, home to Google DeepMind — AlphaProof Code Signal verification
Photo: ClemRutter, CC BY-SA 4.0, via Wikimedia Commons — file photo, Google’s Pancras Square offices, London, 2018.

Why it still matters

None of those limits takes away what happened here. A job that took expert teams years now took five people four weeks, with AI agents doing the bulk of the proof-writing and a machine checking every step. The method scales in a way person-years never could. If it holds up, the same approach could reach other widely used cryptographic libraries — the boring, load-bearing code the internet runs on.

There’s a second point, quieter but just as real. The proof is public. Anyone can download the artifacts, read the specifications, and check the work. In security, that kind of openness counts for a lot. Claims about encryption usually ask for trust. This one hands over the maths instead.

Signal users don’t need to do anything. There’s no patch to install, no setting to change, no account step tied to the announcement. The work changes what researchers know about the code, not what users do with the app. Still, the next time someone asks whether the encryption behind their chats has been checked, there’s now a better answer than “trust us.” It’s been proved — 6.5 million lines of it, checked by a machine, in four weeks.

FAQ

Does this mean Signal is unhackable now?

No. The proof covers specific properties of one library, libsignal, in one-to-one chats, running in a test harness. It doesn’t cover the full app, group chats, servers, or side-channel attacks. It says the code keeps the promises written down for it — nothing more, and nothing less.

What did the AI actually do?

Agents powered by Gemini 4 Carbon wrote the Lean proofs — about 6.5 million lines of them — after humans wrote the specification and decided what “secure” should mean. Lean’s kernel then checked every proof mechanically. People kept final approval throughout.

How is this different from a security audit?

An audit reads code and looks for bugs. This is a mathematical proof that certain properties hold for the compiled code, checked by a machine. The team even tested it by reintroducing two old, fixed bugs — and the system correctly proved the buggy versions insecure.

Will this change anything for Signal users?

Not directly. No update or action is needed. The value is in the confidence: the encryption code behind Signal, WhatsApp, and Google Messages now has a machine-checked proof behind it, and the artifacts are public for anyone to inspect.

anurag

anurag is the founder and editor of The Nerdy Humourist, an independent digital news outlet covering the United States and the world — breaking news, entertainment, technology, business, sports, automobiles, and movies.