Sandbox gaps: 16% of MCP servers hold filesystem powers your agent sandbox doesn't cover

SirRobinBlibs · reddit · 2026-10-30

The author shows that coding-agent sandboxes by default don't cover MCP servers: Claude Code lists local MCP servers among processes running "with your full access," and Codex notes MCP servers use their own process or transport.

Mitigations: containerize read-only servers (--network none, :ro mount, digest-pinned image); give each server its own narrow token via env, using CLAUDECODESUBPROCESSENVSCRUB=1 in Claude Code; sandbox the whole agent; and patch the Python mcp SDK (GHSA-84m7-p3x7-pcfv, fixed in 1.30.0/2.2.0).

Original post →

More from coding & agent

coding & agent channel →