arXiv:2605.26542cs.CRcs.AI2026-05被引 9

通过能力预算交集机制,防止工具组合引发的权限滥用问题。

ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuation

  • 用能力预算交集控制数据流动中的权限,避免越权
  • 在5个模型上将攻击成功率从25%-68%降至0-4.8%
  • 无需修改原系统,适合部署在真实工具链中

工具使用代理在开放环境中运行时,会动态组合文件系统、Web API、代码解释器和企业服务。这种组合可能引发安全漏洞:即使每个工具都通过了权限检查,仍可能导致读取机密文档、摘要并外发等危险行为,称为权限洗白。ChainCaps提出一种运行时规则:每个值携带针对特定目标的能力预算,工具链传递时按交集衰减。数据在流转中可保留或失去权限,但无法通过组合获得新权限。我们实现为透明MCP代理,无需修改代理或工具服务器。在三个厂商的五个前沿模型共82个任务上,攻击成功率从25%-68%降至0-4.8%,良性任务完成率保持96%-100%。重放实验显示其优于标量IFC和函数隔离基线。显式声明的配置(manifest)是关键瓶颈:专家级配置可阻断100%攻击,而简单配置仅达27.3%。研究限于可信声明下显式流组合的安全性,适用于当前部署中可见数据流动的场景。

原文摘要 · Abstract (English)

Tool-using agents increasingly operate in open-ended deployment environments, where they compose file systems, web APIs, code interpreters, and enterprise services at runtime. This creates a safety gap in tool composition: an agent can satisfy every per-tool permission check and still produce an unsafe end-to-end effect, such as reading a confidential document, summarizing it, and sending the summary to an external endpoint. We call this failure mode permission laundering. ChainCaps addresses it with a runtime rule: every value carries a sink-specific capability budget, and tool composition propagates budgets by intersection. A value can preserve or lose authority as it moves through a tool chain, but it cannot gain new authority through composition. We implement ChainCaps as a transparent MCP proxy that requires no changes to the agent or tool servers. On 82 tasks across five frontier models from three providers, ChainCaps reduces attack success rate from 25-68% to 0-4.8% while preserving 96-100% benign completion. In replay experiments, it also outperforms scalar-IFC and per-function-isolation baselines. Manifest quality is the dominant deployment bottleneck: expert manifests reach 100% attack blocking, while naive manifests fall to 27.3%. Our claims are limited to explicit-flow composition safety under trusted manifests and proxy-visible data movement, a practical gap in deployed tool-using agents today.

工具代理权限安全能力控制MCP

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。