跳到正文
The Decoder· Matthias Bastian·· 2 小时前精选AI 评分64

Anthropic 的 Claude 实现自动代码安全证明

Anthropic's Claude now writes code and proves it safe automatically

AI 导读

Anthropic 使用 Claude 对现有代码进行数学证明,验证其安全性,生成约1.8亿行证明代码,覆盖123个开源库。该过程由独立工具Rocq验证,几乎无需人工审查。Claude在验证中发现数百个隐藏漏洞,包括一个十年未被发现的逻辑错误。验证仅限特定硬件、单线程和64MB以内输入,单次证明消耗数亿token。项目目标扩展至glibc、OpenSSL等关键基础设施。

推荐理由

原文展示了Claude在形式化验证中的实际应用和限制,读者可据此理解AI验证代码的可行性边界。

来源:The Decoder · the-decoder.com