Hacker ApprovedDepartments

Anthropic sandbox-runtime

Hacker Approved

Ranked 8 of 17 agent sandboxes by recommenders

Recommended for filesystem and network isolation of AI coding agents, with simple config and OS-level enforcement. Critics say it cannot block specific ports.

Recommended for filesystem and network isolation of AI coding agents, with simple config and OS-level enforcement. Critics say it cannot block specific ports.

16 people gave an opinion

recommend it
11
criticize it
5
approval share
69%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 11 people recommend itNeeds 10 or more, met.
  • 2.2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 6 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Native OS-level enforcement

    “Anthropic's SRT is built on the same macOS primitives and DOES support the network configuration I'm looking for”

    Comment from 9 Oct 2026 in “MXC - a sandboxed code execution system”

    “which tackles this problem using the built-in userspace sandboxing on macOS and Linux”

    Comment from 13 Jan 2026 in “Show HN: Yolobox – Run AI coding agents with full sudo without nuking home dir”

    “It's strict by default and enforced at the OS layer.”

    Comment from 2 Jul 2026 in “ZCode: Claude Code from the Makers of GLM”
  • Filesystem and network isolation

    “Simple config, filesystem and network restrictions, and credential masking make me comfortable running Pi in YOLO mode.”

    Comment from 22 Oct 2026 in “OpenShell – A safe, private runtime for fleets of autonomous AI agents”

    “Seems to work so far. I've manually checked various things, rw access, access to sensitive folders/files etc.”

    Comment from 10 Aug 2026 in “Auto mode is now the default in Claude Code”

    “If you just need filesystem + network isolation and you're in the Node ecosystem, sandbox-runtime is great.”

    Comment from 25 Jan 2026 in “Show HN: Fence – Sandbox CLI commands with network/filesystem restrictions”
  • Strict defaults and good governance

    “It's strict by default and enforced at the OS layer.”

    Comment from 2 Jul 2026 in “ZCode: Claude Code from the Makers of GLM”

    “Anthropic's out-of-the-(sand)box is good governance”

    Comment from 5 Mar 2026 in “Tell HN: AI Lies About Having Sandbox Guardrails”
  • Domain-based network restrictions work

    “Anthropic's SRT is built on the same macOS primitives and DOES support the network configuration I'm looking for”

    Comment from 9 Oct 2026 in “MXC - a sandboxed code execution system”

    “Restricting to specific domains have worked fine for me, but it can't block on specific ports”

    Comment from 21 Jan 2026 in “Running Claude Code dangerously (safely)”

What people warn about

Each mark is one comment

  • Teams fork it for missing features

    “Anthropic's tool only support read blacklist, not a whitelist, so I forked it yesterday to support that”

    Comment from 9 Mar 2026 in “Agent Safehouse – macOS-native sandboxing for local agents”

    “We're using a minimal fork that also works w Codex and has a lot more logging on top.”

    Comment from 1 Jan 2026 in “Observed Agent Sandbox Bypasses”

Other agent sandboxes people recommend

The four most recommended other agent sandboxes, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Anthropic sandbox-runtime compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Docker Sandboxes503956%9——
NVIDIA OpenShell36882%9—Approved
Claude Code sandbox161847%6——
MXC (Microsoft Execution Containers)151747%1——
Anthropic sandbox-runtimeThis page11569%6—Approved
See all 17 agent sandboxes, ranked

What people said

15 of the 17 comments that mention it, newest first. Each links to the original comment.

“Isn't using a sandbox provided by them giving you more restrictions though?”

CriticizesComment from 22 Oct 2026 in “OpenShell – A safe, private runtime for fleets of autonomous AI agents”

“Simple config, filesystem and network restrictions, and credential masking make me comfortable running Pi in YOLO mode.”

MixedComment from 22 Oct 2026 in “OpenShell – A safe, private runtime for fleets of autonomous AI agents”

“Anthropic's SRT is built on the same macOS primitives and DOES support the network configuration I'm looking for”

RecommendsComment from 9 Oct 2026 in “MXC - a sandboxed code execution system”

“Seems to work so far. I've manually checked various things, rw access, access to sensitive folders/files etc.”

RecommendsComment from 10 Aug 2026 in “Auto mode is now the default in Claude Code”

“It's strict by default and enforced at the OS layer.”

RecommendsComment from 2 Jul 2026 in “ZCode: Claude Code from the Makers of GLM”

“Anthropic's tool only support read blacklist, not a whitelist, so I forked it yesterday to support that”

MixedComment from 9 Mar 2026 in “Agent Safehouse – macOS-native sandboxing for local agents”

“Anthropic's out-of-the-(sand)box is good governance”

RecommendsComment from 5 Mar 2026 in “Tell HN: AI Lies About Having Sandbox Guardrails”

“I opened an issue about this on day 1 of the release”

CriticizesComment from 3 Mar 2026 in “Claude Code escapes its own denylist and sandbox”

“The runtime has one bug and needs one improvement”

CriticizesComment from 25 Feb 2026 in “Pi – a minimal terminal coding harness”

“If you just need filesystem + network isolation and you're in the Node ecosystem, sandbox-runtime is great.”

RecommendsComment from 25 Jan 2026 in “Show HN: Fence – Sandbox CLI commands with network/filesystem restrictions”

“Restricting to specific domains have worked fine for me, but it can't block on specific ports”

MixedComment from 21 Jan 2026 in “Running Claude Code dangerously (safely)”

“which tackles this problem using the built-in userspace sandboxing on macOS and Linux”

RecommendsComment from 13 Jan 2026 in “Show HN: Yolobox – Run AI coding agents with full sudo without nuking home dir”

“That sandbox gives default read only access to your entire drive. It's kinda useless IMO.”

CriticizesComment from 12 Jan 2026 in “Cowork: Claude Code for the rest of your work”

“Your `network.allowLocalBinding` flag, when enabled, allows data exfiltration via DNS. This isn't clear from the docs.”

CriticizesComment from 12 Jan 2026 in “Cowork: Claude Code for the rest of your work”

“We're using a minimal fork that also works w Codex and has a lot more logging on top.”

MixedComment from 1 Jan 2026 in “Observed Agent Sandbox Bypasses”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.