Google DeepMind researchers have introduced AlphaProof Code, a new agentic framework that successfully performed formal verification on the cryptographic code underlying the Signal protocol. The achievement marks the first time artificial intelligence has been used to formally verify a widely deployed cryptographic protocol at this depth, addressing a security challenge that has persisted for decades.

What Happened

AlphaProof Code operates as a multi-LLM agentic framework designed to split the labor of formal verification between human experts and AI agents. According to the research team, human experts collaborated with a mix of models to translate Signal’s security goals into formal mathematical specifications. Subsequently, agents powered by Gemini Carbon generated over six million lines of Lean, a computer language used to mathematically prove code accuracy. The system then audited these proofs, flagging only one percent of the codebase for human review, while Lean automatically verified the remainder.

The verification process specifically targeted the compiled code rather than just the design, proving that the implementation fulfills key security properties, such as protecting messages before and after a device is temporarily compromised. This distinction is critical because real-world vulnerabilities often emerge from discrepancies between a protocol's design and its actual code. To validate the system's reliability, the researchers reintroduced two previously fixed bugs into an isolated version of Signal's code; in both instances, AlphaProof Code produced machine-checked proofs identifying the buggy versions as insecure.

Why It Matters

This development signals a potential shift in how critical infrastructure handles software security. Cryptographic protocols underpin nearly all digital communication, including online banking and web browsing, where a single flaw can expose millions of users. Historically, formal verification—the highest standard of security assurance—has been prohibitively labor-intensive, often taking expert teams years to complete for smaller scopes. DeepMind reports that their process took just four weeks, demonstrating that AI agents can significantly scale the application of rigorous security proofs.

The implications extend beyond messaging apps. DeepMind suggests that this approach can help defend against agent-driven cyber threats by providing mathematical proof that software protections work. The team notes that verifying Signal’s core cryptography lays groundwork for securing other vital systems, such as medical device firmware and power grid software. By combining automated theorem proving with agents like CodeMender for proactive defense, the industry may move toward a model where elite security assurance is accessible for businesses and governments facing increasingly complex cyber risks.

The Bottom Line

Google DeepMind’s AlphaProof Code represents a significant milestone in automated software verification, successfully proving the security of the Signal protocol's code in a fraction of the traditional time. The company has open-sourced the formal verification artifacts and published a technical paper to allow the community to build upon this work.