{"version":"2.1.331","anchor":"local-runner-hardening-and-protected-credential-paths","canonical_anchor":"local-runner-hardening-and-protected-credential-paths","heading":"Credential and identity token files join the protected paths","tier":"notice","area":"Permissions","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/local-runner-hardening-and-protected-credential-paths","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Credential and identity token files join the protected paths\n\nClaude Code now protects credential and identity token files, and hardens local runner files, file writes and worktree exits behind switches\n\n**Unclear.** Whether the three switched hardening steps are turned on is not known.\n\n**What**\n\nClaude 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.\n\nThree more hardening steps sit behind server-controlled switches:\n\n- The local runner's process-ID and log files are written in a safer way.\n\n- Requests to write files get an extra check on their paths.\n\n- Leaving a worktree with `EnterWorktree`'s counterpart is hardened. A worktree is a separate working copy of a git repository.\n\n**Why**\n\nThese steps make it harder for a tool call to read or overwrite secrets or files it should not reach.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: both\n- Heads-up: yes"}