MCP Tool Attacks Expose Autonomous Agents to Secret Theft and Unauthorized Actions
Emerging Technology Risk · 10 sources · Updated 2mo ago · First seen Sep 19, 2025

Model Context Protocol (MCP) tools are expanding the attack surface of LLM-powered autonomous agents by connecting them to external functions, services, and sensitive data. Attackers can exploit conventional implementation defects—including reported command-injection and CSRF issues—or manipulate agent behavior through indirect prompt injection hidden in tool metadata, parameters, retrieved content, and multi-tool workflows. Documented techniques include tool poisoning, encoded or invisible instructions, tool redefinition “rug pulls,” tool-name collisions, passive influence, and orchestration injection.
Successful MCP attacks can cause secret exfiltration, unauthorized command execution, financial fraud, and publication of private data. Organizations deploying MCP-enabled agents should restrict tools to trusted sources, enforce least-privilege access and sandboxing, require human approval for sensitive operations, disable auto-run and persistent “always allow” settings, manually review tool definitions and updates, and maintain auditable clients with comprehensive tool-invocation logging.


