{"version":"2.1.331","anchor":"shell-parser-gains-strict-parameter-expansion-reading","canonical_anchor":"shell-parser-gains-strict-parameter-expansion-reading","heading":"Stricter reading of ${...} in shell commands may bring more permission prompts","tier":"notice","area":"Bash Safety","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/shell-parser-gains-strict-parameter-expansion-reading","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Stricter reading of `${...}` in shell commands may bring more permission prompts\n\nClaude Code now checks names, nested quotes and subscripts inside `${...}` in shell commands, and asks permission when it cannot read them clearly\n\n**Unclear.** Whether the stricter reading is switched on depends on a remote switch whose fallback is not known.\n\n**What**\n\nBefore Claude Code runs a terminal command for you, it reads the command to decide whether it understands it well enough to run without asking. Parameter expansion is the part of a shell command written as `${...}`, which inserts the value of a variable.\n\nClaude Code now reads these parts more strictly. It checks:\n\n- the variable name inside the braces\n\n- quotes nested inside the braces\n\n- subscripts, which pick one item out of a list\n\nA name it cannot read clearly is marked as unreadable. Previously it only kept track of how deep the braces went and where quotes were. This stricter reading is controlled by a remote switch.\n\n**Why**\n\nIt narrows which commands Claude Code treats as understood, so more commands may stop and ask for your permission instead of running straight away.\n\n- Area: Bash Safety\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}