Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Shell commands that use $PWD get a second permission check

Commands that mention PWD or pwd are now re-checked with the real working folder filled in, and the stricter permission result wins

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What

Before Claude Code runs a shell command, it checks whether the command is allowed, needs your approval, or is blocked. When a command contains PWD or pwd (which stand for the current working folder), Claude Code now makes a second check: it fills in the real folder path and checks the command again. Whichever of the two results is stricter is the one used.

This second check is skipped on Windows and when commands run on a remote machine. An older, narrower check for these commands has been removed.

Why

Commands built on $PWD are now judged by where they actually point. Some may ask for approval where they used to run, or the other way round.

See this entry in the whole of v2.1.333 →

Feedback