Agent tool misuse
When an AI agent uses a tool it was legitimately given in a harmful way, such as deleting data, overspending or leaking files, after manipulation or a bad plan.
Tool misuse is ASI02 Tool Misuse and Exploitation in the OWASP Top 10 for Agentic Applications. The agent stays inside its permissions and the harm comes from how it uses them. A database tool runs a delete, an email tool writes to the whole address book, a browser tool downloads and opens a file, a payment tool repeats a charge in a loop.
It is the action side of excessive agency: the more general a tool, the more ways to misuse it. A tool called “run SQL” can do anything, while “get order status” can do one thing. The usual controls are narrow tools, read-only by default, limits on rate and cost, an agent sandbox for code and files, and approval before destructive calls. With MCP, review the tools a server exposes as carefully as the server itself.
Sources
- OWASP GenAI Security Project: ASI02 Tool Misuse and Exploitation genai.owasp.org
Related terms
- Tool use (function calling): The model returns a structured request to run a function you defined; your code runs it.
- Excessive agency: An AI agent with more tools, permissions or autonomy than its task needs, so a mistake or an injected instruction can do real damage.
- Agent goal hijacking: An attack that changes what an AI agent is trying to achieve, usually through injected content, so it works for the attacker while seeming to work for you.
- Agent sandbox: An isolated environment where an AI agent runs code and commands without access to your network, secrets or real files.
- Principle of least privilege: Every person, service and AI agent gets only the access needed for its task, for only as long as needed, so a stolen account can do little harm.
- MCP (Model Context Protocol): An open protocol for plugging tools and data into AI apps: write a server once, use it from any client.
