Research on Claude Code’s sandboxing features, particularly when running inside Claude Desktop.

Documents

DocumentDescription
Claude Desktop SandboxingHow sandboxing works in Claude Desktop, restrictions, and workarounds

Key Finding

Yes, Claude Code running inside Claude Desktop IS sandboxed. This explains why globally installed CLI tools (like lattice) are not available - the sandbox restricts filesystem and network access for security.

  • Claude Code CLI (standalone) has configurable sandbox modes
  • MCP servers can also be sandboxed using the open-source sandbox runtime