v2.2.2
·
487 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Features
- Add an experimental
sandboxaction for network-isolated command execution (#155, #156)- Buildcage previously only isolated Docker
RUNsteps; a compromised dependency could still phone home from a plainrun:step (npm install,pip install, a test suite, a build script). The newsandboxaction wraps anyrun:command in the same outbound-network allowlist (bridge network, iptables redirect, DNS redirect, SNI/Host-based allowlist proxy) thattransparentmode already applies to Docker builds - Unlike a Docker build, the command still runs directly on the runner rather than inside a container — so
actions/setup-node-installed toolchains, credential-provider actions (e.g.aws-actions/configure-aws-credentials), andactions/cache/$HOME-based caches keep working exactly as they do today, with no image or workflow restructuring needed - Also restricts the filesystem to read-only outside
$GITHUB_WORKSPACE,$HOME, and/tmpby default (configurable via a newwritableinput), and is safe to run concurrently across steps via Actions'background/wait/parallelkeywords - Marked experimental: newer and less battle-tested than the
setup/reportbuild-isolation actions — seedocs/security.md#sandbox-actionfor the current threat model and known limitations
- Buildcage previously only isolated Docker
Full Changelog: v2.2.1...v2.2.2