Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

AgenTRIM: Tool Risk Mitigation for Agentic AI

About

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 demonstrate that AgenTRIM provides a practical, capability-preserving approach to safer tool use in LLM-based agents.

Roy Betser, Shamik Bose, Amit Giloni, Chiara Picardi, Sindhu Padakandla, Roman Vainshtein• 2026

Related benchmarks

TaskDatasetResultRank
Agent Task PerformanceAgentDojo Travel
Attack Success Rate0.00e+0
24
Agentic Task ExecutionAgentDojo Workspace
BU76.5
6
Agentic Task ExecutionAgentDojo Total
BU77.1
6
Agentic Task ExecutionAgentDojo Banking
BU80
6
Agentic Task ExecutionAgentDojo Slack
BU80
6
Showing 5 of 5 rows

Other info

Follow for update