{"version":"2.1.337","anchor":"find-f-and-exec-argument-handling-extended-for-a-permissi","canonical_anchor":"find-f-and-exec-argument-handling-extended-for-a-permissi","heading":"Path check for find -style commands now reads -f arguments correctly","tier":"notice","area":"Bash Safety","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/find-f-and-exec-argument-handling-extended-for-a-permissi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Path check for `find`-style commands now reads `-f` arguments correctly\n\nThe safety check that collects paths from a `find`-style command now records `-f` arguments and leading paths, where before it was effectively broken\n\n**What**\n\nBefore Claude runs a shell command, Claude Code can check which file paths the command touches and decide whether to ask your permission. For a `find`-style command, the part of that check that reads leading flags and paths was effectively broken.\n\nIt now handles `-f` arguments and leading paths separately and adds both to the list of paths it checks.\n\n**Why**\n\nPaths given in these positions are now included in the permission check. Previously they could slip past it.\n\n- Area: Bash Safety\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}