Skip to content
Hacker News · AI·· 20 h agoAI score45

Sandlock: Confining AI Agent Code with Unprivileged Linux Primitives

Sandlock: Confining AI Agent Code with Unprivileged Linux Primitives

AI summary

Sandlock is a lightweight Linux process sandbox that confines untrusted AI agent code without root, cgroups, images, or mandatory namespaces. It compiles static, input-independent policy into kernel-enforced rules while a narrow supervisor handles runtime-dependent decisions, enforcing filesystem, network, IPC, and syscall policies. It adds roughly 5 ms of startup overhead and runs Redis at bare-metal throughput.

Source:Hacker News · AI · arxiv.org