{"version":"2.1.333","anchor":"powershell-delete-parse-check-gate","canonical_anchor":"powershell-delete-parse-check-gate","heading":"Stricter check on PowerShell delete commands, behind a remote switch","tier":"soon","area":"PowerShell","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/powershell-delete-parse-check-gate","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Stricter check on PowerShell delete commands, behind a remote switch\n\nClaude Code can now require a PowerShell delete to be one simple command with literal paths and no `..` before treating it as safe\n\n**Unclear.** Whether the remote switch is on by default, and so whether the stricter check applies to anyone, is not known.\n\n**What**\n\nClaude Code has a new check for PowerShell delete commands. It passes only when the command is a single simple command, every path in it is written out literally (not built from variables or expressions), and no path uses `..` to step up into a parent folder.\n\nThe check sits behind a switch that Anthropic controls remotely. When that switch is off, the check always passes and deletes are handled as before.\n\n**Why**\n\nWhen the switch is on, PowerShell deletes are validated more tightly, which makes it harder for a delete to reach files outside the paths it appears to name.\n\n- Area: PowerShell\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}