Claude大规模验证123个开源库
Anthropic与Theorem称,Claude为123个开源库生成了RISC-V汇编代码级的安全性质形式化证明,并由Rocq检查器核验。The Decoder援引Anthropic与Theorem的数据称,该项目在数周内产出约1.8亿行证明代码,并发现数百个长期未被大量测试捕获的漏洞。规模与漏洞数据主要来自厂商披露,钛媒体则指出,这些保证仅适用于指定的性质、假设和验证范围。
这项工作展示了LLM辅助形式化验证在真实开源库上的新规模,但其证明总量和漏洞发现等主要数字仍主要来自厂商披露。
Keane Lucas, Aengus Lynch, Luna Tong, Luke Champine, Zygi Straznickas, Dino Distefano, Harshikaa Agrawal Evyatar Ben Asher, Ava Howell, Sami Jawhar, Chris Rohlf, Nickolai Zeldovich Nicholas Carlini, Rajashree Agrawal, Jason Gross
Most software is riddled with bugs, which AI can now easily find and exploit. The standard defenses against cyberattacks are no longer sufficient: we need ways to prove that code is free of bugs. Formal software verification could provide this guarantee, but it has historically required years of expert effort, making it impractical for most real-world projects. In a collaboration with Theorem, however, we show this is no longer the case: LLMs can now produce formal proofs at large scale, enabling new software development workflows that include proven security guarantees. Using Claude, we proved security properties at the assembly code level (RISC-V) in over 100 real-world open-source software libraries. To our knowledge, this represents the first large-scale effort to use AI to apply formal verification to production software at the assembly code level. While writing the proofs, Claude also discovered bugs that had eluded detection for years, despite trillions of test runs. As model capabilities continue to improve, we expect formal verification to become an essential part of secure software development.
#Anthropic#Theorem Labs#Claude#Rocq#RISC-V#OpenSSL#cURL#glibc