{"version":"2.1.336","anchor":"sandbox-excludedcommands-can-be-locked-to-managed-settings","canonical_anchor":"sandbox-excludedcommands-can-be-locked-to-managed-settings","heading":"Sandbox exclusions can be limited to managed settings only","tier":"use","area":"Sandbox","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/sandbox-excludedcommands-can-be-locked-to-managed-settings","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Sandbox exclusions can be limited to managed settings only\n\nUnder a new condition, Claude Code honours `excludedCommands` only from managed settings and refuses entries from anywhere else\n\n**Unclear.** What turns this managed-settings-only lock on is not clear.\n\n**What**\n\nThe sandbox is a fenced-off space where commands run with limited access. `excludedCommands` lists commands allowed to run outside it. Managed settings are settings an administrator puts on a computer.\n\nUntil now, Claude Code took `excludedCommands` from three trusted places: managed settings, a file passed with `--settings`, and your user settings. Under a new condition it accepts them from managed settings alone. Any excluded command from another place is refused, and the log message names managed settings as the only accepted source.\n\n**Why**\n\nAdministrators can stop users from widening the list of commands that escape the sandbox. If commands you listed in your own settings start running inside the sandbox, this lock may be the reason.\n\n- Area: Sandbox\n- Names: `excludedCommands`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: no"}