基于执行轨迹的智能体安全评测与风险归因
CSTR:
作者:
作者单位:

1.科大讯飞股份有限公司;2.国家计算机网络应急技术处理协调中心;3.中国科学院软件研究所集成创新中心

作者简介:

通讯作者:

中图分类号:

基金项目:

新一代人工智能国家科技重大专项(2025ZD0123201)


Security Evaluation and Risk Attribution of AI Agents Based on Execution Trajectories
Author:
Affiliation:

1.National Computer Network Emergency Response Technical Team/Coordination Center of China (CNCERT/CC);2.iFLYTEK Co., Ltd.;3.Integrated Innovation Center, Institute of Software, Chinese Academy of Sciences

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    随着大语言模型驱动的智能体由文本生成系统演进为能够感知上下文、调用工具并执行终端动作的复合系统,其安全风险正由内容生成层面扩展到执行链路层面。本文面向以OpenClaw为代表的终端执行类智能体,围绕提示词注入、恶意代码执行和隐私数据泄露三类典型安全场景,开展基于执行轨迹的安全评测与风险归因,评测数据集覆盖11类风险类型。实验基于7个具备任务规划和工具执行能力的主流基座模型构建智能体,共获得70616条有效执行轨迹,其中7396条轨迹级判定为不安全,总体不安全率为10.47%。结果表明,不同基座模型接入智能体框架后的安全表现存在显著差异,隐私数据泄露场景的平均风险更高;不安全样本主要表现为未确认或过度授权的动作,风险来源以恶意用户指令和越狱攻击为主,危害后果集中于安全与系统完整性损害、隐私与机密性损害。研究表明,智能体的安全保障应由单一输入输出审查拓展为执行链路级治理,在上下文组织、权限确认、工具调用与结果披露等关键环节建立可观测、可判定和可归因的防护机制。

    Abstract:

    As large language model (LLM)-driven agents evolve from text generation systems into compound systems capable of perceiving context, invoking tools, and executing terminal actions, their security risks are expanding from the content generation layer to the execution chain. This paper focuses on terminal-execution agents represented by OpenClaw and conducts execution-trajectory-based security evaluation and risk attribution across three typical security scenarios: prompt injection, malicious code execution, and privacy data leakage. The evaluation dataset covers 11 risk types. Based on seven mainstream foundation models with task planning and tool execution capabilities, the experiment constructs corresponding agents and obtains 70,616 valid execution trajectories, among which 7,396 are classified as unsafe at the trajectory level, yielding an overall unsafe rate of 10.47%. The results show significant differences in safety performance among agents built on different foundation models, with privacy data leakage tasks exhibiting a higher average risk. Unsafe samples mainly manifest as unconfirmed or over-authorized actions; their risk sources are dominated by malicious user instructions and jailbreak attacks, while the consequences are concentrated in security and system-integrity compromises, as well as privacy and confidentiality breaches. These findings indicate that agent security should move beyond isolated input-output screening toward execution-chain-level governance, establishing observable, assessable, and attributable protection mechanisms across key stages such as context organization, permission confirmation, tool invocation, and result disclosure.

    参考文献
    相似文献
    引证文献
引用本文
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2026-06-30
  • 最后修改日期:2026-08-23
  • 录用日期:
  • 在线发布日期: 2026-10-21
  • 出版日期:
文章二维码