The verification produced more than six million lines of computer-checkable mathematics. Google DeepMind says its researchers used AI agents to prove that key parts of the code behind Signal’s security meet properties the team specified.
What the team checked
The work focused on libsignal, the library Signal uses to implement its messaging security. Rather than checking the original source code, the team checked an AArch64-compiled version of the library, down to the instructions run by a device, Tom’s Hardware reports.
The Register reports that the proof covered Signal’s post-quantum PQXDH handshake and Triple Ratchet. It addressed properties including forward secrecy, authentication, protection after a device is compromised, and secrecy during the handshake.
People set the rules; AI built the proof
Researchers first worked with AI models to turn Signal’s security goals into mathematical specifications. Human experts reviewed each specification, which set out exactly what the code needed to guarantee.
AI agents powered by Gemini Carbon then generated Lean code, a language used to write mathematical proofs that a computer can check. Google DeepMind says the agents produced more than six million lines; The Register reports 6.5 million. The agents also audited the proof and flagged about one percent of the code for human review, while Lean checked the rest.
What the proof does not establish
This is a formal proof of specified properties, not a guarantee that Signal is free of every possible security problem. The Register notes that the result assumes perfect cryptography and does not guarantee the computational secrecy of the actual bytes sent.
The researchers also tested whether the system could detect known flaws. They reintroduced two previously fixed bugs into an isolated version of Signal’s code; in both cases, the system produced a machine-checked proof that the buggy version was insecure.
A four-week effort, with more systems in view
Google DeepMind says the verification took four weeks, a task it says has historically taken expert teams years. The Register reports that the work involved a team of five people. It cites older verification projects that took 20 person-years for the seL4 microkernel and six years for the CompCert compiler, though those projects are not direct comparisons with Signal.
Google DeepMind calls this the first time an implementation of a widely deployed cryptographic protocol has been formally verified by any method. It has released the verification materials for public use and says the approach could be explored for systems such as medical-device firmware and power-grid software. The company also says further research is needed to scale the technique.
Why it matters
Signal users have a mathematical check of specific security properties in the code behind the app, but the result does not guarantee every form of secrecy or rule out all security problems.
What it means for you
A Signal user can take this as evidence that specific protections in the app’s underlying code were checked mathematically. It is not a guarantee against every kind of security failure.
Our take: Checking compiled code is a meaningful step beyond checking a protocol’s design. The proof’s value is real but bounded by the properties it covers and its assumptions about cryptography.