Proof of concept: AI verifies Signal's core code in four weeks

Billions of private conversations rest on one cryptographic protocol, the technology behind apps like Signal and Google Messages. On November 10, Google DeepMind said its researchers had guided AI agents to mathematically prove key security properties of the code that actually runs that protocol, not only of its design. The method, called AlphaProof Code, took four weeks.
Formal verification means proving, mathematically, that code runs without flaws. It is the highest standard of security assurance, and it is slow. AlphaProof Code splits the work the way a research team would: human experts decide what to prove, and AI agents do the proving. Researchers first turned Signal's security goals into formal specifications, each reviewed by a human expert. Agents powered by Gemini Carbon then wrote over six million lines of Lean, a computer language used to check code mathematically. The agents flagged the areas needing a second look from a person, one percent of the codebase, while Lean checks the rest automatically.
The hard part sits between design and implementation. Most protocol verification stops at the design level, yet real-world vulnerabilities often hide in the gap with the code. Here the agents proved that the compiled code keeps messages protected before and after a device is temporarily compromised, down to the exact code running on devices. As a control, the team reintroduced two previously fixed bugs into an isolated version of Signal's code. In both cases the system produced a machine-checked proof that the buggy version was insecure, which shows it can tell correct code from flawed code.
The announcement comes from DeepMind's blog, and the coverage that followed adds limits. Wired, which reported the work as a four-week proof of concept, and other outlets stress its scope: the team checked chosen protocol guarantees, not the whole Signal mobile app. One analysis of the results found no new vulnerabilities in the portions it covered, and on older Signal versions it flagged known flaws that had long been fixed. Signal's chief technology officer, Ehren Kret, said earlier work covered smaller portions of the code. Coverage also notes that Signal's protocol is small, heavily studied and publicly documented, close to the best case for this method. Industry experts quoted by tldr.tech and mezha remain unsure how the approach scales to large codebases. One figure on DeepMind's site cites three million lines of machine-checked proof, against six million lines of Lean in the blog post, and the difference is not explained.
For now, the concrete change is for teams that build security-critical software. DeepMind says the groundwork could help secure businesses, governments and critical infrastructure, and extend to medical device firmware and power grid software, alongside its automated defense agent CodeMender. No timeline is given, and scaling still requires continued research. Google declined to share what the analysis cost or to say whether it will launch a commercial product, and DeepMind ran the analysis free of charge.
What comes next is openness. DeepMind says it is open-sourcing its formal verification artifacts for community use, and a technical paper accompanies the announcement. Scaling these techniques still requires continued research.
Sources — read the originals(Paris time)
Pages consulted while writing
Read next
Comments
Loading the thread…
Sign in to leave a comment. Sign in