Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.221 ·

PowerShell path permission checks consider every de-quoting of a path

PowerShell commands touching sensitive paths are checked in every quoted form, so tricks can't slip past.

You'll notice Bug Fixes
JSON All of v2.1.221
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Bug FixesKind: in v2.1.221,
Bug FixesSection of the release
What

Sensitive-path and protected-path checks on PowerShell arguments now enumerate all candidate normalisations of a path rather than normalising once, and deny if any of them lands on a sensitive file.

Details
  • Candidates are identity, quote-stripped and escape-stripped forms of the argument.
  • When a path is not literally unquoted, the prompt no longer reports a blockedPath and no longer offers add-directory or switch-to-acceptEdits suggestions, which could previously point at the wrong location.
  • A new safety-check reason covers the quote-stripping ambiguity and routes the call to manual approval.
Evidence

resolves near a sensitive file under quote-stripping and cannot be statically validated; requires manual approval

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.221 →

Feedback