{"version":"2.1.326","anchor":"shell-permission-checks-for-sensitive-name-and-glob-handling","canonical_anchor":"shell-permission-checks-for-sensitive-name-and-glob-handling","heading":"Shell commands near protected files are more likely to ask permission","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/shell-permission-checks-for-sensitive-name-and-glob-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Shell commands near protected files are more likely to ask permission\n\nClaude Code checks Bash and PowerShell commands more carefully for wildcards and tricks near protected paths, and asks when unsure\n\n**What**\n\nBefore running a Bash or PowerShell command, Claude Code checks whether it touches protected files and so needs your permission. That check was reworked:\n\n- It matches protected paths even when a command reaches them through wildcards (patterns such as `*`).\n\n- When it cannot tell, it now asks you rather than going ahead.\n\n- It handles `xargs`, `alias` and `env -S` more closely.\n\n- It treats `set` options that change how wildcards work as suspicious.\n\n**Why**\n\nCommands that use wildcards or quoting tricks near protected files are more likely to stop and ask for your permission.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}