arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.35188cs.SEcs.AI
收藏

V$^3$AST-Bench:面向编码智能体的可验证、有效且通用的安全评估基准

V$^3$AST-Bench: Verifiable, Valid, and Versatile Safety Evaluation for Coding Agents

Nanyang Technological University, Singapore(南洋理工大学);Alibaba Group, Hangzhou, China(阿里巴巴集团)

Weitao Feng, Hengheng Xiong, Zihao Zeng, Jun Chen, Jiyang Guan, Xiaofeng Wang, Jialing Tao, Hui Xue, Wei Dong

AI总结:

该研究提出V$^3$AST-Bench编码智能体安全评估基准,经实验发现能力相当的智能体安全表现差异大,风险意识无法可靠阻止危害,需转向执行全程强制安全。

摘要:

大型语言模型越来越多地以智能体形式通过代码行动,包括修改代码仓库、执行程序以及与服务交互,其行动带来的风险无法仅从生成的响应中评估。安全评估必须验证实际后果,区分危害规避与任务能力不足,并覆盖现实工作流程。我们提出V$^3$AST-Bench,这是一个针对智能体安全的可验证结果、有效解释和通用风险覆盖的基准,包含212个风险任务,覆盖18个类别。专用运行时环境通过对状态、记录和工件行为的可执行检查来验证危害与任务结果,同时配对的能力孪生任务验证工作流程能力。我们的实验涵盖11个模型与5个工具链的51种组合,共86496次试验,涉及超过90亿个模型交互token。结果显示,即使是前沿编码智能体,V$^3$AST-Bench仍具有挑战性:Claude Opus 4.8搭配Claude Code仍在20.9%的任务中造成已验证的危害。在模型-工具链组合中,能力相当的智能体表现出显著不同的安全结果,表明仅任务能力无法保证安全执行。更重要的是,即使明确识别风险也无法可靠阻止有害行动,揭示了风险意识与安全执行之间的关键差距。这些发现强调需要从风险识别转向在整个执行过程中强制安全。

英文摘要:

Large language models increasingly act through code, modifying repositories, executing programs, and interacting with services in agent form. Their actions introduce risks that cannot be assessed from generated responses alone. Safety evaluation must verify actual consequences, distinguish harm avoidance from task incapability, and cover realistic workflows. We introduce V$^3$AST-Bench, a benchmark for Verifiable results, Valid interpretation, and Versatile risk coverage of Agent Safety. It comprises 212 risk tasks spanning 18 categories. Dedicated runtime environments verify harm and task outcomes through executable checks over states, records, and artifact behavior, while paired capability twin tasks verify workflow competence. Our experiments span 51 combinations of 11 models and five harnesses, spanning 86,496 trials and over 9 billion tokens of model interaction. Results show that V$^3$AST-Bench remains challenging even for frontier coding agents, as Claude Opus 4.8 with Claude Code still causes verified harm on 20.9% of tasks. Across model-harness combinations, agents with comparable competence exhibit markedly different safety outcomes, showing that task capability alone does not guarantee safe execution. More importantly, even explicit recognition of risks does not reliably prevent harmful actions, revealing a critical gap between risk awareness and safe execution. These findings highlight the need to move beyond risk recognition toward enforcing safety throughout execution.

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

↑