DeepMind's AI agents mathematically prove that Signal's encryption holds
Google DeepMind has introduced AlphaProof Code, a system in which a team of AI agents writes mathematical proofs that software does what it is supposed to do. As a first test, it verified the actual code behind Signal’s encryption protocol, which protects messages in Signal and Google Messages.
Humans wrote and reviewed the security requirements. The agents, powered by Gemini Carbon, then produced more than six million lines of proof in the Lean proof language, where every step is checked by machine. About one percent of the codebase was flagged for human review. The work took roughly four weeks, compared with years for expert teams according to DeepMind. When the researchers put two old, already fixed bugs back into a copy of the code, the system proved those versions insecure. The proofs are being released as open source.
What it enables. Formal verification is the strongest way to show that software is correct: a proof rather than tests that only find the errors you look for. Until now it has been so expensive that it is mostly used for aircraft, processors and a few operating system kernels. If AI agents can do the job in weeks, more critical systems could get the same treatment, such as cryptography libraries, payment systems and medical devices. It also fits well with AI-written code, where a proof is easier to trust than a review. The caveats: the guarantee is never better than the specification humans wrote, this is a single protocol, the figures come from DeepMind itself, and the company says more research is needed to scale the method.
Original source: Google DeepMind