Google DeepMind announced this week that it successfully used artificial intelligence to formally verify critical security properties of the Signal Protocol — the same encryption standard that protects messages on billions of devices worldwide. The project, completed in just four weeks using the AlphaProof Code framework, represents a milestone at the intersection of artificial intelligence and computer security, showing that AI systems can now, for the first time, generate mathematical proofs to validate that a protocol's code behaves exactly as intended.
Formal verification is widely considered the holy grail of software security. Unlike conventional testing — which verifies software against a finite set of scenarios — formal verification uses rigorous mathematics to demonstrate that a certain behavior is guaranteed under all possible circumstances. This means not just that the software works correctly in known scenarios, but that entire classes of bugs are impossible. Historically, however, producing these proofs required months or years of manual work by formal methods specialists.
What DeepMind did differently was delegate much of this grueling work to an AI agent. AlphaProof Code, a framework built on the AlphaProof system — which had already demonstrated silver-medal performance at the 2024 International Mathematical Olympiad — receives a high-level description of the security properties that must be verified and, on its own, translates those intentions into formal logical formulas, generates proof candidates, searches for counterexamples, and when necessary, self-corrects its own proofs. According to Swarat Chaudhuri, a research scientist at DeepMind, the system still needs human oversight at key steps, but the AI's ability to suggest and self-correct proofs dramatically reduces the time required.
In the specific case of the Signal Protocol, used by billions of users in apps like Signal, Google Messages, and WhatsApp, DeepMind focused its effort on a subset of the mobile app's cryptographic code. The researchers did not verify the entire Signal app — the scope was deliberately limited to parts that can be meaningfully formalized. The result? No new vulnerabilities were found in the sections analyzed. Even more striking: when the researchers ran AlphaProof Code on older versions of Signal containing known vulnerabilities (already fixed in current versions), the AI correctly identified those flaws and demonstrated that the older code could not be formally verified.
This might sound like a simple test case, but it is actually quite significant. Many skeptics of AI-automated formal verification would argue that finding known flaws does not prove the system can find new flaws. But the ability to prove that certain security properties hold — rather than merely detecting specific breakages — is a qualitative leap. A formal proof error is not a bug that can be ignored; it is a fundamental failure in logic, and having an AI generate mathematically verifiable proofs that contain no errors is a genuine advancement.
The DeepMind team publicly released the formal specification, proof scripts, and a methodological summary in an open-access repository. The project benefited from prior work by the Signal Foundation, which had conducted formal verifications on smaller components of the code. According to Ehren Kret, chief technology officer of Signal, Google's approach enabled a significant expansion beyond prior efforts. "While prior formal verification focused on smaller portions of the code, Google DeepMind's approach enables significant expansion," Kret said. "As AI-driven security threats grow, rigorously verifying the Signal protocol implementation gives us even greater confidence in our code's privacy guarantees."
The question that remains is whether this approach can scale. The project was conducted as research, with costs undisclosed and no commercial plans announced. Google declined to share the cost of the analysis or whether it has plans to launch a commercial formal verification product. DeepMind itself emphasizes that this is merely one milestone on a long path — formally verifying an entire messaging application like Signal is infinitely more complex than verifying an isolated cryptographic protocol, and even within this limited scope, many parts of the system remain uncovered.
Still, the results have direct implications for everyday digital security. If AI-assisted formal verification can be extended to other encryption protocols, financial systems, and critical infrastructure, it could become a new standard for demonstrating regulatory compliance and software security trust. For companies that depend on encrypted communication — banks, healthcare providers, journalists — this technology could, in a not-too-distant future, become as essential as penetration testing already is today. The question is no longer whether AI can help with software security, but how far it can go before hitting fundamental limits of verifiability.
Sources: Wired, DeepMind Research, AI Understanding
✓ Independent sources cross-checked and verified before publishing