• Sources: primary
  • Summary: With cache.sandbox = true, mise restricts a cached task to files matched by sources, its config files, outputs of cached dependencies, system paths and mise-installed tools, limits writes to output directories and a private TMPDIR, trims the environment and blocks network access. Sandboxed cache entries are keyed separately, macOS and Windows run the task unsandboxed with a warning, and invalid #MISE header values in file tasks are now errors instead of being silently dropped. The release also cuts environment variable lookups per command from about 2,800 to about 500.
  • Why it matters: Teams relying on mise task caching can now detect undeclared inputs on Linux CI instead of restoring cache entries built from inputs mise never checked.
  • Background: Landlock is a Linux security module that lets an unprivileged process restrict its own filesystem and network access, with no root or container needed. Build caches are only correct when every input that affects an output is part of the cache key, and undeclared inputs are a classic source of stale or wrong cached builds, the problem hermetic build tools like Bazel address with sandboxing.