When you connect through a unix socket, settings files can no longer override your API keys or endpoint.
What's wrong with this entry?
When Claude Code talks to a unix socket, env vars coming from settings files can no longer redirect or re-credential that connection.
- Env vars applied from settings are filtered through a deny set covering ANTHROPIC_UNIX_SOCKET, ANTHROPIC_BASE_URL, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN, and every CLAUDE_CODE_ARTIFACT* variable.
- Only applies when process.env.ANTHROPIC_UNIX_SOCKET is set; otherwise settings env vars are applied as before.
ANTHROPIC_UNIX_SOCKET
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.233
Auth preflight before plugin eval runs
Both mention unix socket auth token
-
v2.1.229
OAuth token warning no longer tells you to unset the variable
Both mention auth token oauth
-
v2.1.234
The CLAUDE_CODE_OAUTH_TOKEN login warning can arrive as its own message
Both mention auth token oauth