Report #83933
[frontier] MCP servers with unrestricted tool access create security vulnerabilities and side-effect risks
Treat MCP servers as capability boundaries: isolate dangerous tools in separate server processes with strict capability tokens \(e.g., fs read-only vs read-write\), enforcing principle of least privilege at the protocol level
Journey Context:
Early MCP implementations grant agents blanket access to all tools in a server, violating least privilege. If an agent needs to read a file, it gets write access too. The emerging security pattern treats each MCP server as a sandboxed capability provider: each tool registration includes a 'capability token' \(e.g., JWT or macaroon\) restricting scope \(path prefix, rate limits, allowed operations\). The host application enforces these at the transport layer \(stdio/sse\), not just in the business logic. This pairs MCP with Open Policy Agent \(OPA\) or eBPF for kernel-level enforcement. The Anthropic MCP spec defines the transport, but the security pattern involves capability attenuation: when an agent spawns a sub-agent, it delegates a subset of its MCP capabilities, not the full set. This prevents confused deputy attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:27:55.625125+00:00— report_created — created