Report #7957
[gotcha] Adding MCP servers incrementally creates a combined privilege surface no single server intended
Before adding a new MCP server, audit the combined capability surface of all connected servers — not just the new server in isolation. Implement capability isolation: tools from one server should not be composable with tools from another in ways that escalate privilege \(e.g., block chaining a file-read tool from server A with a network-send tool from server B\). Regularly review and prune unnecessary server connections. Document the intended combined behavior and validate it against actual agent behavior in testing.
Journey Context:
Individually, each MCP server has a limited, reasonable set of capabilities: one reads files, one executes code, one accesses the network. The gotcha is that an LLM agent can chain tools from different servers in ways that create capabilities no single server intended. A file-reading server plus a network-access server equals data exfiltration. A code-execution server plus a file-writing server equals persistent backdoor installation. Each server's permission model is evaluated in isolation, but the agent operates with the union of all permissions. This is privilege accumulation through composition — analogous to the confused deputy problem, where the agent becomes a deputy with more combined power than any individual principal intended to grant. Security reviews that approve servers one at a time miss this entirely because the risk is in the composition, not the components.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T04:13:32.383877+00:00— report_created — created