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

AIRGuard:通过运行时权限控制守护智能体行为

AIRGuard: Guarding Agent Actions with Runtime Authority Control

University of Notre Dame(诺丁汉大学);Inria, France(法国国家信息与自动化技术研究所);University of Liverpool(利物浦大学)

Suliu Qin, Haomin Zhuang, Yujun Zhou, Yufei Han, Xiangliang Zhang

AI总结:

针对工具使用语言智能体面临的权限混淆问题,提出运行时守卫AIRGuard,通过动作时授权实现最小权限原则,显著降低攻击成功率并保持良好良性效用。

摘要:

使用工具的语言智能体将模型决策转化为外部副作用:它们读取文件、运行脚本、调用API、发送消息以及调用模型上下文协议工具。这使得针对智能体的攻击不同于越狱攻击。有害步骤往往不是明显禁止的输出,而是普通的可执行动作,但由于攻击者控制的上下文将授权访问导向违背用户利益的方向而变得不安全。我们将这种失败模式识别为权限混淆:不可信资源可以告知推理,但绝不能授权副作用。我们提出AIRGuard,一种运行时守卫,将最小权限原则实现为动作时授权。AIRGuard规范化异构工具调用,将任务权限推导为步骤级权限,跟踪源和目标信任度,模拟敏感副作用,审计跨步骤风险,并在动作执行前强制执行决策。在AgentTrap上,AIRGuard将Sonnet 4.6的攻击成功率从无防御时的36.3%降低到5.5%。在DTAP-150上,AIRGuard在Haiku 4.5上保持了76.0%的良性效用,而ARGUS为52.0%,MELON为42.0%。消融实验进一步表明,仅靠提示策略效果有限,而专用的运行时权限控制层为智能体系统提供了对工具介导副作用的直接控制。代码和数据可在https://github.com/Sophie508/AIRGuard获取。

英文摘要:

Tool-using language agents turn model decisions into external side effects: they read files, run scripts, call APIs, send messages, and invoke Model Context Protocol tools. This makes agent attacks different from jailbreaks. The harmful step is often not an obviously forbidden output, but an ordinary executable action that becomes unsafe because attacker-controlled context steers authorized access against the user's interest. We identify this failure mode as authority confusion: untrusted resources may inform reasoning, but they must not authorize side effects. We present AIRGuard, a runtime guard that operationalizes least privilege as action-time authorization. AIRGuard normalizes heterogeneous tool calls, derives task authority into step-level authority, tracks source and target trust, simulates sensitive side effects, audits cross-step risk, and enforces decisions before actions execute. On AgentTrap, AIRGuard reduces Sonnet 4.6 attack success from 36.3% without defense to 5.5%. On DTAP-150, AIRGuard preserves 76.0% benign utility with Haiku 4.5, compared with 52.0% for ARGUS and 42.0% for MELON. An ablation further shows that prompt-only policy helps only modestly, whereas a dedicated runtime authority-control layer gives the agent system direct control over tool-mediated side effects. Code and data are available at https://github.com/Sophie508/AIRGuard.

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

↑