{"version":"2.1.329","anchor":"remote-and-user-typed-bash-can-be-refused-before-running","canonical_anchor":"remote-and-user-typed-bash-can-be-refused-before-running","heading":"Some shell commands can now be refused before they run","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/remote-and-user-typed-bash-can-be-refused-before-running","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Some shell commands can now be refused before they run\n\nRemote shell commands and shell commands you type yourself now go through a check first, and are refused with an error message if it fails\n\n**Unclear.** What condition causes the check to refuse a command is not known.\n\n**What**\n\nBefore running a shell command, Claude Code now runs a check. This applies to commands sent remotely and to shell commands you type yourself. If the check returns a message, the command does not run and the message is shown as error output:\n\n- For a command you typed, the message appears as the command's error output.\n\n- For a remote command, the message appears as error output and the command reports exit code 1, meaning it failed.\n\n**Why**\n\nIn some sessions, shell commands can now be blocked before they start.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}