Security · 1h ago
MCP Tool Descriptions Can Hijack AI Agents; Here's a Detector
A developer found that MCP tool descriptions can contain hidden instructions that override agent behavior, leading to dangerous actions like deleting database tables. After discovering four servers with suspicious descriptions in his own stack, he built an 80-line static scanner to detect imperative verbs, workflow injections, and authority mimicry. The scanner audits every MCP server before the agent loads it, flagging descriptions that contain more than one imperative verb or name specific tools.
Meridian48 take
The real story isn't the detector—it's that the MCP spec allows tool descriptions to function as behavioral overrides, a design flaw that shifts trust from the platform to every third-party server author.
Read the full reporting
I Spent a Week Watching My MCP Agents Get Hijacked by Tool Descriptions. Here's What I Built to Catch It. →
DEV Community
mcp-securityai-agent-hijacking