Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Deny rules are checked against a stricter form of a command first

Claude Code now checks deny rules against a stricter form of a shell command first, and denies it if that form matches

You'll notice Improvements
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
What

Before running a shell command, Claude Code compares it against your permission rules. A deny rule is one that says a command must never run. For some commands Claude Code rewrites the command into a standard form before comparing, and it used to try one such form.

It now first builds a stricter form made specifically for checking deny rules. If a deny rule matches that form, the command is denied. Only after that does Claude Code try the usual standard form.

Why

A command is now tested against your deny rules in more than one form, which may close a gap where rewriting a command let it get past a deny rule.

See this entry in the whole of v2.1.327 →

Feedback