{"version":"2.1.336","anchor":"env-var-deny-list-now-filtered-through-a-schema-check","canonical_anchor":"env-var-deny-list-now-filtered-through-a-schema-check","heading":"Sandbox drops environment variables whose names fail a validity check","tier":"notice","area":"Sandbox","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/env-var-deny-list-now-filtered-through-a-schema-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Sandbox drops environment variables whose names fail a validity check\n\nWhen the sandbox builds its list of blocked environment variables, names that fail a check are now removed from the environment\n\n**Unclear.** Which environment variable names count as failing the check is not stated.\n\n**What**\n\nThe sandbox is a restricted space in which Claude Code runs commands, limiting what they can reach. Environment variables are named settings that programs read when they start. Claude Code builds a list of environment variables to keep away from sandboxed commands.\n\nEach name on that list is now checked first. A name that fails the check is removed from the environment entirely and is left off the list.\n\n**Why**\n\nBecause those variables are removed from the environment, commands in the sandbox may see a slightly different set of variables than before.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}