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.33 ·

Enhanced Security: Path Resolution Bypass Protection

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

What: Three new security checks to prevent attacks using shell expansion and directory changes

Examples that now require approval:

echo "data" > /tmp/$VAR/file.txt        # Variable expansion in redirect
cd /tmp && rm -rf important/            # Directory change with write operation  
cat file > /etc/$(whoami)/config        # Command substitution in path

Details:

  • Shell expansion detection: Regex /(?:>>?)\s\S\$/ catches variable expansion with redirections
  • Dollar sign in paths: Any file path containing $ character requires approval
  • CD with write operations: Compound commands using cd + write operations require approval
  • All checks use "ask" behavior (require approval) rather than "deny"
  • Evidence: tP1() at line 254131, TYQ() at line 253932, Fe8() at line 253997

See this entry in the whole of v2.0.33 →

Feedback