arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.14866cs.SEcs.LG
收藏

OS-Harm:一个用于衡量计算机使用智能体安全性的基准

OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents

EPFL(苏黎世联邦理工学院);Carnegie Mellon University(卡内基梅隆大学)

Thomas Kuntz, Agatha Duzan, Hao Zhao, Francesco Croce, Zico Kolter, Nicolas Flammarion, Maksym Andriushchenko

AI总结:

该研究推出构建于OSWorld环境的OS-Harm基准,含150项跨三类危害的安全测试任务与高一致性自动评判器,评估多款前沿计算机使用智能体的安全性并揭示其安全漏洞。

摘要:

计算机使用智能体是基于大语言模型(LLM)的智能体,可通过处理截图或可访问性树直接与图形用户界面交互。尽管这类系统日益流行,但其安全性在很大程度上被忽视了,然而评估并了解其潜在有害行为对大规模推广至关重要。为填补这一空白,我们推出了OS-Harm,这是一款用于衡量计算机使用智能体安全性的全新基准。OS-Harm构建于OSWorld环境之上,旨在从三类危害维度测试模型:用户故意滥用、提示注入攻击以及模型不当行为。为覆盖这些场景,我们设计了150项任务,涵盖多种安全违规类型(骚扰、版权侵权、虚假信息传播、数据窃取等),且要求智能体与各类操作系统应用(邮件客户端、代码编辑器、浏览器等)交互。此外,我们提出了一种自动评判器,可同时评估智能体的准确性与安全性,其与人工标注的一致性较高(F1分数分别为0.76和0.79)。我们基于一系列前沿模型(如o4-mini、Claude 3.7 Sonnet、Gemini 2.5 Pro)对计算机使用智能体进行了评估,并揭示了其安全性相关的洞见。具体而言,所有模型往往会直接遵从许多故意滥用的查询,对静态提示注入的抵御能力相对较弱,且偶尔会执行不安全操作。OS-Harm基准可在https://github.com/tml-epfl/os-harm获取。

英文摘要:

Computer use agents are LLM-based agents that can directly interact with a graphical user interface, by processing screenshots or accessibility trees. While these systems are gaining popularity, their safety has been largely overlooked, despite the fact that evaluating and understanding their potential for harmful behavior is essential for widespread adoption. To address this gap, we introduce OS-Harm, a new benchmark for measuring safety of computer use agents. OS-Harm is built on top of the OSWorld environment and aims to test models across three categories of harm: deliberate user misuse, prompt injection attacks, and model misbehavior. To cover these cases, we create 150 tasks that span several types of safety violations (harassment, copyright infringement, disinformation, data exfiltration, etc.) and require the agent to interact with a variety of OS applications (email client, code editor, browser, etc.). Moreover, we propose an automated judge to evaluate both accuracy and safety of agents that achieves high agreement with human annotations (0.76 and 0.79 F1 score). We evaluate computer use agents based on a range of frontier models - such as o4-mini, Claude 3.7 Sonnet, Gemini 2.5 Pro - and provide insights into their safety. In particular, all models tend to directly comply with many deliberate misuse queries, are relatively vulnerable to static prompt injections, and occasionally perform unsafe actions. The OS-Harm benchmark is available at https://github.com/tml-epfl/os-harm.

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

↑