Files
windmill/backend/windmill-worker
Ruben FiszelandClaude Opus 4.8 fd54cc694d fix(security): sandbox the PowerShell module install step under nsjail
The PowerShell module-install step ran `pwsh -Command <install_string>` directly
via start_child_process with no nsjail wrapping, unlike the run step which gates
on is_sandboxing_enabled(). Defense-in-depth: wrap the install step in nsjail
when sandboxing is enabled, using a dedicated install proto modeled on
run.powershell.config.proto but with the module cache mounted rw (so
Save-PSResource can still populate it) and the per-job script/result mounts
dropped.

Smoke-tested locally: nsjail starts, pwsh runs inside the jail (jailed /proc/1),
and writes to the rw cache mount succeed. NOT yet validated end-to-end is module
download from PSGallery / a private repo through the cloud tracing proxy — hence
draft.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 17:03:52 +00:00
..

Windmill Worker

The worker. Used to process and execute flows & jobs.

This crate exposes both a library as well as a binary target.