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

AgentCanary:真实可执行环境中自主AI智能体的安全评估框架

AgentCanary: A Security Evaluation Framework for Autonomous AI Agents in Real Executable Environments

Ant Group(蚂蚁集团);Tsinghua University(清华大学);Nanjing University(南京大学);Peking University(北京大学)

Peiyang Li, Songping Wang, Yi Huang, Yanhua Shi, Chenhao Zhang, Qi Li, Yueming Lyu, Caifeng Shan, Fengting Li, Chao Feng, Chuanqun Zhu, Liang Chen

AI总结:

提出AgentCanary框架,通过正交风险分类、高保真执行环境和轨迹多维度评估,解决现有安全评估中风险覆盖碎片化、环境静态低保真及指标单一粗粒度的问题。

摘要:

自主AI智能体推动了从对话到任务执行的转变,将安全故障从文本欺骗转向系统入侵。尽管安全评估对于主动风险预防至关重要,但先前的工作受到根本性瓶颈的限制,包括碎片化的风险覆盖、静态或低保真的执行环境以及单维度和粗粒度的评估指标。为了应对这些挑战,我们提出了AgentCanary,一个针对自主AI智能体的全面安全评估框架。AgentCanary通过三个贡献提供了系统性的解决方案。首先,全面的风险覆盖:我们引入了一个正交的Entry × Impact风险分类法,将对抗性影响如何进入智能体与其最终造成的危害解耦,并将其实例化为一个场景对齐的任务套件,涵盖实际的部署工作流。其次,高保真真实可执行环境:智能体不是通过静态问答或模拟工具响应,而是与真实工具交互,针对动态配置的任务工件进行操作,并在多步交互中保持持久状态,自然支持长期攻击评估。第三,轨迹基础的多维度评估:评估消耗完整的智能体轨迹,而非回复文本或单个工具调用,从而能够沿三个正交维度(结果安全性、安全意识和任务效用)进行分解评分。我们在AgentCanary上评估了一系列前沿模型,针对三个智能体框架中的多种已建立的对抗攻击方法。结果表明,当前的智能体往往无法识别其面临的攻击,特别是在技能受损、持久状态和长期执行攻击下,这为开发更可靠和安全的智能体系统提供了系统性的基准。

英文摘要:

Autonomous AI agents have driven the transition from conversation to task execution, shifting security failures from textual deception to system compromise. Although security evaluation is crucial for proactive risk prevention, prior work is constrained by fundamental bottlenecks, including fragmented risk coverage, static or low-fidelity execution environments, and single-dimensional and coarse-grained assessment metrics. To address these challenges, we propose AgentCanary, a comprehensive security evaluation framework for autonomous AI agents. AgentCanary provides a systematic solution along three contributions. First, comprehensive risk coverage: we introduce an orthogonal Entry $\times$ Impact risk taxonomy that decouples how adversarial influence enters the agent from what harm it ultimately causes, and instantiate it as a scenario-aligned task suite spanning realistic deployment workflows. Second, a high-fidelity real executable environment: rather than static Q&A or mocked tool responses, agents interact with real tools against dynamically provisioned task artifacts, with persistent state across multi-step interactions that naturally supports long-horizon attack evaluation. Third, trajectory-grounded multi-dimensional evaluation: evaluation consumes the full agent trajectory rather than the reply text or a single tool call, enabling decomposed scoring along three orthogonal dimensions, Outcome Safety, Security Awareness, and Task Utility. We evaluate a broad set of frontier models on AgentCanary against multiple established adversarial attack methods across three agent frameworks. The results reveal that current agents often fail to recognize the attacks they face, particularly under compromised skills, persistent state, and long-horizon execution attacks, and provide a systematic baseline for developing more reliable and secure agent systems.

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

↑