跳到正文
返回论文列表
cs.CL提交于 已译

VeriHarm-Bench:可验证地衡量 LLM 编码智能体的有害成功

VeriHarm-Bench: Measuring Harmful Success in LLM Coding Agents Verifiably

Wei-Lin Chen · Zhepei Wei · Xinyu Zhu · Yu-Min Tseng · Tzu-Han Lin · Yu Meng

中文摘要

大型语言模型(LLM)编码智能体越来越多地拥有 shell 访问权限,能够编写脚本、移动文件、更改权限和修改系统配置。然而,智能体可能在达成用户目标的同时造成意外伤害,例如删除无关文件、削弱访问控制或损坏数据,且这些行为可能由良性输入触发,无需显式越狱。这种失败模式尤为重要,因为表面上的任务成功会让用户误以为智能体行为正确,从而使有害副作用未被察觉。我们将此称为有害成功:智能体成功完成预期的良性任务,同时造成意外伤害。尽管其重要性显著,有害成功难以衡量,因为传统任务成功指标忽略有害行为,而现有安全评估往往仅设计用于评估有害结果。我们提出 VeriHarm,一个自动框架,用于构建可编程验证的基准,直接衡量有害成功。VeriHarm 对编码任务进行最小扰动以诱发意外有害行为,同时保持任务的良性并保留原始任务目标。然后,它合成可执行的危害测试,与原始任务正确性测试一起评估任务准确性和有害结果。前沿智能体,包括 GPT-5.6-Sol 和 Claude-Opus-5,在我们精心构建的 VeriHarm-Bench 上平均任务准确率达到 95%,但仍难以安全完成任务:其安全成功率,即成功完成任务且未触发指定危害的比例,平均仅为 37%。这些结果表明,成功完成任务常与意外伤害共存,仅靠任务成功指标可能大幅低估编码智能体的潜在安全风险。

关键要点

  1. 01问题:编码智能体可能在完成良性任务时造成意外伤害,传统指标无法衡量这种有害成功。
  2. 02方法:VeriHarm 通过最小扰动任务并合成可执行危害测试,同时评估任务准确性与有害结果。
  3. 03结果:GPT-5.6-Sol 和 Claude-Opus-5 平均任务准确率 95%,但安全成功率仅 37%。
  4. 04局限:现有安全评估仅关注有害结果,忽略任务成功与伤害共存的情况。

解读

尚无解读。

原始英文摘要

arXiv:2611.03575v1 Announce Type: new Abstract: Large language model (LLM) coding agents increasingly operate with shell access, allowing them to write scripts, move files, alter permissions, and modify system configurations. However, an agent may achieve a user's goal while causing unintended harm, such as deleting unrelated files, weakening access controls, or corrupting data, in response to benign inputs without explicit jailbreaking. This failure mode is particularly important because apparent task success may reassure users that an agent behaved correctly, causing harmful side effects to go unnoticed. We call this harmful success: the agent successfully completes the intended benign task while simultaneously causing unintended harm. Despite its importance, harmful success is difficult to measure because conventional task-success metrics overlook harmful behaviors, while existing safety evaluations are often designed solely to assess harmful outcomes. We introduce VeriHarm, an automatic framework for constructing programmatically verifiable benchmarks that directly measure harmful success. VeriHarm minimally perturbs coding tasks to elicit unintended harmful behavior while maintaining the benignity of the task and preserving the original task objective. It then synthesizes executable harm tests that, together with the original task-correctness tests, evaluate both task accuracy and harmful outcomes. Frontier agents, including GPT-5.6-Sol and Claude-Opus-5, achieve an average task accuracy of 95% on our curated VeriHarm-Bench, yet still struggle to complete tasks safely: their safe success rate, the fraction of tasks completed successfully without triggering the designated harm, averages only 37%. These results suggest that successful task completion can frequently coexist with unintended harm, and that task-success metrics alone may substantially understate the potential safety risks of coding agents.

同方向论文 · cs.CL

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联工具 · 1

Hacker News · 首页79

NVIDIA 开源 OpenShell,为大规模 AI 智能体提供隔离运行时

NVIDIA 发布并开源 OpenShell 0.1.x,为大规模自主 AI 智能体提供安全、私有的运行时。OpenShell 通过内核级沙箱限制文件、系统调用和网络访问,并在策略变更应用前使用形式化验证标记高风险权限。项目还扩展了 API 和扩展接口,支持 CLI、SDK、策略管理、Kubernetes 部署及编码智能体技能,采用 Apache License 2.0 许可。

推荐理由:OpenShell 通过内核级隔离和形式化验证约束智能体权限,为规模化部署提供可审计的运行边界。