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

AgentCap:面向安全LLM智能体执行的基于能力的运行时授权

AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent Execution

Virginia Tech(弗吉尼亚理工大学)

Aravinda Kashyap Kabbinamakki Suresh, Peng Gao

AI总结:

提出AgentCap运行时授权层,通过MCP包装器调解工具调用,评估多维度策略约束,生成受限能力令牌,在AgentDojo和InjecAgent基准上降低攻击成功率,阻止未授权执行同时保留合法操作。

摘要:

语言模型智能体通常会合并安全系统分开处理的两项决策:选择动作和确定该动作是否被授权。当模型行使既定权限时,间接提示注入可将对其推理的影响转化为未授权效果。我们提出AgentCap,这是一个运行时授权层,将该决策从模型中外部化,并通过MCP包装器调解每个工具调用。每个请求声明一个意图,AgentCap会评估关于信任、工作流先决条件、互斥权限以及安全敏感参数来源的策略约束。授权请求会获得短期、预算受限的能力令牌,该令牌在工具边界处进行验证。委托被限制为会话绑定的父子链,这些链在保留动作和资源的同时,预算和生命周期只能被减弱,防止权限在不相关的智能体会话之间被扩展或重用。声明式策略语言为运行时执行和部署前分析提供了通用表示。在AgentDojo和InjecAgent上,AgentCap在所有评估的模型-基准设置中降低了攻击成功率,包括GPT-5.4在两个基准上的攻击成功率为0%。受控对抗场景进一步表明,AgentCap阻止了所有尝试的未授权执行(攻击成功率0%),同时保留了所有合法操作。这些结果表明,智能体安全需要在工具边界处对模型提议的效果进行授权,独立于模型的推理。

英文摘要:

Language-model agents commonly collapse two decisions that security systems separate: selecting an action and determining whether that action is authorized. When a model exercises standing authority, indirect prompt injection can convert influence over its reasoning into unauthorized effects. We present AgentCap, a runtime authorization layer that externalizes this decision from the model and mediates every tool invocation through an MCP wrapper. Each request declares an intent, and AgentCap evaluates policy constraints over trust, workflow prerequisites, mutually exclusive authority, and the provenance of security-sensitive arguments. Authorized requests receive short-lived, budget-bounded capability tokens that are validated at the tool boundary. Delegation is restricted to session-bound parent-child chains that preserve action and resource while budget and lifetime can only be attenuated, preventing authority from being expanded or reused across unrelated agent sessions. A declarative policy language provides a common representation for runtime enforcement and predeployment analysis. Across AgentDojo and InjecAgent, AgentCap reduces attack success in every evaluated model-benchmark setting, including zero attack success with GPT-5.4 on both benchmarks. Controlled adversarial scenarios further show that AgentCap blocks every attempted unauthorized execution (ASR 0%) while preserving all legitimate operations exercised. These results demonstrate that agent security requires authorization of model-proposed effects at the tool boundary, independently of the model's reasoning.

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

↑