{"version":"2.1.331","anchor":"shell-parser-flags-more-forms-as-too-complex","canonical_anchor":"shell-parser-flags-more-forms-as-too-complex","heading":"More shell variable patterns are flagged as too complex to check","tier":"notice","area":"Bash Safety","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/shell-parser-flags-more-forms-as-too-complex","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### More shell variable patterns are flagged as too complex to check\n\nShell commands using some ${...} variable patterns are now treated as too complex, so they are less likely to run without asking you\n\n**Unclear.** Whether this stricter check is switched on for you is not known.\n\n**What**\n\nBefore running a shell command, Claude Code analyses it to decide whether it is safe to run without asking you. A `${...}` expression inserts a variable's value into a command. Claude Code now treats two more kinds of `${...}` as too complex to analyse:\n\n- a name or subscript that different shells read differently\n\n- a quote or brace inside a `${...}` that sits within double quotes\n\nThe message suggests rewriting the command, for example putting the text into a variable first, outside the braces.\n\n**Why**\n\nThe permission checks on shell commands are stricter. Commands with these patterns are more likely to need your approval before they run.\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"}