Repository navigation
v0.5.0
Changes
Security
- Enforce the workload cgroup, identity and saved seccomp program for native attach and probe helpers, run timed probes in private sessions, and reap their descendants.
- Restrict futex operations in the native seccomp filter, denying all priority-inheritance commands, and limit
socketpair()to the Unix domain while denyingTCP_ULPat the TCP level. - Remap root-launched containers to exclusive, atomically claimed host UID and GID blocks instead of the shared fixed range, and strip set-user-ID and set-group-ID bits from workspace copy-in and copy-out.
- Require authenticated private snapshots for image imports, open mount targets component by component without following image symlinks, and apply recursive bind-mount restrictions before the mount tree becomes visible (Linux 5.12 or later).
- Deny all bridge traffic by default in every service mode and require successful firewall installation before the workload is released.
- Apply write/execute checks to
mmap,mprotectand opt-inpkey_mprotect, make executable SysV shared-memory attachments read-only, and clear inheritedREAD_IMPLIES_EXEC. - Deny
PR_SET_MMoptions,mknod,pidfd_getfd,open_by_handle_at,kcmp,syslogand clock setters in native policies, and require explicit opt-in forsplice,teeandsendfilein every network mode. - Preserve legacy terminal ioctls in GPU mode while blocking
TIOCSTIandTIOCLINUXon inherited descriptors. - Bind only
/nix/storefrom the host Nix installation in native agent mode and enforce the GPU device allowlist with a cgroup-device eBPF program. - Check bind sources against sensitive directories, verify the selected rootfs and its store objects against the host Nix database, and mount native procfs with
hidepid=2,subset=pid. - Enforce configured minimum Landlock ABIs with ABI 6 scoping for host-network workloads, scope abstract Unix sockets and signals, and verify all five capability sets against kernel state.
- Isolate bridge ports by default, scope masquerade to traffic leaving the bridge, publish ports only on local destinations, and run
slirp4netnsas mapped root with mandatory sandbox and seccomp filters. - Require explicit DNS egress grants, resolve them on the host, reject protected answers, and expire permitted resolvers in the kernel.
- Sign image content and metadata with Ed25519, support public-key-only verification, and validate OCI hook executables and their ancestors while dropping their capabilities and enforcing no-new-privileges.
- Pin checkpoint directories for HMAC verification and CRIU execution, enforce supervisor ownership, and scope seccomp trace records by audit PID, descendants, cgroup and PID namespace.
- Route state directories through the trusted-directory gate, rejecting foreign-owned roots even for host root.
- Resolve
/proc/selfand descriptor links again by removing the mount-widenosymfollowflag while keeping execution blocked at theexecveat, Landlock and mount-noexec decision points, and fail closed unless every workload proc mount carriesnosuid,nodev,noexec. - Mount
/tmpas a dedicatednoexec,nosuid,nodevtmpfs reserved against volume overrides. - Allowlist
setsockoptlevels with per-level carve-outs denyingTCP_ULPandUDP_ENCAP, and denyMSG_OOBon message sends and receives.
Added
- Per-topology bridge networks with distinct names and configured subnets.
- Ed25519 image signing with cross-host verification instructions.
- NixOS
environmentFilesupport for passing private runtime configuration to supervisors.
Changed
- Require Rust 1.100 and refresh the Cargo and Nix dependency graphs.
- Run gVisor bridge networking on the sandbox network stack, pin runsc 20261116.0 in the flake, and reject unversioned builds or releases older than 20260831.0.
- Require nftables and
net.ipv4.ip_forward=1for the kernel bridge backend; unmarked bridges from earlier versions require migration, and DNS egress now requires--egress-dnswith--dns. - Default NixOS supervisors to per-unit dynamic users with bounded capabilities, syscall and namespace restrictions; remove the unrestricted
extraArgsoption. - Reject automatically root-remapped containers and legacy namespaces with unknown mappings in CRIU checkpoint and restore; recreate existing root-remapped containers to receive fresh exclusive ID mappings and preserve the reservation registry across upgrades.
Fixed
- Deny
FICLONE/FICLONERANGEioctl probes withEOPNOTSUPPso coreutilscpfalls back to a read/write copy instead of dying withSIGSYSon current distributions. - Fall back to a staging file when the kernel rejects memfd
resolv.confbinds, and keep the staged file readable by non-root workloads. - Remove deleted workspace directories through the pinned descriptor rather than the procfs link.
- Recover from kernel log overruns without discarding seccomp trace records.
Full changelog: v0.4.0...v0.5.0