{"version":"2.1.333","anchor":"auto-approved-ls-and-find-regexes-tightened","canonical_anchor":"auto-approved-ls-and-find-regexes-tightened","heading":"Stricter matching for ls and find commands that run without asking","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/auto-approved-ls-and-find-regexes-tightened","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Stricter matching for `ls` and `find` commands that run without asking\n\nClaude Code tightened which `ls` and `find` commands it treats as safe to run without a permission prompt\n\n**What**\n\nClaude Code runs some read-only shell commands without asking first. It has tightened the patterns it uses to recognise `ls` and `find` as safe:\n\n- `ls`: after the first space, the next character must not be another space.\n\n- `find`: exactly one space or tab is now allowed before its arguments, instead of any number.\n\nCommands that no longer match will ask for your permission as usual.\n\n**Why**\n\nThis is a security tightening of what runs without a permission prompt. You may see a prompt for an `ls` or `find` command with unusual spacing that ran silently before.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}