Bubblewrap builds unprivileged namespaces on Linux, Landlock lets a process restrict its own filesystem access, and Seatbelt profiles constrain child processes on macOS. Knowing these primitives helps you judge vendor claims and debug failures. Each has gaps, such as kernel version requirements or weak network filtering.
Read in this order
- Open sourcecontainers/bubblewrapStart here: the namespace tool behind most Linux agent sandboxes.
- OfficialLandlock: unprivileged access control (Linux kernel docs)The kernel's own account of Landlock, including its version limits.
- Open sourceCodex sandbox implementation notesHow a real agent combines these primitives, with notes on gaps.