DeepMind Uses AI to Mathematically Prove Signal Is Secure, Because Apparently We Trust Math Now
Google DeepMind's AlphaProof Code spent four weeks mathematically verifying Signal's cryptographic guarantees, proving the protocol is secure - and that AI can now do math homework faster than humans.
In a development that will delight cryptographers and terrify anyone who's ever typed "I have nothing to hide" into a group chat, Google DeepMind researchers have used agentic AI to formally verify key cryptographic guarantees of the Signal protocol. The project, conducted in just four weeks as a proof-of-concept, is a landmark for both the widely used cryptography and AI itself - because nothing says "trust us" like a machine checking another machine's homework.
The work matters for two reasons. First, it provides further independent validation of the cryptography protecting massive quantities of global communications on platforms like Signal, Google Messages, and WhatsApp. Second, it showcases DeepMind's formal verification chops using a new AI framework called AlphaProof Code. Because if you're going to have an AI poke holes in your security, you might as well make it a Google-branded one.
AI-aided formal verification is having a moment, though it remains unclear how practical it will be for widespread use or how effective it can be at securing large amounts of code. Proponents have long called formal verification the holy grail of software security, since it uses math to check that software functions as intended - i.e., that it doesn't contain critical vulnerabilities. Before the AI era, this process was incredibly time-consuming: humans had to describe the software characteristics they wanted to prove, turn those summaries into formulas, and then develop the proof. Agentic AI can significantly cut down the time required for that last part, enabling analyses like DeepMind's Signal evaluation. But even this analysis was limited in scope - it did not, for example, formally verify the entire Signal mobile app - and DeepMind researchers emphasize their findings are just one milestone in a larger process.
"We are very excited by this result, but there is a long distance to go before we are able to scale this to all the software of the world, and we want to do that," Swarat Chaudhuri, a DeepMind research scientist, tells WIRED. So, baby steps. Very mathematically rigorous baby steps.
The DeepMind analysis found no new vulnerabilities in the portions of the Signal protocol it examined. But when researchers ran AlphaProof Code on older versions of Signal containing known, long-fixed vulnerabilities, it correctly identified them and showed the protocol could not be formally verified. In other words, the AI can spot a bad lock when it sees one - and it's not shy about saying so. The researchers are releasing the specification and proof they developed to aid other formal verification work, presumably so the rest of us can also enjoy the warm glow of mathematical certainty.
While the project's speed was notable, DeepMind researchers note they got a head start thanks to past formal verification work conducted by the Signal Foundation. "While prior formal verification focused on smaller portions of the code, Google DeepMind's approach enables significant expansion," Ehren Kret, Signal's chief technology officer, said in a statement. "As AI-driven security threats grow, rigorously verifying the Signal protocol implementation gives us even greater confidence in our code's privacy guarantees." Confidence is nice. Math is better.
For critical services used in high-stakes settings, formally verifying every code base and entire software supply chains would be a dream. "If you can now verify the correctness of these implementations, then you can rest easy," says Pushmeet Kohli, chief scientist at Google Cloud and DeepMind's vice president of research. "You can imagine banks, imagine all those other companies who rely on assurances and who worry about bugs who could now say, 'I can prove these properties.'" Yes, imagine: banks, finally able to prove their software works. What a time to be alive.
The open question across the tech sector is whether AI-automated formal verification can truly scale - and whether it can do so at a workable cost. DeepMind conducted the Signal analysis free of charge as a research project, and Google declined to share the cost of the analysis. The company also declined to comment on whether it plans to release a commercial formal verification product or service. So, don't hold your breath for a "DeepMind Verified" sticker on your banking app just yet.
The researchers say some of their crucial advancements are in developing a "human-AI collaboration process," as Chaudhuri puts it, allowing agents to contribute and self-correct at almost every phase while still seeking human input and review at key junctures. "We don't want this sort of vibe world where AI is generating the goals and AI is generating the proofs and basically taking tests that are self-written," Chaudhuri says. "There's a middle ground." A middle ground between human oversight and AI autonomy - what a concept. Somewhere, a product manager just felt a chill and doesn't know why.
This story originally appeared on wired.com.
The Good Times
News in your inbox.
One sardonic roundup, delivered on your schedule. Free. Unsubscribe whenever your tolerance for wit runs out.
Already subscribed but we never reach your inbox? Check your spam folder and hit 'Not spam' (or 'Remove from spam') to bust us out of junk-mail purgatory. You'll be helping everyone else too.
Don't open any of our emails for a month and you'll be automatically removed from the mailing list.
Rewrite Article
Select parts to regenerate with a fresh AI pass. Translations will be updated automatically.
Generate AI Image
Creates a sardonic version of the article image using OpenAI.