You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.221,
ImprovementsSection of the release
What
The 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.
Details
A new predicate matches any variable that starts with CLAUDE_CODE_ARTIFACT and ends with _BASE_URL, and those are deleted.
The presence of such a variable alone is now enough to force the sanitizing path instead of returning process.env untouched.
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.