Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

PWD and OLDPWD now count as risky variables in the Bash env-var check

PWD and OLDPWD now always count as risky variables when the Bash check decides whether rm or cd can take the quick path

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

Unclear The finding does not say what the quick path skips, such as whether it means running without asking.

What

PWD holds the shell's current folder and OLDPWD holds the previous one. When Claude Code decides whether an rm or cd command can take its quick path, any reference to these two now always counts as risky and rules the quick path out.

The same check now also looks at:

  • the command's arguments
  • files named after < (input redirection, which feeds a file into a command)
Why

In practice, more commands that mention these variables, or that use them in arguments or redirects, are kept off the quick path.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what the quick path skips, such as whether it means running without asking.

See this entry in the whole of v2.1.281 →

Feedback