·
nix
remote-builds
Isolating a Nix remote builder in a microVM on a shared host
Distributed builds lend spare capacity to CI, but build scripts execute untrusted code. I isolate them in a builder VM with its own kernel, restricted access and resources the host can reclaim.
·
nix
ctf
Rebuilding a kernel exploit with Nix
A kernel exploit targeted a program that NixOS keeps at a different path. Rebuilding dirtyfrag with Nix meant finding and pinning the exact executable, while exposing a kernel bug the build sandbox cannot contain.
·
nix
ctf
A page-cache bug the Nix sandbox can't contain
A decryption can fail and still leave the file it read changed. The move that lands root isn't reading the dropped binary - it's reading what the recipe retargets.