{"version":"2.1.326","anchor":"bash-permission-checks-oversized-commands-denied-against-de","canonical_anchor":"bash-permission-checks-oversized-commands-denied-against-de","heading":"Stricter permission checks for very long commands and some git commands","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/bash-permission-checks-oversized-commands-denied-against-de","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Stricter permission checks for very long commands and some git commands\n\nCommands too long to check against deny rules are now refused, and git commands that set variables able to run programs now ask first\n\n**What**\n\nBefore running a shell command, Claude Code checks it against your permission rules, including deny rules that block certain commands. Several checks are stricter now:\n\n- A command too long for the check to read fully is refused if you have deny rules with specific content. The message suggests shorter values, or putting the long text in a file.\n\n- A git command that sets a variable such as `GIT_SSH_COMMAND`, which can make git run another program, now asks for your approval.\n\n- Adding to an environment variable with `+=` is now treated as unsafe.\n\n- Deny rules for `cp` are handled more precisely.\n\n**Why**\n\nThese close ways a command could get past your rules. Some commands that used to run without asking may now prompt you or be refused.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}