Claude Code v2.1.333 ·
Stricter reading of xargs and trailing characters in shell permission checks
Claude Code now reads trailing \;, \ or + and repeated xargs differently when deciding if a shell command needs permission
You'll noticeTier: how much it should matter to you
1Useful: 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 running a shell command, Claude Code breaks it down to decide whether to ask your permission. Two parts of that changed:
- Stripping a trailing
\;, \ or + now also takes the space in front of it in some cases.
- Spotting
xargs now skips a repeated xargs word.
Why
This changes which commands are treated as taking file paths or arguments, so some permission decisions may come out differently.
See this entry in the whole of v2.1.333 →