{"version":"2.1.334","anchor":"claude-code-refuses-file-paths-that-lead-to-its-own-process","canonical_anchor":"claude-code-refuses-file-paths-that-lead-to-its-own-process","heading":"Claude Code refuses paths that lead to its own process or the streams it holds","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/claude-code-refuses-file-paths-that-lead-to-its-own-process","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Claude Code refuses paths that lead to its own process or the streams it holds\n\nTools now refuse file paths that resolve to Claude Code's own process or to a stream or terminal it holds, including login pipes\n\n**What**\n\nClaude Code's tools (the actions Claude takes, such as reading a file) now refuse paths that lead back to Claude Code itself. Before allowing access, Claude Code follows the path through:\n\n- symbolic links (files that point to other files)\n\n- `\/proc\/self`, the system's view of the running process\n\n- `\/dev\/fd` and pipe paths, which point to open streams\n\nIf the path is or leads to Claude Code's own process, or to a stream or terminal it holds, access is refused with a message saying so. Claude Code also knows which streams carry login details:\n\n- `CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR`\n\n- `CLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTOR`\n\n- `CLAUDE_CODE_GATEWAY_TOKEN_FILE_DESCRIPTOR`\n\n- `CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR`\n\n**Why**\n\nThis stops the tools from reading credential pipes or Claude Code's own process entries. It can also block a legitimate read of a `\/proc` or `\/dev\/fd` path, so expect a refusal there.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}