Claude Code v2.1.323 ·
Shell command checks flag more tricky command patterns
Claude Code's shell command checker now flags more patterns it may misread and has a time limit on its work
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.323,
ImprovementsSection of the release
Unclear It is not clear what these flags change in practice, or which of them are switched on.
What
Before running a shell command, Claude Code reads it to judge whether it is safe. That reader now flags more patterns it might misread:
- Bracket words.
- Brace expansion edge cases.
= inside a [[ ]] test.
# inside a [[ ]] test.
- Digits right before a redirect, such as
2>.
It also now has a CPU time limit and caps on how long substituted variable text can grow. Some of these flags appear to depend on an internal switch.
Why
The command safety check is harder to fool. More commands may be treated as too complex to allow automatically, so you may be asked about them.
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 doubtIt is not clear what these flags change in practice, or which of them are switched on.
See this entry in the whole of v2.1.323 →