arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14096cs.SE
收藏

SWEeper-Bench:智能体能在交互式软件中发现漏洞吗?

SWEeper-Bench: Can Agents Discover Bugs in Interactive Software?

Princeton University(普林斯顿大学)

Yang Yao, Haozhe Chen, Bingyi Kang, Karthik R Narasimhan, Zhuang Liu

AI总结:

SWEeper-Bench是含200项真实漏洞任务的基准,用于评估智能体发现交互式软件漏洞的能力,15个前沿智能体中最佳者仅完成59.0%任务,瓶颈为识别漏洞行为。

摘要:

编码智能体越来越多地通过即时生成交互式软件而非仅以文本回复的方式与用户交互,但这类软件中的许多漏洞仅在多步交互后才会显现。当前,用户必须自行发现这些漏洞并等待修复,使得开发流程缓慢且成本高昂。现有基准通常假定漏洞已被识别,基本未评估智能体发现依赖交互的故障的能力。我们推出SWEeper-Bench,这是由200个广泛使用的开源Web应用中的真实漏洞修复构建的200项任务。每项任务仅向智能体提供代码库和开放式请求,例如“查找并修复Focalboard的看板共享与成员资格功能中的问题”。由于这些漏洞仅靠代码难以检测,智能体必须设计交互式测试来揭露它们。随后,一个智能体验证器会根据用户在浏览器中的观察结果评判每项修复。在15个前沿智能体中,表现最佳者仅通过了59.0%的任务。通过对智能体轨迹的逐阶段分析,我们发现最大瓶颈在于识别有漏洞的行为:智能体往往能到达相关功能,但从未触发故障或未能识别故障。SWEeper-Bench用于衡量智能体自行闭合该循环的进展,目标是交付无需等待用户反馈即可正常运行的软件。

英文摘要:

Coding agents increasingly interact with users by generating interactive software on the fly rather than replying in text, yet many bugs in such software reveal themselves only after multi-step interactions. Today, users must discover these bugs and wait for fixes, making the development loop slow and expensive. Existing benchmarks typically assume the bugs have already been identified, leaving agents' ability to find interaction-dependent failures largely unevaluated. We introduce SWEeper-Bench, 200 tasks built from real bug fixes in 200 widely used open-source web applications. Each task gives the agent only the codebase and an open-ended request such as "Find and fix issues in Focalboard's board sharing and membership." Because these bugs are hard to detect from code alone, agents must design interactive tests to uncover them. An agentic verifier then judges each repair by what a user would observe in the browser. The best of 15 frontier agents passes only 59.0% of tasks. Through stage-by-stage analysis of agent trajectories, we show that the biggest bottleneck is identifying the buggy behavior: agents often reach the relevant feature but never trigger the failure or fail to recognize it. SWEeper-Bench measures progress toward agents that close this loop themselves, delivering software that works without waiting for user feedback.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑