Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

Rewrite-detector generalized to catch control characters in any prop, not just origin

The check for hooks secretly rewriting UI text now covers more fields and blocks hidden control characters

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

The check for hooks secretly rewriting UI text now covers more fields and blocks hidden control characters

What

Claude Code has an internal check that catches a hook or plugin silently rewriting the text a UI element displays. Previously this check only looked at one field, a message's origin. It now checks a wider set of fields (origin, isExpanded, task, from), and separately flags any of these values as suspicious if it contains a control character (a hidden escape sequence the terminal would act on) or is unexpectedly long.

Why

This closes gaps where a hook could have altered what a user sees in ways the old, narrower check wouldn't catch, making it harder for a hook to disguise a rewrite as ordinary printable text.

See this entry in the whole of v2.1.274 →