Imagine checking a lock by trying many keys. Testing can catch mistakes, but it cannot try every possible situation. A mathematical proof starts differently: write down exactly what the lock must prevent, then show that the design follows those rules. On November 10, Google DeepMind reported using AI agents to help make such proofs for key security properties of libsignal, the code behind the Signal messaging protocol.
What did the AI do?
The system is called AlphaProof Code. Human researchers chose and reviewed the security properties to prove. AI agents then wrote proofs in Lean, software that checks each proof step. The team connected the proofs to compiled machine code, going beyond a high-level description of how the encryption protocol is meant to work.
- 1Humans specifyAgree on the security properties and assumptions.
- 2Agents proveWrite mathematical arguments about compiled code.
- 3Lean checksReject proofs that do not follow the approved rules.
To test whether the rules could catch real mistakes, the researchers reintroduced two previously fixed bugs into isolated copies of the code. Their system showed that those buggy versions failed the stated security properties. Google has published the proof artifacts and code for inspection.
What does “proved secure” mean here?
The proofs cover defined properties of Signal’s post-quantum handshake and Triple Ratchet in a compiled libsignal target. The technical report says they rely on approved specifications, a model of AArch64 Linux machine behavior, and assumptions or contracts for some cryptographic routines. A proof checker can verify that a proof follows its rules; people still have to judge whether those rules capture the right real-world threat.
This is not a proof that the entire Signal app, every device version, or every possible attack is secure. Bugs outside the verified code or properties remain possible. The paper presents a major result for a specific target, and the released artifacts give others a way to examine it. Independent reproduction or broader deployment was not established in the announcement.
Why does it matter?
Security-critical software is hard to verify because the code people run can differ from the ideal design. Google DeepMind’s result shows one way AI agents can do much of the labor of writing proofs while a strict checker verifies them and human experts set the goals. If it works reliably beyond this case, it could make deep checks of important software more practical. That wider promise still needs testing.