{"version":"2.1.337","anchor":"powershell-path-validation-tracks-name-binding-parameters","canonical_anchor":"powershell-path-validation-tracks-name-binding-parameters","heading":"PowerShell permission checks now look at name and filter parameters","tier":"notice","area":"PowerShell","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/powershell-path-validation-tracks-name-binding-parameters","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### PowerShell permission checks now look at name and filter parameters\n\nChecks on PowerShell file commands now note -Filter, -Stream and Get-ChildItem names, and can turn them into a permission decision\n\n**What**\n\nBefore running a PowerShell command that touches files, Claude Code reads which paths it uses so it can decide whether to ask your permission. That reading now also looks at:\n\n- names passed with `-Filter` or `-Stream`\n\n- names given to `Get-ChildItem` without a parameter name\n\n- parameters that are missing a value\n\n- whether the command moves its folder\n\nA new check can turn these into a permission decision. A separate check on wildcard patterns can now be skipped in some cases.\n\n**Why**\n\nPermission checks on PowerShell file commands are tighter, so these parameters are harder to use to reach files the path check would miss.\n\n- Area: PowerShell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}