Your memory API base URL and token are now hidden from every command Claude runs.
What's wrong with this entry?
CLAUDE_CODE_MEMORY_API_BASE_URL and CLAUDE_CODE_MEMORY_API_TOKEN are now stripped from the environment given to every subprocess Claude Code spawns, the same way CLAUDE_CODE_OAUTH_TOKEN and CLAUDE_CODE_ARTIFACTS_API_TOKEN already were. A bash command or tool cannot read your memory API token.
- Both names are new in this build.
- The code that would use the token sends it as an
Authorization: Bearerheader, but only when an override host is set, and the function that supplies that host currently returns nothing. So the memory-API override is not reachable yet; the scrubbing is the part that is live.
CLAUDE_CODE_MEMORY_API_TOKEN
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.248
Memory API endpoint and token environment variables
Both mention base token
-
v2.1.219
Remote Control now explains exactly which endpoint setting blocks it
Both mention base
-
v2.1.238
CLAUDE_CODE_ARTIFACT_SYNC_BASE_URLenv var for artifact syncBoth mention base