{"version":"2.1.221","anchor":"artifact-credentials-and-artifact-base-urls-are-stripped-fro","canonical_anchor":"artifact-credentials-and-artifact-base-urls-are-stripped-fro","heading":"Artifact credentials and artifact base URLs are stripped from child process environments","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/artifact-credentials-and-artifact-base-urls-are-stripped-fro","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### Artifact credentials and artifact base URLs are stripped from child process environments\n\nArtifact tokens and artifact base URLs no longer leak into processes Claude spawns.\n\n**What**\n\nThe environment handed to spawned processes now drops the artifacts API token and any artifact base URL variable, alongside the OAuth token and subscription vars it already removed.\n\n**Details**\n\n- A new predicate matches any variable that starts with `CLAUDE_CODE_ARTIFACT` and ends with `_BASE_URL`, and those are deleted.\n- The presence of such a variable alone is now enough to force the sanitizing path instead of returning `process.env` untouched.\n- The artifacts token was added to the sensitive-variable list alongside ANTHROPIC_API_KEY and CLAUDE_CODE_OAUTH_TOKEN, and to the set stripped from config-derived env.\n- Applies to everyone on this build.\n\n**Evidence**\n\n`return e.startsWith(\"CLAUDE_CODE_ARTIFACT\") && e.endsWith(\"_BASE_URL\");`\n\n- Area: Permissions\n- Names: `CLAUDE_CODE_OAUTH_TOKEN`, `ANTHROPIC_API_KEY`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 0\/5"}