最新资讯
dev.to 你的 Agent Harness 应具备的 17 项能力 dev.to 离线 AI 记忆中 0.8 余弦阈值为何失效 dev.to Kimi K3.1 Pro 开放权重:自托管 2.8T 模型前的开发者清单 dev.to 如何通过工具调用引导模型以提升 Harness 质量 dev.to AI Agent 审计轨迹不等于对话记录 dev.to 精简 MCP server 工具数量:更少工具、更小影响面,双重收益 dev.to 为什么 git checkout 无法撤销 AI 编码 agent 的改动? wechat AI短剧门槛降降降!实测即梦短剧工作室:剧本分镜预演一条龙,伙伴计划长期护航 dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围 dev.to 银行 77 意图分类最便宜 LLM:GPT-6.1 Terra 每次成功任务 $0.000727 theinformation.com Chesky的副业:Airbnb向CEO新设AI实验室出售IP
多元动态
登录 注册
行业动态 x.com · @GaryMarcus

研究:AI生成补丁成功率仅26%,且易引入新漏洞

原文 我的收藏

1Password研究测试6000多个AI生成补丁,发现仅26%能修复漏洞,4.5%引入新漏洞,且人工审查成本高于自行修复。作者Gary Marcus评论称,AI补丁可能带来重大安全风险。

AI推荐理由 引用1Password研究,指出AI生成补丁成功率低且可能引入新漏洞,对AI在安全领域的应用有警示作用,数据具体,来源可信。

80 浏览 29,458 点赞 510 评论 23 转发 78

正文

“完全由LLM生成、未经人工审查的补丁的期望值是净负面的,而且差距相当大。” ![Hedgie](https://pbs.twimg.com/profile_images/1905120369104625664/ir817Ix-_normal.jpg) Hedgie@HedgieMarkets 🦔AI只能修复26%的安全漏洞。1Password的研究人员使用Claude和ChatGPT针对真实漏洞运行了超过6000个AI生成的补丁。有一半的时间,AI未能修复原始漏洞。4.5%的时间,它创造了一个以前不存在的新漏洞。研究人员还发现,检查AI生成的安全补丁比你自己编写修复程序更费力。 他们的结论很直白。“完全由LLM生成、未经人工审查的补丁的期望值是净负面的,而且差距相当大。” 我的看法 OpenAI今年夏天启动了一个名为“修补地球”的项目,让AI发现漏洞并生成修复程序。这些研究人员针对其中一个相同的漏洞运行了270个补丁。零个干净的修复。一个都没有。每个修复了原始问题的补丁都在这个过程中创造了新的漏洞。通过OpenAI项目提交修复的合作伙伴产生了研究人员归类为最糟糕的结果:它没有完全修复漏洞,而且还引入了一个新的漏洞。 如果你不是以写代码为生,这对你意味着什么。公司正在使用这些AI工具来修补运行你的银行、医院、手机的软件。宣传一直是“AI比人类更快地发现和修复安全漏洞。”这项研究表明,AI修复程序出问题的可能性是正常工作的四倍,而且有三分之一的时间它会重蹈人类程序员已经犯过的错误。审查AI的工作比自己做要花更长的时间。所以,当你试图验证输出时,速度优势就消失了,而大多数公司不会这样做,因为整个目的就是为了更快。我认为我们将看到重大安全漏洞追溯到无人检查的AI生成补丁,而发布这些补丁的公司会责怪工具,而不是责怪信任它的决定。 Hedgie🤗 研究[1password.com/files/resource…](https://1password.com/files/resources/frontier-models-vulnerability-patches-flawed.pdf)SX ![推文图片](https://pbs.twimg.com/media/HRfmhYhaUAAt_Lx.jpg) [🔗 查看引用的推文](https://x.com/HedgieMarkets/status/2096398823140503713)
查看原文(中文正文为 AI 翻译)
“The expected value of a fully LLM-generated, non-human-reviewed patch is a net-negative by a considerable margin.” ![Hedgie](https://pbs.twimg.com/profile_images/1905120369104625664/ir817Ix-_normal.jpg) Hedgie@HedgieMarkets 🦔AI can only fix security vulnerabilities 26% of the time. Researchers at 1Password ran over 6,000 AI-generated patches using Claude and ChatGPT against real vulnerabilities. Half the time the AI failed to fix the original bug. 4.5% of the time it created a brand new vulnerability that didn't exist before. And the researchers found that checking an AI-generated security patch takes more effort than just writing the fix yourself. Their conclusion was blunt. "The expected value of a fully LLM-generated, non-human-reviewed patch is a net-negative by a considerable margin." My Take OpenAI launched a program this summer called "Patch the Planet" where AI finds bugs and generates the fixes. These researchers ran 270 patches against one of those same bugs. Zero clean fixes. Not one. Every patch that fixed the original problem created a new vulnerability in the process. The partner that submitted a fix through OpenAI's program produced what the researchers classified as the worst possible outcome, it didn't fully fix the bug and it introduced a new exploit on top of it. Here's what this means if you don't write code for a living. Companies are using these AI tools to patch the software that runs your bank, your hospital, your phone. The pitch has been "AI finds and fixes security holes faster than humans." This study says the AI fix is four times more likely to be broken than working, and a third of the time it recreates the exact same mistakes human programmers already made. Reviewing the AI's work takes longer than doing it yourself. So the speed advantage disappears the moment you try to verify the output, which most companies won't do because the entire point was to move faster. I think we're going to see major breaches traced back to AI-generated patches that nobody checked, and the companies that shipped them are going to blame the tool instead of the decision to trust it. Hedgie🤗 Study[1password.com/files/resource…](https://1password.com/files/resources/frontier-models-vulnerability-patches-flawed.pdf)SX ![Tweet Image](https://pbs.twimg.com/media/HRfmhYhaUAAt_Lx.jpg) [🔗 View Quoted Tweet](https://x.com/HedgieMarkets/status/2096398823140503713)

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容