UTC

Tool, function and MCP abuse

The agent is led to call its tools in harmful ways, or the tools themselves carry the attack: an MCP server whose tool descriptions contain hidden instructions, or one that changes its descriptions after it was approved.

How it works
  1. 1Agents choose which tool to call, and with what arguments, from text: the user's request, the conversation and each tool's own description.
  2. 2A tool description is read by the model like any other text, so a malicious or compromised server can steer the agent through it.
  3. 3A server approved once can change its tools later. Unless someone pins and checks them, the agent uses the new version.
What to watch for
  • Tool calls unrelated to the task
  • Arguments reaching new paths, hosts or accounts
  • A server's tool list or descriptions changing between sessions
How to defend
  • Allow only the tools a task needs; scope each tool's credentials.
  • Pin MCP server versions and review description changes before accepting them.
  • Ask a person before destructive or outbound actions.