{"version":"2.1.329","anchor":"bash-permission-check-denies-commands-matching-deny-rules-on","canonical_anchor":"bash-permission-check-denies-commands-matching-deny-rules-on","heading":"Bash deny rules now catch commands that hid behind $!","tier":"notice","area":"Permissions","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/bash-permission-check-denies-commands-matching-deny-rules-on","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Bash deny rules now catch commands that hid behind $!\n\nClaude Code now blocks a command containing $! when it matches a deny rule once unknown values are ignored, and asks about more commands\n\n**What**\n\nA deny rule is a permission setting that stops Claude running certain commands. Some commands Claude runs with its Bash tool contain `$!`, a value the shell fills in only when the command runs. Claude Code now checks such a command a second time with those unknown values left out. If that version matches a deny rule, the command is blocked with a message saying so.\n\nThe check that asks you before running commands with values filled in at run time now also catches backticks and `<`. Its explanation has been reworded to say that such a command cannot be checked before it runs.\n\n**Why**\n\nThis closes a way for commands to slip past deny rules. Expect permission prompts for more commands than before.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}