DeepMind uses AI agents to verify the security of Signal's encryption implementation, extending mathematical proof to the machine-code level
DeepMind以AI代理驗證Signal加密實作安全性,數學證明擴及機器碼層級
Google DeepMind announced AlphaProof Code, a formal verification framework for AI agents, extending the security verification of Signal's core library libsignal down to compiled machine code. Five researchers worked with AI agents to produce about 6.5 million lines of Lean mathematical proof code in 4 weeks; the verification target was AArch64 Linux machine code compiled from an unmodified Rust version of libsignal, confirming requirements including forward secrecy, authentication, and security recovery after compromise. The verification covered the PQXDH handshake and the Triple Ratchet message encryption mechanism; the team also reintroduced two previously patched vulnerabilities into a test version, and both successfully proved that the vulnerable code violates the specified security requirements. In the process, human experts, assisted by AI agents, wrote and reviewed the Lean formal specifications, and then agents driven by Gemini 4 Carbon generated proofs and submitted them to Lean for checking.
Previous verification of Signal mostly stayed at the protocol's abstract design or required code changes; this work extends security verification to the machine-code level after compiling an unmodified implementation.