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

Claude Code v2.0.57 ·

Output Redirection with cd Command Protection

Entry
JSON All of v2.0.57
EntryKind: in v2.0.57,
ChangesSection of the release

What: Commands that combine directory changes (cd) with output redirection (>, >>) now require explicit user approval.

Details:

  • Prevents potential path resolution bypass when final working directory cannot be determined
  • Error message: "Commands that change directories and write via output redirection require explicit approval"
  • Applies to compound commands like cd /tmp && echo "data" > file.txt
  • Single commands without cd or without redirection are unaffected
  • Evidence: Enhanced function j85() at line 310479, new parameter G for cd detection

See this entry in the whole of v2.0.57 →

Feedback