Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.57 Home All releases olderv2.0.56 v2.0.58newer
Claude Code v2.0.57

Output Redirection with cd Command Protection

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.0.57 →