Timon secures agent sandboxes, blocks docker.sock
An architecture breakdown of the Timon agentic workstation highlights its 340-line C utility, timon-fence, which restricts AI coding agents using Linux Landlock and seccomp to block socket-based privilege escalation via docker.sock. Beyond containment, the platform coordinates local agent teams through Git worktrees and Kanban boards.
Most AI agent sandboxes are security theater because exposing Unix domain sockets like docker.sock hands root access back to untrusted code. Timon demonstrates that robust agent isolation requires zero heavyweight virtualization when kernel-native Landlock and seccomp filters can enforce boundaries in 340 lines of static C.
- –The Docker socket trap: Exposing /var/run/docker.sock to let agents build containers creates a direct path to host compromise, as dockerd executes arbitrary root commands on request.
- –Kernel-level enforcement: timon-fence restricts filesystem paths via Landlock rulesets and applies a BPF seccomp filter that blocks socket(AF_UNIX) and io_uring_setup, shutting down escapes to D-Bus, ssh-agent, and Docker.
- –Zero-dependency static binary: Writing the fence in static C ensures setuid binaries cannot bypass constraints via PR_SET_NO_NEW_PRIVS without dragging in heavy VM overhead.
- –Multi-agent coordination: Sandboxed missions execute inside isolated Git worktrees tied to Kanban boards, allowing parallel planning, coding, and review agents to collaborate safely on the local machine.
DISCOVERED
2h ago
2026-11-24
PUBLISHED
2h ago
2026-11-24
RELEVANCE
AUTHOR
KubaOnAI