Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Bash permission-rule matching gains compound bare-assignment support

Bash permission matching adds a compound-bare-assignment name list for allow/prefix rules

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaBash Permissionswhat it touches
KindInternal Changesin v2.1.268,
Under the hood

Bash permission matching adds a compound-bare-assignment name list for allow/prefix rules

What

The internal function that checks a bash command against your allow, deny, and ask permission rules now accepts a list called compoundBareAssignmentNames. For permission rules recognized as a 'bare assignment' pattern (a rule form the code detects via Vct(U)), that rule now only matches under allow-with-prefix rules, and only through a new check (NIn(U, p, v)) that consults this name list.

Why

This narrows when a bare-assignment-style permission rule is allowed to match, tightening how such rules are applied to bash commands.

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 doubtThe finding does not explain what a 'bare assignment' command pattern looks like in practice or which specific commands this affects.

See this entry in the whole of v2.1.268 →

Feedback