mlsanityData to 13 Oct 2026

Sandlock: Confining AI Agent Code with Unprivileged Linux Primitives

arXiv 2605.26298 ↗First posted 25 May 2026cs.CR cs.OScited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

AI agents increasingly run untrusted code on developer machines: shell commands generated by language models, third-party scripts retrieved at runtime, and tool plugins of unknown provenance. Existing isolation mechanisms impose tradeoffs that fit this workload poorly: containers and microVMs add privilege, image-management, and startup costs, while ad-hoc process controls and wrappers (e.g. chroot, ulimit) provide weak guarantees and little syscall-level control. Sandlock is a lightweight Linux process sandbox organized around a simple split: static, input-independent policy is compiled into kernel-enforced rules, while a narrow supervisor handles runtime-dependent decisions and virtualized effects. This split lets Sandlock enforce filesystem, network, IPC, and syscall policies without root, cgroups, images, or mandatory namespaces. It also supports dynamic network decisions, HTTP-level access control, TOCTOU-safe inspection of execve arguments, and reversible filesystem effects. On our workstation, Sandlock adds roughly 5 ms of startup overhead and runs Redis at bare-metal throughput (within measurement noise); its pipeline operator further supports per-stage confinement for separating data, network, and untrusted-content capabilities. Sandlock is available at https://github.com/multikernel/sandlock

Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 6 of its 35 references that are in the map. First posted on arXiv 25 May 2026.

Builds on

6 of 35 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026ACRFence: Preventing Semantic Rollback Attacks in Agent Checkpoint-Restore21 Mar
  2. 2025Defeating Prompt Injections by Design24 Mar

Other references · 4

  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,676
  2. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 977
  3. 2026AgentCgroup: Understanding and Controlling OS Resources of AI Agentscited by 13
  4. 2026Fork, Explore, Commit: OS Primitives for Agentic Explorationcited by 5

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities
  2. 2026Evaluating Coding Agents on Kernel Exploit Generation
  3. 2026PrimSynth: An Agentic Approach to Discover, Validate, and Synthesize Exploit Primitives for Linux Kernel Vulnerabilities
  4. 2026AgentWall: A Runtime Safety Layer for Local AI Agents
  5. 2026One Goal, Many Commands: Characterizing Denylist Fragility in AI Agents
  6. 2025AgentBound: Securing Execution Boundaries of AI Agents
  7. 2026SideKernel: A Usable microVM Sandbox for AI Coding Agents on macOS
  8. 2026LinuxArena: A Control Setting for AI Agents in Live Production Software Environments