In Short: Google DeepMind has used AI to mathematically verify specific security properties of Signal’s encryption software. The research highlights how AI could help strengthen the security of software that protects sensitive communications.
Google DeepMind has demonstrated a new application of artificial intelligence in cybersecurity. In research published on November 10, 2026, the company showed how its AlphaProof Code framework can help verify the security of software through mathematical proofs.
The Google AI Signal encryption verification research focused on libsignal, the reference implementation of Signal’s cryptographic protocol. Rather than looking only at the protocol’s design, researchers examined its compiled code to determine whether it met specific security requirements.
For the project, AI agents generated approximately 6.5 million lines of mathematical proof code. These proofs were checked using Lean, a programming language and proof assistant that allows researchers to verify mathematical claims.
The research addresses an important challenge in software security: even carefully designed systems can develop vulnerabilities through implementation errors. By applying formal verification to compiled code, Google DeepMind has demonstrated how AI could help researchers establish stronger security guarantees and identify flaws that conventional testing might overlook.
What Is Google DeepMind’s AlphaProof Code?
AlphaProof Code is a multi-agent AI framework developed by Google DeepMind to help researchers verify software using mathematical proofs.
This approach, known as formal verification, uses mathematical reasoning to determine whether software behaves according to specific requirements.
The difference between traditional testing and formal verification is important. A conventional software test might check whether an application encrypts a message correctly under certain conditions. Formal verification goes further by attempting to prove that defined security properties hold across all possible executions covered by the mathematical model.
AlphaProof Code brings together human expertise and AI agents to support this process. Its approach involves three main stages:
- Specification: AI agents help translate software requirements into precise mathematical statements, which researchers review.
- Code representation: The software is converted into a formal model so researchers can examine its behavior at the machine-code level.
- Proof generation: AI agents generate mathematical proofs to establish whether the software meets the specified requirements.
Lean plays a central role in the final stage. It is a programming language and proof assistant that checks whether the generated mathematical proofs are valid through its trusted verification kernel.
This is an important distinction: the AI does not simply claim that software is secure. The generated proofs must pass Lean’s independent mathematical checks before they can be accepted.
How Google AI Signal Encryption Verification Works
To test AlphaProof Code in a real-world security project, Google DeepMind applied the framework to libsignal, the reference implementation of the Signal messaging protocol.
The goal was to determine whether the compiled software met specific cryptographic security requirements, rather than simply checking whether its source code appeared correct.
This distinction matters because a security protocol can be well designed while its actual implementation still contains errors. Google’s researchers used AI agents and mathematical verification to examine how the compiled code behaved and whether it satisfied the security properties defined for the study.
The process involved several key stages.
1. Converting Security Requirements Into Mathematical Specifications
The first challenge was translating Signal’s security goals into precise mathematical statements.
Researchers worked with AI models to develop formal specifications describing the security properties that needed to be verified.
Human experts reviewed these specifications before the proof-generation process.
This human involvement was essential because mathematical verification depends on what the specifications actually require. A proof can establish that software satisfies a particular specification, but it cannot automatically establish that the specification covers every security concern.
2. Examining Compiled Machine Code
One of the most interesting parts of the research was its focus on compiled machine code.
Software developers normally write source code using programming languages such as Rust. A compiler converts that source code into machine instructions that processors can execute.
Bugs can potentially appear in the implementation process, even when the original design is correct.
To address this issue, the researchers compiled libsignal using the standard Rust compiler into AArch64 Linux machine code.
They then connected the compiled code to a formal machine-code model represented in Lean.
This allowed the verification process to examine the behavior of the compiled implementation rather than relying exclusively on an abstract description of the encryption protocol.
The researchers reported that the verified code covered approximately 140,000 AArch64 instructions.
Importantly, this was a research verification build of libsignal, not a claim that every production version of the Signal application on every device was examined.
3. AI Agents Generated Mathematical Proofs
After establishing the specifications and machine-code representation, AI agents worked on generating the proofs.
The agents produced approximately 6.5 million lines of Lean proof code.
These proofs were not accepted simply because an AI model generated them. Lean’s trusted kernel checked their mathematical validity.
The research also involved approximately 26,000 lines of trusted specifications and AArch64 machine-code semantics underlying the proofs.
The entire proof effort took four weeks, with five researchers directing the work and running AI agents in parallel.
This demonstrates how AI can potentially reduce the specialist effort required for formal verification of complex software.
Which Security Properties Did Google Verify?
The researchers focused on important security guarantees associated with the Signal protocol, including its PQXDH handshake and Triple Ratchet.
The work covered both symbolic and computational security models.
Some of the important properties included:
| Security property | What it protects |
| Forward secrecy | Helps protect previously established message secrets if certain long-term keys are compromised later. |
| Post-compromise security | Allows message security to recover after certain key compromises, provided the required protocol conditions are met. |
| Message confidentiality | Helps ensure that unauthorized parties cannot read protected messages. |
| Message authenticity | Helps ensure that messages are genuinely associated with their authenticated sender. |
| Handshake secrecy | Protects secret information established during the initial cryptographic handshake. |
The researchers also examined handshake secrecy against a future quantum attacker in the symbolic security model.
However, that finding should not be interpreted as proof that every part of Signal is resistant to every possible quantum attack.
The distinction between symbolic and computational security models matters because they use different assumptions about how cryptographic attacks are represented.
How Did the AI Verification System Detect Existing Bugs?
Google DeepMind also tested whether AlphaProof Code could identify security problems rather than simply generate proofs for software that was already working.
The researchers took two previously fixed bugs from libsignal and deliberately reintroduced them into isolated versions of the code.
The verification system then demonstrated mathematically that the modified versions violated the specified security properties.
This experiment was important because it showed that the framework could distinguish between an implementation satisfying the relevant security requirements and one containing certain known security mistakes.
It does not mean the framework can automatically discover every unknown vulnerability, but it provides evidence that the approach can help detect meaningful implementation errors.
Why Is This Research Important for the Future of Cybersecurity?
Modern software is becoming increasingly complex. Applications depend on multiple libraries, programming languages, cryptographic components and external services.
Even a relatively small implementation mistake can create a security weakness.
Traditional testing remains important, but testing individual scenarios cannot establish every possible behavior of a complex program.
Formal verification offers a stronger form of assurance by using mathematical proofs to establish specific properties.
The challenge has historically been the amount of time and specialist knowledge required.
Google’s research shows how AI agents could help automate significant parts of this process.
Potential applications include:
- Messaging platforms: Verifying cryptographic implementations that protect private communications.
- Financial systems: Checking important security properties in payment and transaction software.
- Operating systems: Examining low-level components that manage memory and system permissions.
- Medical technology: Helping verify software responsible for safety-critical device operations.
- Critical infrastructure: Improving assurance for software used in systems such as power grids.
These are potential applications of the research approach, not systems that Google has already verified using AlphaProof Code.
AI-powered security tools are becoming increasingly important, but protecting digital accounts also depends on how authentication systems are designed and managed. If you want to understand what happens when access to a device is lost, read our guide on what happens to passkeys if you lose your phone.
Does This Mean Signal’s Encryption Is Now Completely Secure?
No. This is an important distinction.
Google DeepMind’s research establishes specific mathematical security properties for the examined libsignal implementation under defined assumptions.
It does not prove that the entire Signal application is free from vulnerabilities.
The research does not automatically cover:
- Every part of Signal’s mobile and desktop applications.
- Vulnerabilities in users’ phones or operating systems.
- Device malware, spyware or compromised accounts.
- Every possible implementation environment.
- Security problems outside the properties included in the specifications.
The verification also relies on trusted components, including Lean’s verification kernel, the formal machine-code model and assumptions about underlying cryptographic primitives.
Consequently, the findings provide stronger assurance about important parts of Signal’s cryptographic implementation, rather than an unlimited guarantee of security.
Could AI Verify More Software in the Future?
Google DeepMind sees AI-assisted formal verification as a potential way to make mathematical software proofs more practical.
Traditionally, developers often focus on writing and testing software, while formal verification is reserved for systems where the cost of a security failure is particularly high.
AI agents could change that workflow by helping developers create specifications, generate proofs and identify code that needs additional human review.
Another possibility is integrating verification directly into software development.
Instead of checking security only after a program has been completed, developers could potentially require important changes to pass formal verification before being added to a production release.
However, scaling this approach to large software systems remains a challenge. Specifications must be accurate, trusted components must be carefully examined, and human experts still need to review important security decisions.
What Google’s Signal Research Means for AI and Software Security
The AlphaProof Code research represents an important development in how AI can contribute to cybersecurity.
Rather than simply generating code or identifying suspicious programming patterns, AI agents helped produce mathematical evidence about the security behavior of a real cryptographic implementation.
The most significant aspect is the move from verifying a protocol’s theoretical design to examining its compiled implementation.
For users, this does not mean their messaging applications have become impossible to hack. For software developers and security researchers, however, it demonstrates a promising approach to checking whether critical software delivers the protections it is designed to provide.
If similar techniques can be extended to other complex systems, AI-assisted formal verification could become an important part of future software security.
Frequently Asked Questions
1. What is AlphaProof Code by Google DeepMind?
AlphaProof Code is a multi-agent AI framework that helps researchers formally verify software using mathematical specifications and machine-checked proofs.
2. What did Google AI verify in Signal?
Google DeepMind used AlphaProof Code to verify specific security properties of libsignal, the reference implementation of the Signal protocol, at the compiled machine-code level.
3. Did Google AI write 6.5 million lines of code?
No. The AI agents generated approximately 6.5 million lines of Lean mathematical proof code, not 6.5 million lines of Signal application code.
4. What is Lean used for in formal verification?
Lean is a programming language and proof assistant that allows mathematical statements and proofs to be checked by a trusted verification kernel.
5. Does Google’s research prove Signal cannot be hacked?
No. It verifies specific cryptographic security properties under defined assumptions. It does not establish that the entire application, users’ devices or every part of the surrounding infrastructure is completely secure.
6. When did Google DeepMind announce AlphaProof Code?
Google DeepMind published its announcement and technical research on November 10, 2026.
Research Sources
- Google DeepMind – Introducing AlphaProof Code: A Breakthrough in Verifying Complex Software at Depth.
- Google DeepMind – AlphaProof Code: Verifying Signal’s Security at the Machine-Code Level.
- Google DeepMind’s open-source verification repository containing the research specifications and proofs.
Original research and announcement:
https://deepmind.google/blog/introducing-alphaproof-code/
Technical research paper:
https://google-deepmind.github.io/code-verification/
Open-source research artifacts:
https://github.com/google-deepmind/code-verification/