Google DeepMind formally verifies parts of libsignal with AlphaProof Code

Google DeepMind has introduced AlphaProof Code and used it to formally verify parts of the Signal protocol implementation in libsignal. Researchers examined a binary built from the unmodified library with a standard compiler, rather than its Rust source code. The four-week project covered the quantum-resistant PQXDH handshake and Triple Ratchet.
Humans working with models expressed security properties as specifications in Lean, then agents using Gemini Carbon wrote the proofs. According to the authors’ paper, roughly 6.5 million lines of proofs were built on about 26,000 lines of trusted specifications and AArch64 machine-code descriptions. Formal verification mathematically establishes specified properties instead of testing individual examples.
The proven properties include forward secrecy and post-compromise security, protecting correspondence before and after a temporary device compromise. The agents flagged about 1% of the code for human review, with Lean checking the rest.
To test whether the system could distinguish correct code from broken code, researchers reintroduced two previously fixed bugs into an isolated copy. Both produced machine-checked proofs that the modified version was insecure. WIRED reported that no new vulnerabilities were found in the examined sections. DeepMind published the specifications and proofs on GitHub.
Original source: habr.com ↗
Comments on source platforms
Rank is the maximum of the latest discussion counts. These are source metrics.
Хабр
- Discussion ↗: 1
Measured: 19 Nov 2026, 22:11 UTC