Search the documentation
2 pages for sandbox.excludedcommands.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Sandbox settings | Any file | | [`sandbox.excludedCommands`](#sandbox-excludedcommands) | Name commands that always run outs…
Security and data handling
Claude Documentation · in the page
government/security/security-and-data-handling
…ode documentation. Exempting git commands such as `git commit` with `sandbox.excludedCommands` is not a safe way around the socket restriction. A sandboxed command can still change files that git run…