Video 1 of 2: Zerobox: sandbox any command with file, network, and secret controls
Runs any command under Seatbelt on macOS or bubblewrap, seccomp and namespaces on Linux, with writes, network and env vars off until allowed. Secrets enter as placeholders that a local proxy swaps for real values on approved hosts only. Snapshots undo file changes.
- +10 msOverhead (M5 Pro)
- 8.4 MBMemory (echo, M5 Pro)
Trade-offs
- The sandboxing crates are vendored from OpenAI Codex, pinned to an upstream commit. Proven OS backends without writing new ones, but upstream flaws are shared and must be reported to OpenAI too.
- Secrets are swapped in at a network proxy, so the process only ever holds a placeholder. Clients must honor
HTTPS_PROXY: Node'sfetchneeds--use-env-proxy. - OS sandboxes, not containers or VMs: one binary and ~10 ms per run, but GUI apps can't be sandboxed on macOS and Windows is still planned.
Q&A3
No writes, no network and only
PATH, HOME, USER, SHELL, TERM and LANG from the environment. Reads are allowed unless --allow-read narrows them, and every deny flag takes precedence over its allow.Only after enabling unprivileged user namespaces, which AppArmor turns off by default there.
--strict-sandbox fails instead of falling back to weaker isolation.Yes.
--snapshot records file changes under the tracked paths, zerobox snapshot diff shows them, and --restore puts the files back to their pre-run state on exit.Links
Built by
Reviews
Loading reviews
More in Security
See all 45 →
OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
PandaWardLocal application security assessment that reports what it couldn't decide
KotauthMulti-tenant OAuth2 and OIDC identity server in Kotlin, self-hosted in Docker
SnitchPer-app network monitor and outbound firewall for the desktop
ConduitSSH, Mosh and SFTP client for phones with no account and no cloud sync
AEGISPre-execution firewall that checks every agent tool call before it runs
More in AI agents
See all 99 →
HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
DeftSelf-hosted workspace shared by people and AI agents
EntrolyLocal context layer that picks what coding agents send to the model- Active GraphEvent-sourced graph runtime for long-running, auditable agents
AgenvoySelf-hosted agent harness in one Go binary, running around the clock- CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
More in CLI tools
See all 74 →
blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
jc-rsjc rewritten as one static binary that turns command output into JSON- pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
haxMinimalist terminal coding agent written in C
roam-codeLocal code index and checks that coding agents can query