{
  "id": "tool-poisoning",
  "code": "PTL-0162",
  "term": "Tool Poisoning",
  "aliases": [
    "tool poisoning attack",
    "MCP tool poisoning",
    "MCP rug pull",
    "rug pull attack",
    "tool update gap"
  ],
  "category": "security",
  "definition": "Tool poisoning is an attack in which malicious instructions are hidden in a tool's description or metadata, such as an MCP server's tool definitions, so that the agent reading the description is steered into harmful actions that the user does not see.",
  "description": "Agents read tool descriptions as trusted context, but users rarely see them in full. A poisoned tool can instruct the agent to read sensitive files or to send data through another, legitimate tool. Mitigations include showing full tool descriptions, pinning tool versions so descriptions cannot change silently, and installing servers only from trusted sources. The Invariant Labs disclosure also described an MCP rug pull, in which a malicious server changes a tool's description after the client has already approved it, and recommended that clients pin the versions of MCP servers and their tools to prevent such changes. Kan et al. (2026) describe a related tool update gap, in which agent frameworks keep trusting a tool after its implementation is updated, without re-checking it. Their ETUDE attack places malicious code in an update to an initially benign tool, so it runs outside the model's context and needs no adversarial instructions; across seven agent frameworks, including Claude Code, Codex CLI and Gemini CLI, they report a 97.6% attack success rate while 95.9% of legitimate tasks still completed.",
  "example": null,
  "broader": [
    "indirect-prompt-injection"
  ],
  "narrower": [],
  "related": [
    "model-context-protocol",
    "function-calling",
    "lethal-trifecta",
    "excessive-agency"
  ],
  "introduced": 2025,
  "added": "2026-10-10",
  "sources": [
    {
      "title": "MCP Security Notification: Tool Poisoning Attacks",
      "authors": "Beurer-Kellner and Fischer (Invariant Labs)",
      "year": 2025,
      "url": "https://invariantlabs.ai/blog/mcp-security-notification"
    },
    {
      "title": "Beyond Prompt Injection: The Tool Update Gap in LLM Agent Security",
      "authors": "Kan et al.",
      "year": 2026,
      "url": "https://arxiv.org/abs/2611.01976"
    }
  ],
  "url": "https://protologue.com/t/tool-poisoning/",
  "citation": "Protologue. (2026). Tool Poisoning. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.2, PTL-0162). https://protologue.com/t/tool-poisoning/"
}