{"version":"2.1.329","anchor":"sandbox-srt-args-regex-accepts-an-env-prefix","canonical_anchor":"sandbox-srt-args-regex-accepts-an-env-prefix","heading":"Sandbox recognises its wrapped commands when they start with env -u","tier":"internal","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/sandbox-srt-args-regex-accepts-an-env-prefix","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Sandbox recognises its wrapped commands when they start with env -u\n\nThe sandbox now recognises the commands it wraps even when they begin with an env -u VAR prefix that removes a variable\n\n**What**\n\nThe sandbox is the restricted environment Claude Code can run commands in. It checks the shape of certain commands it runs through a shell wrapper. That check now also accepts commands that begin with `env -u VAR`, a prefix that removes an environment variable before the command runs. Before, the command had to start directly with the shell wrapper.\n\n**Why**\n\nThis matters if you run sandboxed commands through an `env` wrapper.\n\n- Area: Sandbox\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}