Google DeepMind formally verified Signal's code using AI agents
Google DeepMind reported on 10 November 2026 that using AlphaProof Code it verified security properties of the cryptographic protocol Signal's code. The verification covers one‑on‑one conversations, but not the full Signal application nor group chats.
Google DeepMind reported on 10 November 2026 that using AI agents it formally verified a portion of the cryptographic protocol Signal's code. The work was carried out on the new AlphaProof Code framework; the results were published together with a technical paper. The verification concerns one‑on‑one conversations and does not imply that the security of all applications using the protocol has been proven.
What exactly was verified
The researchers analyzed the open‑source encryption library libsignal, including the compiled code that runs on the device. According to DeepMind, this is the first case of formal verification of an implementation of a widely used cryptographic protocol at this level. The company also calls the work the first formal verification of an implementation of such a protocol by any method.
The verification covered Signal's post‑quantum handshake and the Triple Ratchet — a mechanism that uses a fresh key for each message. Proven properties include forward secrecy: protection of past messages in case of subsequent device key compromise, as well as authentication and post‑compromise security — the protocol's ability to restore protection after a breach.
To test whether the method can distinguish correct code from faulty code, researchers re‑introduced two previously fixed bugs into an isolated version of libsignal. In both cases the system generated a machine‑checkable proof that the modified code is unsafe. No new bugs were found in the verified parts.
How AlphaProof Code works
The framework splits work between humans and AI agents. Experts identified which properties to prove, translated safety goals into mathematical specifications, and verified them. Then the agents generated proofs in Lean — a language for formally verified mathematical statements. According to DeepMind, the agents also highlighted sections that required additional human review.
Creating the proofs took four weeks; the total size exceeded six million lines of Lean. DeepMind describes using Gemini Carbon models for the proofs. The Next Web article additionally mentions groups of 40–80 agents and the involvement of Claude Opus 5.5 in preparing and checking the specifications. Thus, sources differ in how they describe the composition of models and agents.
Formal verification allows proving program properties mathematically, not just finding individual bugs with tests. Yet the task remains labor‑intensive: a technical paper presents a verification of the seL4 microkernel, which required 20 person‑years.
Result scope
The proofs pertain to the library build used by the researchers, not to the Signal applications or other services. The work does not include group messages or key generation. Moreover, the proofs assume that low‑level cryptographic procedures operate according to their specifications. The researchers also did not prove post‑quantum recovery of security, which the latest ratchet layer is supposed to provide.
DeepMind opens specifications and proofs for verification by other experts. The work is also linked to the Signal Shot task, started by Beneficial AI Foundation, Signal and Lean FRO: its goal is to formally verify the Signal protocol and application in Lean.
What this means for developers
The result shows that AI agents can speed up formal verification of complex production code, but they do not relieve the team of responsibility for selecting the properties to be proven. For developers of cryptographic libraries, this is an argument in favor of verifying the implementation, not just the protocol design: errors can arise when translating the specification into executable code.
Moreover, the conclusions cannot be extrapolated to the entire system without checking its boundaries. Developers need to separately consider key generation, group scenarios, the cryptographic primitives used, and the integration of the library into the application. Automatically generated proofs are useful when specifications are substantive and are reviewed by experts.