Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Credential and identity token files join the protected paths

Claude Code now protects credential and identity token files, and hardens local runner files, file writes and worktree exits behind switches

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

Unclear Whether the three switched hardening steps are turned on is not known.

What

Claude Code has a list of protected paths, files that tools are kept from touching freely. That list now covers credential files and identity token files, which hold sign-in secrets.

Three more hardening steps sit behind server-controlled switches:

  • The local runner's process-ID and log files are written in a safer way.
  • Requests to write files get an extra check on their paths.
  • Leaving a worktree with EnterWorktree's counterpart is hardened. A worktree is a separate working copy of a git repository.
Why

These steps make it harder for a tool call to read or overwrite secrets or files it should not reach.

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 doubtWhether the three switched hardening steps are turned on is not known.

See this entry in the whole of v2.1.331 →

Feedback