arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.12449cs.CRcs.AI
收藏

AgenTRIM:代理AI的工具风险缓解

AgenTRIM: Tool Risk Mitigation for Agentic AI

Fujitsu Research of Europe (FRE)(富士通欧洲研究(FRE));Fujitsu Research of India Pvt. Ltd. (FRIPL)(富士通印度私人有限公司(FRIPL))

Roy Betser, Amit Giloni, Shamik Bose, Sindhu Padakandla, Chiara Picardi, Lidor Erez, Roman Vainshtein

AI总结:

AgenTRIM通过离线和在线阶段检测并缓解代理AI中工具驱动的风险,减少攻击成功率同时保持任务性能。

摘要:

AI代理是结合大语言模型与外部工具以解决复杂任务的自主系统。虽然此类工具能扩展能力,但不当的工具权限会引入安全风险,如间接提示注入和工具滥用。我们将这些失败归类为不平衡的工具驱动代理性。代理可能保留不必要的权限(过度代理)或未能调用所需工具(不足代理),扩大攻击面并降低性能。我们引入AgenTRIM,一种用于检测和缓解工具驱动代理风险的框架,且不改变代理的内部推理。AgenTRIM通过互补的离线和在线阶段解决这些风险。离线时,AgenTRIM从代码和执行轨迹中重建并验证代理的工具接口。在运行时,它通过自适应过滤和状态感知验证工具调用,实施每一步的最小特权工具访问。在AgentDojo基准测试中,AgenTRIM显著减少攻击成功,同时保持高任务性能。额外实验显示其对基于描述的攻击具有鲁棒性,并有效执行显式安全政策。这些结果表明,AgenTRIM提供了一种实用且能力保持的更安全工具使用方法,用于基于大语言模型的代理。

英文摘要:

AI agents are autonomous systems that combine LLMs with external tools to solve complex tasks. While such tools extend capability, improper tool permissions introduce security risks such as indirect prompt injection and tool misuse. We characterize these failures as unbalanced tool-driven agency. Agents may retain unnecessary permissions (excessive agency) or fail to invoke required tools (insufficient agency), amplifying the attack surface and reducing performance. We introduce AgenTRIM, a framework for detecting and mitigating tool-driven agency risks without altering an agent's internal reasoning. AgenTRIM addresses these risks through complementary offline and online phases. Offline, AgenTRIM reconstructs and verifies the agent's tool interface from code and execution traces. At runtime, it enforces per-step least-privilege tool access through adaptive filtering and status-aware validation of tool calls. Evaluating on the AgentDojo benchmark, AgenTRIM substantially reduces attack success while maintaining high task performance. Additional experiments show robustness to description-based attacks and effective enforcement of explicit safety policies. Together, these results show that AgenTRIM provides a practical, capability-preserving approach to safer tool use in LLM-based agents.

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

↑