Security and privacy · Independent · 24 Oct 2026

anthropics/sandbox-runtime

A lightweight sandboxing tool for enforcing filesystem and network restrictions on arbitrary processes at the OS level, without requiring a container.

← Security and privacy
Anthropic Sandbox Runtime. Isolate local processes and control system access.

In simple English

When you run third-party code or coding agents, you risk giving them free access to your entire computer. This tool wraps any program in a lightweight security fence at the operating system level. It stops unauthorized programs from reading your password files or sending your data to unknown servers. You configure simple allowlists for folders and web domains. It runs on macOS, Linux, and Windows without needing heavy containers.

What it is

Anthropic Sandbox Runtime is a command-line tool and TypeScript library that enforces strict filesystem and network boundaries on local processes. It uses native operating system features like sandbox-exec on macOS and bubblewrap on Linux to isolate execution trees.

What it is good for

Solo builders want to safely run untrusted coding agents, helper scripts, or command-line tools without risking data leaks or accidental damage to their project files.

Stars6.4k
LicenceApache-2.0
Latestv0.0.81 (2026-10-20)checked 24 Oct 2026
Last code change2026-10-23
Written inTypeScript
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Enforces security restrictions at the operating system level without containers.
  • Controls exact read and write access for specific folders and files.
  • Blocks unauthorized network requests by domain name and network port.
Watch for
  • Setup requires configuring JSON settings files and command wrappers.
  • Network proxy filtering can occasionally break complex SSL connections or local development tools.
  • Requires Node.js or Bun installed on the host machine.
Replaces

Running untrusted scripts directly in your local terminal without any isolation

Works well with

Claude Code

Similar repositories
  • containers/bubblewrap9.2k stars

    A low-level unprivileged sandboxing tool for Linux that forms the basis of many container runtimes.

Also reviewed on Repo Radar
  • smallstep/certificates9.0k stars

    A certificate authority you run yourself, for machines the public internet cannot reach.

  • michelp/pgsodium614 stars

    A PostgreSQL extension that brings libsodium's encryption functions into SQL, with a root key the database cannot read back.

  • pgaudit/pgaudit1.7k stars

    A PostgreSQL extension that records what was done to the database, in the database's own log.

Install
npm install -g @anthropic-ai/sandbox-runtime

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: AI & Automation › AI Development & Evaluation › Agent Sandboxes.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.