{"version":"2.1.324","anchor":"sandbox-child-processes-now-get-a-sanitized-env-and-windows","canonical_anchor":"sandbox-child-processes-now-get-a-sanitized-env-and-windows","heading":"Sandbox helpers get a set environment, and Windows gains an mxc backend","tier":"notice","area":"Sandbox","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/sandbox-child-processes-now-get-a-sanitized-env-and-windows","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Sandbox helpers get a set environment, and Windows gains an mxc backend\n\nSandbox helper programs now start with an environment Claude Code sets, and `windows.backend` can be set to `mxc` on Windows\n\n**What**\n\nThe sandbox is the walled-off area where Claude Code runs commands with limited access. It starts several helper programs: ripgrep (for searching), network bridges, the macOS log stream and `srt-win`. Before, these inherited your environment variables unchanged. They now start with an environment Claude Code prepares for them.\n\nOn Windows, the `windows.backend` setting can now be `mxc`, a new way of running sandboxed commands:\n\n- It needs an SDK to be present. Without it, setup stops with an error.\n\n- It does not support `network.tlsTerminate`.\n\n- It starts commands itself. Programs built on the sandbox must call `SandboxManager.spawnSandboxed()` instead of building the command line themselves.\n\nAlso:\n\n- The sandbox's SOCKS proxy (the part that routes network traffic) can now route through the connection used for inspecting traffic.\n\n- `srt-win` gains `profile retry-stale`.\n\n- An out-of-date grant to read your profile is now refreshed automatically.\n\n- Setup now stops cleanly if the sandbox is reset partway through.\n\n**Why**\n\nOn Windows you can choose the new `mxc` backend, though it cannot inspect HTTPS traffic. If a sandbox helper relied on a variable from your shell, it may no longer see it.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}