Posts tagged Sandboxing

How to Run AI Agents Locally Safely Using Sandboxed Containers and Restricted Permissions

An autonomous coding agent can turn “clean up the build” into an rm -rf command aimed at the wrong directory. If it runs with your host account’s permissions, it can delete files you can delete, including files in synced folders. It can also read credentials that your shell can access. Running the model locally changes where inference happens. The agent’s shell and tools still inherit the permissions you give them. Untrusted content adds another risk. A README, issue, webpage, or tool response can contain instructions planted for an agent to… Read More