Report #99812
[gotcha] Local stdio MCP servers run with full user privileges and no sandbox by default
Run every stdio MCP server inside a container or sandbox with least-privilege filesystem and network access; deny default egress; never install an unvetted server directly on your host.
Journey Context:
Because MCP is a 'protocol,' users assume it provides isolation. It does not: a stdio server is just a child process spawned by the client with the user's full permissions. Claude Desktop and similar clients execute whatever command is listed in the config. The easy fix of 'just trust the server' is what makes prompt-injection chains turn into RCE. Sandboxing adds friction, but it is the only way to limit blast radius when a server is compromised or tricked.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T05:06:07.062776+00:00— report_created — created