2026-11-26 15:48 UTC

Anthropic open-sources Claude Code’s OS-level sandbox runtime

state: seedheat: mediumuncertainty: mediumrelevance: highanthropic coding-agents sandboxingAnthropic

What is this?

Anthropic’s sandbox-runtime (srt) is presented as an early open-source research preview, under Apache-2.0, of the OS-level sandbox developed for Claude Code. The project description says it restricts filesystem and network access for processes without requiring a container; reported platform backends are macOS Seatbelt and Linux bubblewrap, with Windows support in alpha. The repository warns that APIs and configuration may change. The supplied release details come mainly from a secondary report; the search results also surface Anthropic’s project page and earlier sandboxing documentation.

Why it matters

This is a useful security tool release for developers running coding agents or MCP servers: it makes OS-level filesystem and network restrictions available as a reusable, container-free package. That could help teams limit what an agent process can access while reducing reliance on repeated permission prompts. But sandboxing is not a guarantee of safety, and the project is explicitly an evolving research preview with platform-specific gaps; teams should review its limits and configuration before relying on it for sensitive workloads.

Current assessment

Anthropic’s GitHub project page, surfaced in the supplied web results, describes sandbox-runtime as an early open-source research preview developed for Claude Code, and says APIs and configuration formats may evolve. The linked AI Weekly report says the package is published as @anthropic-ai/sandbox-runtime under Apache-2.0 and describes macOS Seatbelt and Linux bubblewrap backends, plus an alpha Windows implementation. Reported features include filesystem and network controls, allow-only network policies, credential masking, and MCP-server sandboxing. The report also notes Windows limitations, including unsupported system-TLS clients and traffic through system services that can escape the network fence. The project’s release and technical details are supported by its surfaced GitHub page; specifics and caveats here are largely conveyed through the secondary report, not independently verified against repository documentation. Practical implication: developers can evaluate a native-OS alternative to container-based isolation for agent processes, but should test the relevant platform and threat model rather than assume complete containment.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 780h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-25 04:31 (minted)⭐ origin echo-reconstructedThe AI Weekly report says Anthropic released sandbox-runtime, the OS-level sandbox used in Claude Code, as an Apache-2.0 npm package; it des
Anthropic on github (echo) · attributed from hn.story.50228041 · published time unknown
—
10-25 03:34first on hacker news · published · lag ?Anthropic's Claude Code Sandbox
noobplus
—
10-25 03:34amplified on hacker news 👑hn.story.50228041
noobplus
peak 1 · 0 comments · 103% of case engagement
10-25 04:29our radar first saw it · lag ?discovery anchor: hn.story.50228041—
pace: p10 vs 879 stories at the 720h mark (now 780h old) — behind agent-detects-silent-email-failures (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnAnthropic's Claude Code Sandbox
Retrieved article excerpt

Open article · Retrieved 2026-10-25T04:30:40.555466+00:00

github.com

web signal

# Anthropic Open-Sources Claude Code Sandbox Under Apache 2.0

By [Alexis Dufresne](https://aiweekly.co/about#alexis-dufresne)
·
Published
October 24, 2026 at 12:37 UTC
·
Updated
October 24, 2026 at 13:30 UTC

[Anthropic](https://aiweekly.co/ai-news-today/anthropic-news)
[Safety](https://aiweekly.co/ai-news-today/safety-ai-news)
[Open Source](https://aiweekly.co/ai-news-today/open-source-ai-news)
[Agents](https://aiweekly.co/ai-news-today/agents-ai-news)
ai-business

AI Weekly Pro

Want only the AI that hits your stack?

Build an agent that tracks your companies and topics, and skips everything else.

[Build your agent →](https://aiweekly.co/intelligence/wizard-v2?src=alert-pro-top)

## TL;DR

- Anthropic released sandbox-runtime (srt), the OS-level sandbox used in Claude Code, as the @anthropic-ai/sandbox-runtime npm package under Apache-2.0.
- The runtime uses sandbox-exec with Seatbelt profiles on macOS, bubblewrap on Linux, and an alpha Windows build backed by Windows Filtering Platform filters and NTFS ACLs.
- Documented features include allow-only network policies, Unix-socket allowlisting, experimental TLS termination, credential masking, AWS SigV4 signing, and drop-in sandboxing of MCP servers.

Editor's note

Anthropic is handing agent teams a reusable, process-level isolation primitive and signaling that native OS sandboxes, not containers, are its answer for running arbitrary agent-generated commands.

Anthropic has released the sandbox that runs behind Claude Code as an open-source npm package, [`@anthropic-ai/sandbox-runtime`](https://github.com/anthropics/sandbox-runtime), under the Apache-2.0 license. The project README describes srt as "a lightweight sandboxing tool for enforcing filesystem and network restrictions on arbitrary processes at the OS level, without requiring a container."

The runtime wraps each platform's native primitives. On macOS it uses `sandbox-exec` with dynamically generated Seatbelt profiles. On Linux it uses `bubblewrap` with network namespace isolation. The Windows build combines a Windows Filtering Platform egress fence with a write-restricted token and explicit NTFS ACLs, and ships a bundled `srt-win.exe` helper for x64 and arm64. A one-time elevated `windows-install` step provisions a dedicated `srt-sandbox` local user account and the machine-wide WFP filter set.

Features called out in the README include an allow-only network policy with wildcard domain support, Unix-socket allowlisting, experimental TLS termination for MITM inspection of HTTPS, credential masking for environment variables and files, and AWS SigV4 request signing with masked keys. The docs show drop-in MCP server sandboxing by swapping the `command` field in an `.mcp.json` entry from `npx` to `srt`.

The repo frames the release as "a research preview developed for Claude Code to enable safer AI agents" and cautions that "APIs and configuration formats may evolve." The Windows backend documents specific holes. Tools built on the system TLS stack (Schannel), including `System32\curl.exe`, PowerShell's `Invoke-WebRequest`, .NET `HttpClient`, and `winget`, cannot be used, and traffic routed through system services such as Windows Update escapes the WFP fence.

AI Weekly Pro

We scan all of AI. You track a slice of it.

Build an agent that watches only the companies, topics and people you choose. It reads everything our scanners pull and sends you an edition made of just your matches.

[Build your agent →](https://aiweekly.co/intelligence/wizard-v2?src=alert-pro-inline)

$7/month for the first 2,000 members.

Originally reported by
**github.com**

[Read the original article →](https://github.com/anthropics/sandbox-runtime)

Original headline:
Anthropic Open-Sources Claude Code's sandbox-runtime Under Apache 2.0 With Linux, macOS, Windows Support

AI Weekly Pro

This one found you. The next one might not.

Name the companies, topics and people you follow. Your agent watches them across every source we scan and sends you an edition when something lands.

[Build your agent →](https://aiweekly.co/intelligence/wizard-v2?src=alert-pro-eoa)

$7/month for the first 2,000 members.
noobplus10
🟧 echo.github ⭐The AI Weekly report says Anthropic released sandbox-runtime, the OS-level sandbox used in Claude Code, as an Apache-2.0 npm package; it desAnthropic——

Interpretation history

Decision trace