๐Ÿ“ฆ

Sandbox Mode

Claude Code

Enhanced safety with file/network isolation

Claude Code's open-source sandbox runtime isolates the file system and network to enhance safety while reducing permission prompts. It runs on your local machine and prevents code from modifying unexpected files or making network requests.

How to Use

1

Activate sandbox mode with /sandbox command

2

File isolation: Blocks access outside the project directory

3

Network isolation: Only allowed hosts are accessible

4

Permission prompts are significantly reduced within the sandbox

Tags

#sandbox #security #isolation #file #network

Source

Boris Cherny (@bcherny)