{"version":"2.1.280","anchor":"daemon-startup-now-validates-and-drops-malformed-environment","canonical_anchor":"daemon-startup-now-validates-and-drops-malformed-environment","heading":"Daemon startup now validates and drops malformed environment variables","tier":"internal","area":"Daemon","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/daemon-startup-now-validates-and-drops-malformed-environment","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### Daemon startup now validates and drops malformed environment variables\n\nClaude Code now validates environment variables before handing them to a spawned daemon process\n\n**What**\n\nWhen Claude Code starts a background daemon process, it now checks each environment variable it is about to pass in. Entries with invalid names, values that aren't strings, or values containing NUL characters are rejected and dropped, and the dropped entries are logged. Previously the whole environment object was assigned to the daemon without this check.\n\n**Why**\n\nThis prevents malformed environment data from being silently passed into a spawned process, which could otherwise cause the daemon to fail to start or behave unpredictably.\n\n- Area: Daemon\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}