Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Null-byte path check moved into a shared NullBytePathError helper

File paths containing a null byte are now rejected by permission-rule path handling too, with a dedicated NullBytePathError

Under the hood Internal Changes
JSON All of v2.1.281
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
File AccessArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release
What

A null byte is an invisible "empty" character that should never appear inside a file path. Claude Code already refused such paths when it worked out where a file is. Now there is a single shared check that raises a specific error named NullBytePathError, and three places use it:

  • the code that works out a file's location
  • two parts of the code that tidy up file paths inside permission rules (the rules that say which files Claude Code may touch)

There is also a new variant of the check that quietly returns nothing instead of raising an error.

Why

Before this change, only the file-location code checked for null bytes. Now the permission-rule path handling also refuses these malformed paths, and they all produce one clearly named error.

See this entry in the whole of v2.1.281 →

Feedback