Tool descriptions are MCP's overlooked attack surface: poisoning and metadata manipulation

Necessary-Sir-3681 · reddit · 2026-11-23

After studying MCP, the author explores how AI agents place excessive trust in tool descriptions and metadata — which can themselves be used to manipulate the agent. The article covers tool poisoning, metadata manipulation, cross-server risks, and detection approaches for suspicious changes, plus a small Python prototype experimenting with metadata fingerprinting. The core issue: system prompts, user messages, tool descriptions from different servers (changeable after approval), and tool results like emails and web pages all land in one flat context window where the model cannot reliably tell which tokens to trust.

Original post →

More from coding & agent

coding & agent channel →