{"version":"2.1.333","anchor":"shell-command-parsing-fixes-for-env-assignments-and-redirect","canonical_anchor":"shell-command-parsing-fixes-for-env-assignments-and-redirect","heading":"Shell commands are split more accurately when checked against permission rules","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/shell-command-parsing-fixes-for-env-assignments-and-redirect","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Shell commands are split more accurately when checked against permission rules\n\nLeading VAR=value assignments are skipped only before a command's first word, and redirect detection no longer matches partway through a number\n\n**What**\n\nBefore running a shell command, Claude Code splits it into parts so it can check them against your permission rules. Permission rules are the settings that decide which commands Claude may run without asking you. Two parts of that splitting changed:\n\n- Variable assignments such as `VAR=value` at the start of a command are now skipped only up to the first real word. Earlier, assignments were skipped wherever they led the list of words.\n\n- Redirects such as `>&` are no longer recognised when the text before them is a digit, so a redirect is not picked out partway through a number.\n\n**Why**\n\nHow a command is split decides which permission rule it matches. Commands that set variables or use redirects can now match your rules differently than they did before.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}