SideKernel improves sandbox usability for AI coding agents on macOS

SideKernel: A Usable microVM Sandbox for AI Coding Agents on macOS

Cryptography and SecurityArtificial Intelligence

Summary

Running AI coding assistants on personal Macs can be risky because these tools need a lot of freedom but might do harmful things. The authors found that less than 40% of users put these assistants in a safe, separate space called a sandbox, mostly because current options are hard to use. They built SideKernel, a simple and open sandbox solution that works well on Macs. SideKernel performs strongly compared to other similar sandboxes, making it easier for developers to safely run AI coding helpers.

What this means in practice

  • For macos software developers: Use SideKernel to safely run AI coding assistants locally without complex sandbox setup, improving security and ease of use.
  • For ai tool integrators: Integrate SideKernel as a lightweight microVM sandbox to control and secure AI coding agents on Mac development machines.

Authors

Dimitrios Prasakis

Abstract

AI coding agents are untrusted system components, yet they require autonomy on the developer machines they run on. This contradiction is a security problem. Sandboxes provide an isolated environment, but for local macOS development, the existing local, open-source options for AI coding agents are few in number and cumbersome to use. I conducted a formative online user survey which indicates that fewer than 40% of AI coding agent users run their agents in a sandbox and identifies the top usability barriers hindering AI coding agent sandbox adoption. These findings are used to develop SideKernel: an open-source, local, microVM-based macOS sandbox for AI coding agents designed for usability. To evaluate SideKernel, I compiled a list of sandboxes available on the market and filtered it against five inclusion criteria. Then I performed a comparative analysis between SideKernel and the sandboxes that satisfy these criteria, across 23 capability tests derived from the usability barriers revealed by the user survey. I discovered that only a few sandboxes are similar to SideKernel, and that among those, Docker Sandboxes and SideKernel score highest on capability features related to usability. A secondary contribution of this paper is a survey of the existing solution space for local, open-source, microVM-based macOS sandboxes for AI coding agents.