The runner's sandbox
Work on your runner runs in a sandbox: seatbelt on macOS, bubblewrap on Linux. It can write only its own task folder and reach only the model vendor and allowed package registries.
Each task gets its own folder under ~/.agent-runner/sandbox. For code work, the runner clones the repository there with your own git access and removes the clone's remote. Work comes back to Crewshal as a diff. The runner never pushes, opens a pull request or changes a tracker. Crewshal checks the diff, then applies, verifies and delivers it.
On macOS (seatbelt) and on Linux (bubblewrap), the CLI and everything it starts run in a sandbox:
- It writes only the task folder and the CLI's own login location.
- It cannot change the clone's
.gitfolder or your settings. - Its only network is the runner's proxy. The proxy reaches the CLI's vendor and, when the repository allows installs, the package registries Crewshal names.
- It keeps only the environment variables its CLI needs. Your other tokens stay out.
- It cannot use the keychain or other secret stores, except Claude Code's own sign-in item on macOS.
The Linux sandbox uses bubblewrap. Install it first; the installer offers to do it. Each task gets its own network, and its only way out is the runner's proxy.
- When a protected folder in a CLI's login does not exist yet, such as
~/.codex/skills, the sandbox makes it empty and read-only. The empty folder stays. - When anything in the task makes a protected file in a CLI's login, such as
~/.claude/settings.json, the runner removes it, stops the CLI and fails the task.
A runner started with --allow-shell lets work use the CLI's shell. Where there is no sandbox, such as Linux without bubblewrap, such a runner takes no shell work. See Runner platforms.
Checked against the product on 2026-10-05.
Was this helpful?
Related articles
- The local runnerThe runner is a small program on your own computer. It starts your own Claude Code or Codex, under your own sign-in, for your own work and your organization's own work.
- Runner platformsThe runner works on macOS and Linux. Windows needs WSL. On Linux, the sandbox needs bubblewrap.
- What Crewshal storesCrewshal stores your organization's work, settings and knowledge. It never reads or stores your Claude or ChatGPT logins, and the runner sends facts about your folders, not their contents.