8 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.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…"]`. These run unsandboxed automatically without model involvement; [`sandbox.excludedCommands`](/docs/en/settings-reference#sandbox-excludedcommands) covers when an entry applies | | `allowUnsandboxe…
Claude Code changelog
Claude Code CLI · in the page
changelog
…keeping the sandbox exemption from a git pattern such as `git *` in `sandbox.excludedCommands`; it is now treated like the long form * Fixed the first feature-flag request of a session ignoring a pro…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…side the sandbox with `excludedCommands` List a command pattern in [`sandbox.excludedCommands`](/docs/en/settings-reference#sandbox-excludedcommands) to run matching commands outside the sandbox, whi…
All settings
Claude Code CLI · in the page
settings-reference
…s-verification-on-macos) on macOS | Sandbox settings | Any file | | [`sandbox.excludedCommands`](#sandbox-excludedcommands) | Name commands Claude Code can run outside the [sandbox](/docs/en/sandboxin…
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…
Code in Claude Desktop on 3P
Claude Documentation · in the page
third-party/claude-desktop/code
…edWorkspaceFolders`. Where the sandbox runs, a command that matches [`sandbox.excludedCommands`](https://code.claude.com/docs/en/sandboxing#run-commands-outside-the-sandbox-with-excludedcommands) in t…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…`merge`. Not covered: MCP servers, hooks, the terminal, commands in `sandbox.excludedCommands`, and git worktrees, which Claude Desktop and Claude Code still create inside the folder. > > > > If a re…
SSH remote sessions in Claude Desktop on 3P
Claude Documentation · in the page
third-party/claude-desktop/ssh-remote-sessions
…dboxing). The sandbox doesn't cover commands listed in Claude Code's `sandbox.excludedCommands`, or a path that contains one of `* ? [ ] ( ) { } | +` or a double quote. It may not stop commands in a f…