Google DeepMind's AI agents formally verify Signal's encryption code: 6.5 million lines of proof in four weeks
AlphaProof Code proved key security properties of libsignal down to the compiled machine code. DeepMind calls it a first for any method, with or without AI. The catch: the proofs rest on stated assumptions, and the hard part has moved from proving to specifying.

TL;DR
- Google DeepMind introduced AlphaProof Code on Nov. 10, 2026, a multi-agent framework that formally verified key security properties of libsignal, the reference implementation of the Signal protocol, at the AArch64 machine-code level.
- The agents generated about 6.5 million lines of machine-checked Lean proof code, resting on about 26,000 lines of trusted specifications and machine semantics, according to the technical paper.
- The work took a team of five people four weeks, The Register reported; formally verifying the seL4 microkernel once took twenty person-years.
- The proofs cover the post-quantum PQXDH handshake and the Triple Ratchet, but assume idealized cryptography and do not cover group chats or every real-world attack.
Formal verification is the gold standard of software security: instead of testing for bugs, you mathematically prove that a class of bugs cannot exist. It is also so expensive that almost nobody does it. On Nov. 10, 2026, Google DeepMind said AI agents just did it for the code that protects billions of private messages.
The lab introduced AlphaProof Code, a multi-agent framework that proved key security properties of libsignal, the reference implementation of the Signal protocol, down to the compiled machine code. "It's also the first time the implementation of a widely deployed protocol like this has been formally verified by any method, with or without AI," DeepMind wrote in its announcement.
What was proved
According to the technical paper, the agents generated about 6.5 million lines of machine-checked Lean proof code, resting on about 26,000 lines of trusted specifications and AArch64 semantics. The proofs cover Signal's post-quantum PQXDH handshake and the Triple Ratchet, establishing forward secrecy, authentication, post-compromise security and handshake secrecy. The paper describes them as "the first proofs connecting protocol-level security guarantees to the unmodified code of a widely used cryptographic protocol implementation."
The workflow splits the job. Humans and models write the formal specification, with human experts reviewing every one, DeepMind said. Agents powered by Gemini Carbon then produce the proofs, and Lean's kernel accepts a proof only if it checks against the approved specification. The agents flagged areas for human review that DeepMind put at just one percent of the codebase.
To test whether the system can tell good code from bad, the researchers reintroduced two real, previously fixed bugs into an isolated copy of Signal's code. In both cases the system produced a machine-checked proof that the buggy version was insecure.
Weeks instead of years
The verification took four weeks. The Register reported that this was the work of a team of five people and "quite a few tokens". For comparison, the paper notes that the formally verified seL4 microkernel took twenty person-years to verify and the CompCert verified C compiler took six.
Signal's CTO Ehren Kret said in DeepMind's announcement: "Using AI agents to translate live code into valid Lean theorems is a major breakthrough."
The limits
This is not a proof that Signal is unhackable. The Register notes the result "assumes perfect cryptography and doesn't guarantee the computational secrecy of bytes." The paper lists what is not covered: low-level cryptographic primitives are replaced by contracts, the setup is restricted to one-to-one sessions (group messaging is left for future work), and the computational bound gives no guarantee against a quantum adversary. The verified target is a command-line harness around the unmodified library, not Signal's own apps.
"We really believe that the next frontier is not going to be proof but specification," DeepMind research scientist Swarat Chaudhuri told The Register. DeepMind says it is open-sourcing the verification artifacts.
What it means for Web3 teams: Analysis
Smart contract and bridge teams live and die by the gap between design and implementation. If AI agents can push formal proofs down to compiled code at a cost of weeks, "audited" may stop being enough as a trust signal for protocols that hold user funds. The new bottleneck is writing the right specification, and that still takes senior human judgment. Not investment advice.
FAQ
What is AlphaProof Code?
A multi-agent AI framework from Google DeepMind for formal software specification and verification. Humans approve the specification, AI agents write the proofs, and Lean's kernel checks them.
What exactly did it verify in Signal?
Key security properties of libsignal, the Signal protocol's reference implementation, at the compiled AArch64 machine-code level: forward secrecy, authentication, post-compromise security and handshake secrecy for the PQXDH handshake and the Triple Ratchet.
How big are the proofs?
About 6.5 million lines of machine-checked Lean proof code, resting on about 26,000 lines of trusted specifications and AArch64 semantics, according to the paper.
Does this mean Signal cannot be hacked?
No. The proofs rely on stated assumptions such as idealized cryptographic primitives, cover one-to-one sessions only and target a command-line harness around the library, not the Signal apps.
Sources
News summary based on the sources above. Not investment, legal or tax advice. Editorial policy & corrections · Report an error
Building in Web3? Turn the news into trust.
Positioning, KOL programs, LinkedIn systems and claim-safe content for Web3 and fintech teams.
Related

European Commission confirms "AI-generated cyber campaign": open-source tool ARTEX likely behind HR outage
The attack was first detected on Oct. 22 and disrupted payroll, leave, medical reimbursement and translation systems for more than 10 days. CERT-EU says similar activity "highly likely" involved ARTEX.

OpenAI says its models now design chips: 13% smaller blocks and AMD GPU gains
Model-proposed changes cut standard-cell area in its Jalapeño inference chip and delivered up to 14% PPA gains on AMD's flagship GPU IP, OpenAI said. Next: a GPT-Synopsys model for EDA tools.

Google launches Gemini 4 Neon at $3 per million input tokens with a 1M-token context
Google pitches Neon as frontier-level reasoning at lower cost per task, ranking #2 on the Vals Index and #1 on the Artificial Analysis Coding Agent Index.