Risk Overview
The MCP Threat Landscape
Model Context Protocol standardizes how models execute functions and query data. However, exposing internal tools to non-deterministic LLMs introduces high-risk attack surfaces:
- Excessive Agency & Command Execution: Unbounded tool capabilities that allow arbitrary shell or database execution.
- Indirect Prompt Injection: Unsanitized tool outputs that hijack agent execution context and trigger unauthorized downstream calls.
- Transport Exposure: Unauthenticated stdio and SSE endpoints vulnerable to local process interception and CSRF-style attacks.
- Shadow MCP Deployments: Unmonitored internal servers bypassing corporate firewalls and IAM policies.