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.257 ·

New host-credential file protection glob for read denials

An always-deny rule now stops tools reading Claude's own credential and config files, including backups and swap files.

TierYou'll noticehow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaPermissionswhat it touches
KindNew Featuresin v2.1.257,
You'll notice

An always-deny rule now stops tools reading Claude's own credential and config files, including backups and swap files.

A new always-deny rule set, alwaysDenyRules.hostCredential, blocks tools from reading Claude's own credential and config files. It covers .claude.json, its backup variants, key files, resume markers, and the CLAUDE_CODE_HOST_CREDS_FILE path, closing off odd paths, swap files, and backups as read vectors.

Read from
Names in the bundle.claude.jsonCLAUDE_CODE_HOST_CREDS_FILE
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Use Claude Code features in the SDK touched a line naming .claude.json after this was published. When you omit `settingSources`, `query()` reads the same filesystem settings as the Claude Code CLI: user, project, and local settings, CLAUDE.md files, and `.claude/` skills, agents, and commands. To run without these, pass `settingSource… agent-sdk/claude-code-features see the edit
Confirmed since Anthropic's documentation has since written up .claude.json, on CLI reference. | `claude project purge [path]` | Delete all local Claude Code state for a project: transcripts, task lists, debug logs, file-edit history, prompt history lines, and the project's entry in `~/.claude.json`. Omit `[path]` to pick from an in… cli-reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up .claude.json, on CLI reference.

See this entry in the whole of v2.1.257 →

Feedback