Introducing AlphaProof Code: a breakthrough in verifying complex software at depth
Introducing AlphaProof Code: a breakthrough in verifying complex software at depth
How Google DeepMind researchers built a new agentic framework that formally verified the code of Signal’s cryptographic protocol — long considered to be a grand security challenge
Today, we’re sharing a milestone in software security long considered to be a grand challenge: Google DeepMind researchers guided AI agents to mathematically prove key security properties of the actual code underlying the Signal protocol, the technology that protects billions of private conversations in apps like Signal and Google Messages.
This breakthrough discovery was made using AlphaProof Code, a novel agentic framework for formal verification at unprecedented depth that combines human expertise with AI agents. Formal verification—mathematically proving code runs correctly without flaws—is the highest standard of security assurance; however, it is difficult and often labor-intensive.
Our work marks the first time AI has been used to formally verify a widely deployed cryptographic protocol at this depth. It's also the first time the implementation of a widely deployed protocol like this has been formally verified by any method, with or without AI.
How we verified Signal
AlphaProof Code is a multi-LLM agentic framework that splits the work of formal verification the way a research team would: human experts work with AI to decide what to prove, and a group of AI agents does it.
First, our researchers collaborated with a mix of models to translate Signal’s security goals into formal mathematical specifications, with human experts reviewing every one. From there, agents powered by Gemini Carbon did the proofs, generating over six million lines of Lean, a computer language that mathematically proves the accuracy of code.
Next, the agents audited the proof and highlighted areas that needed a second look by a human – just one percent of the codebase, a massive time savings. Because Lean automatically checks the rest, our experts could focus their review where human judgment matters most.
Cryptographic protocols underpin nearly all digital communication, from online banking to web browsing, and a single flaw can expose millions of people at once. That's why experts have spent decades formally analyzing them.
But most protocol verification stops at the design level. Our agents went further, proving that the compiled code fulfills the key security properties – such as keeping messages protected before and after a device is temporarily compromised – down to the exact code running on devices. Because real-world vulnerabilities often hide in the gap between design and implementation, bridging this gap makes these proofs vastly more complex.
Even at this complexity, our verification process took just four weeks – a task that historically takes expert teams years – proving that Signal's core cryptographic code delivers the security protections our experts specified.
To confirm that AlphaProof Code can tell correct code from buggy code, we reintroduced two real, 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.
While prior formal verification work has necessarily focused on smaller scopes, this new approach enables a significant expansion. Traditionally, verifying that production code strictly matches its cryptographic design required extensive manual effort, making the use of AI agents to automatically translate live code into valid Lean theorems a great breakthrough. As AI-driven security threats grow, having the core Signal protocol rigorously verified with automated theorem proving gives us even greater confidence that our code delivers on its privacy guarantees.
The future of security
Achieving this long-standing challenge demonstrates how AI can bring elite security assurance to businesses, governments, and critical infrastructure, helping defend against agent-driven cyber threats.
Verifying Signal's core cryptography lays the groundwork to secure other vital systems, from medical device firmware to power grid software.
Scaling these techniques requires continued research. Paired with automated defense agents like CodeMender, formal verification can help counter the speed and scale of modern cyber threats to create software with mathematical proof that its protections work.
We are open-sourcing our formal verification artifacts for community use. Read the technical paper below.
Acknowledgements
This research was developed by Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, Charles Sutton, and Pushmeet Kohli.
We thank Eric Wieser for help with open-sourcing our code, Owen Jones for program management support, and Martín Abadi, Christopher Henson, Katerina Hristova, Henryk Michalewski, Jonathan Protzenko and George Tsoukalas for helpful discussions. We thank Signal's Rolfe Schmidt, Michael Rosenberg, and Ehren Kret for their feedback on our methodology. We also thank Tulsee Doshi, Four Flynn, Kate Olszewska, Alicia Huang, Andy Liu, Benoit Schillings, Raluca Ada Popa, Melvin Johnson, Koray Kavukcuoglu, Demis Hassabis, and Sundar Pichai for their support of the project.
https://deepmind.google/blog/introducing-alphaproof-code/Reposted. Will be removed on request. All rights belong to the original author.
More from this batch
Gemini 4 Carbon is now available
Today, we’re making Gemini 4 Carbon available to developers, enterprises, scientists, and consumers.
Anthropic 公布 IPO 价格区间:每股 70 到 78 美元,按上限完全稀释估值约 1.404 万亿美元
这次发行 8.25 亿股 A 类股,募资 577.5 亿到 643.5 亿美元;另外向 AMD、博通、谷歌、美光、微软、英伟达和台积电私下出售 260 亿美元无投票权股票,谷歌和英伟达各投 100 亿。创始人持有 50.1% 投票权,公开市场买家对公司治理的影响有限。
Eight countries and top AI labs agree to shutdown mechanisms in new Paris declaration
Eight countries along with representatives from OpenAI, Anthropic, Microsoft, and Mistral AI have signed the "Paris Call for AI Safety and S…
Mercor 完成 7.5 亿美元 D 轮,估值 200 亿美元,年化收入 27 个月从 100 万涨到 30 亿
Mercor 组织人类专家为各家前沿实验室做评测和训练数据,CEO 说最近半年增长加快,是因为企业开始评估和训练自己的模型。Nathan Lambert(他是 Mercor 顾问)随后评论:把 AI 的好处扩散到长尾知识工作,需要的人类专业知识可能被严重低估。
Hugging Face 政策负责人警告:针对开放 AI 平台的攻击可能逼着开源 AI 收紧
Irene Solaiman 举了 10 月 OpenCode 被盗第三方 API 密钥、今夏 OpenAI 智能体群攻入 Hugging Face,以及本周 Fireworks 客户模型权重和数据集被访问等例子。依赖公共模型仓库和托管推理的企业,要重新评估凭据和权重的存放方式。
Cyanogen 联合创始人推出 Kora:基于 Linux、内置 AI 智能体的免费桌面操作系统,瞄准 Windows
智能体可以跨应用工作、访问文件并在任务之间保留上下文,计划 2027 年发布,支持 Intel、AMD 和高通骁龙电脑。团队约 50 名工程师,创始人说用 Codex 和 Claude 让开发至少快了五倍。
Adobe MAX:Photoshop、Premiere、Firefly 全面加智能体,并发布 MCP,让 ChatGPT、Claude、Gemini 直接调用 Adobe 功能
Firefly 新增私测中的原型工具 Builder 正面对标 Figma,智能体改成常驻、主动获取工作上下文。同一天谷歌宣布扩大与 Adobe 合作:Drive 和 Gmail 直通 Acrobat,Gemini Enterprise 里可以用 Adobe 的 CX Enter…
Meta 的 AI 智能体 Muse 登陆 Apple Watch 和 Wear OS
可以在手表上用语音通话、短信或听写和 Muse 交互,处理邮件、会议、账单和订餐等事务,距离 iPad 版上线才一个月。
Gemini Robotics 2.5 accelerates real-world general dexterity
We’re enabling robots to learn faster for the real world - from everyday skills to the factory floor
英伟达 GR00T 2:同时预测未来画面和动作的「世界动作模型」,每个任务 5 次演示、30 分钟微调成功率到 95%
进步在哪:只看过人类视频或别的机器人做的 50 个任务,零样本成功率 40%;还能做插内存条、组装玩具卡车这类长程灵巧任务,轻量版 Turbo 在 Unitree G1 上每次预测 124 毫秒。靠什么:联合预测视频和动作,用 40 多万小时第一视角人类视频等数据训练,再在真机上…
英伟达讲 Alpamayo 2 Edge 怎么在车载算力里跑推理:只在需要时才「想」,闭环 RL 让驾驶表现提升 48.9%
这是一个 2B 参数的自适应推理 VLA,基于 Cosmos 3 Edge 的 Nemotron 主干加扩散动作专家,在 DRIVE AGX Thor 上实时运行。关键是常规路况不生成推理链以省算力,再在 AlpaGym 里做闭环强化学习;文章详细讲了缩小模型时如何保住推理质量。
InfraRSI:把「递归自我改进」用到分布式训练基础设施上,让智能体自己调启动参数、算子和通信
进步在哪:以往 RSI 多用于单个算法或内核,分布式训练里一处改动就可能 OOM、编译冲突或悄悄数值漂移。靠什么:一个智能体 harness 把开放式的调优过程变成可度量、可回滚的迭代,代码已开源。适合关心训练效率的平台团队。