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 ·

write_db 'field' parameter validation tightened

write_db's str_replace 'field' parameter now has a stricter length and character check

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaArtifacts DBwhat it touches
KindImprovementsin v2.1.268,
You'll notice

write_db's str_replace 'field' parameter now has a stricter length and character check

What

The field parameter used by write_db's str_replace operation used to be validated with a simple regular expression. It's now checked against an explicit length bound of 1 to 200 bytes plus a named rule: the field must name a single top-level key, with no dots, slashes, brackets, quotes, backslashes, control characters, or invisible formatting characters, and it can't be the reserved __name__ key.

Why

This closes off ways a malformed or crafted field value could reference something other than a simple top-level key, such as by using path-like separators or hidden characters.

See this entry in the whole of v2.1.268 →

Feedback