AI Disruption

AI Disruption

6 Types of Isolation in Claude Code, Ranked for You

Explore six isolation options for Claude Code, from /sandbox to VMs and cloud sessions, and learn which boundary fits your threat model.

Meng Li's avatar
Meng Li
Nov 12, 2026
∙ Paid
How to Use New Claude Code Sandbox to Autonomously Code (Without Security  Disasters) | by Joe Njenga | Medium

Most people’s understanding of Claude Code security comes down to one sentence: just turn on /sandbox.

I thought so too at first. Then I listed what actually needs to be isolated, and it turned out to be less simple. Bash commands, Read/Edit/Write, MCP Servers, Hooks, and plugin Monitors all run inside one session, but they don’t all live on the same layer.

/sandbox is great, but it mainly covers commands and their child processes.

The built-in file tools still run inside the Claude Code process. MCP Servers, command Hooks, and plugin Monitors may also be separate processes running directly on your host. In other words, getting Claude to ask for “Allow” fewer times and locking it in a truly separate room are two completely different things.

User's avatar

Continue reading this post for free, courtesy of Meng Li.

Or purchase a paid subscription.
© 2026 Meng Li · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.