Shell Sandbox

Open-source Shell projects categorized as Sandbox

Top 23 Shell Sandbox Projects

  1. x11docker

    Run GUI applications and desktops in docker and podman containers. Focus on security.

    Project mention: Run GUI applications and desktops in Docker and Podman containers | news.ycombinator.com | 2026-01-23
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. junest

    The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.

    Project mention: Homebrew 6.0.0 | news.ycombinator.com | 2026-06-11

    I looked around and found this fun project -- basically "Arch Linux in userspace on top of any other Linux": https://github.com/fsquillace/junest

  4. agent-safehouse

    Sandbox your local AI agents so they can read/write only what they need

    Project mention: Show HN: Stroq – a local audit of what your coding agent did and why | news.ycombinator.com | 2026-11-05

    Could this be used with Agent Safe house? https://agent-safehouse.dev/

  5. Conty

    Easy to use unprivileged Linux container packed into a single portable executable

  6. sandvault

    Run AI agents isolated in a macOS user account and sandbox-exec. Configured to run Claude Code, OpenAI Codex, Cursor Agent, Google Gemini.

    Project mention: Sandvault – Run AI agents isolated in a sandboxed macOS user account | news.ycombinator.com | 2026-03-08
  7. clodpod

    Run AI agents isolated inside an macOS virtual machine. Configured to run Claude Code, OpenAI Codex, Cursor Agent, Google Gemini.

    Project mention: Show HN: Fence – Sandbox CLI commands with network/filesystem restrictions | news.ycombinator.com | 2026-01-20

    - https://github.com/webcoyote/sandvault: sandboxes AI agents in a MacOS limited user account, and also uses sandbox-exec to limit access, though fence has more strict limitations

    - https://github.com/webcoyote/clodpod: sandboxes AI agents in a MacOS virtual machine

    Note: I’m the author of both of these Apache open-source projects

  8. sandbox-run

    🔒🐧 Run command in a secure native sandbox (zero deps)

    Project mention: MXC - a sandboxed code execution system | news.ycombinator.com | 2026-10-08

    > at least half is comments or unit tests

    Thanks, I see there's a slight (~50%?) overestimation there, but then again, even unit tests and comments in a target programming language count as syntactically correct code that needs to be evaluated and reasoned upon. I'm not that familiar with Rust's runtime introspection features, but in languages like Python, even the comments can directly affect code (e.g. `Foo.__doc__ = Bar.__doc__ + SOME_ANNEX`).

    > _generate_seccomp_filter ... the entire function doesn't block anything

    Many thanks! I've applied a fix—it's a single line added. The missing test is pending a runnable that invokes one of the forbidden syscalls. As I have no qualms about force-pushing around a repo that nobody forks, happy to credit you(r LLM) proper!

    > Main script invokes working directory's .env as shellcode

    The sandboxed process can't overwrite existing .env files [1], but it _could_ create a new $PWD/.env file, hoping to "escape" at next sandbox execution. That's a valid concern I'll have to think about some more.

    [1]: https://github.com/sandbox-utils/sandbox-run/blob/c97d065184...

    > Lots of race conditions

    I sometimes experience "Slirp not ready in time" [2], but it's due to a so far unexplained upstream issue [3]. I you have time/tokens to spare, I'd appreciate those PRs and further similar feedback!

    [2]: https://github.com/sandbox-utils/sandbox-run/blob/c97d065184...

  9. eatmynetwork

    A small script for running programs with (minimal) network sandboxing

  10. qubes-app-split-browser

    Tor Browser (or Firefox) in a Qubes OS disposable, with persistent bookmarks and login credentials

  11. agent-images

    Sandboxed OCI container images for AI coding agents, built reproducibly with Nix.

    Project mention: A way to exclude sensitive files issue still open for OpenAI Codex | news.ycombinator.com | 2026-06-28

    I've contributed to https://github.com/0xferrous/agent-box which allows you to bind-mount git repositories into containers that agents operate in. Your usual .gitignore can then be used to ignore files to be bind-mounted, which preventa agents from accessing them at all.

    I've also created https://github.com/nothingnesses/agent-images which allows you to use Nix to reproducibly spin up OCI containers containing agents and use these with agents-box.

    I use both at the moment to work on some personal projects with agents, where I set up multiple separate git worktrees for the agents to work in and that prevents them from trampling over each other's work.

  12. BrowserBox

    Install and run Firefox on Debian unattended in a virtual machine or on a computer. (by Torxgewinde)

  13. code-airlock

    Run Claude Code (or another coding agent) unattended, inside a disposable microVM, with its work committed to git so you can review everything from your host.

    Project mention: Show HN: Code Airlock: Run Claude Code and Codex in Disposable MicroVMs | news.ycombinator.com | 2026-07-11
  14. cleat

    Give the agent a cage, not your keys. One-command Docker sandbox for AI coding agents: full autonomous permissions, per-project isolation, your host stays untouched.

    Project mention: claude --dangerously-skip-permissions: every safe way to run it in 2026 | dev.to | 2026-09-01

    I'm holding a complete version of this comparison, with the sources and the weaknesses of every option (mine too) under cleat.sh/compare. If you find some falsy or outdated parts or statements please report that on the GitHub and I will address that as fast as possible.

  15. augur

    Sandboxed macOS VMs with full Xcode for AI coding agents — plus a lightweight Linux container mode. (by h1d3mun3)

    Project mention: Show HN: Augur – Sandboxed macOS VMs with Xcode for AI Coding Agents | news.ycombinator.com | 2026-09-27
  16. dev-sandbox

    Run untrusted code and AI agents in isolated Podman containers with krun microVMs. Network control, SSH, Privoxy proxy — one self-contained bash script.

    Project mention: Dev-sandbox – One bash script to isolate AI coding agents with Podman | news.ycombinator.com | 2026-09-01
  17. sandbox-venv

    🔒🐍🐧 Secure container sandbox Python venv wrapper

    Project mention: LiteLLM Python package compromised by supply-chain attack | news.ycombinator.com | 2026-03-24

    `sandbox-venv` is a small shell script that sandboxes Python virtual environments in separate Linux namespaces using Bubblewrap (and soon using only command `unshare`, bringing the whole script down to effectively 0 deps).

    https://github.com/sandbox-utils/sandbox-venv

  18. oracle-sandbox

    Our local Oracle development environment. Oracle 26ai Free, APEX, ORDS, SQLcl, and MCP. Fully containerized and powered by a full CLI (sandbox).

    Project mention: 🚀 Oracle Sandbox – Developer Environment | dev.to | 2025-12-07

    This is precisely the problem the Oracle Sandbox was created to solve.

  19. lxdbox

    This tool helps you to isolate your workspaces inside LXD containers (Guest OS), share X.org, Pulseaudio, and Web Cameras from the host OS to your Guest OS.

  20. compartment

    Kernel-enforced sandboxing for untrusted processes. Two zero-dependency core tools, one shared profile format, plus an optional BPF-LSM module.

    Project mention: I Built compartment to Sandbox AI Agents on Linux | dev.to | 2026-04-02

    So I built compartment, a small Linux process isolation toolkit with:

  21. vroot

    Instant, isolated, single-file Linux root-shell sandboxes built from a flag. A lightweight Docker/proot/chroot alternative with no daemon and no sudo.

    Project mention: Vroot – Instant, daemonless root sandboxes from a single flag | news.ycombinator.com | 2026-10-31
  22. claude-pod

    Docker sandbox for Claude Code CLI. Use --dangerously-skip-permissions safely — Claude only sees the project folder you launched from

    Project mention: Caude-Pod | news.ycombinator.com | 2026-10-11
  23. rootless-playwright

    Install Playwright's browser system dependencies without root (containers, CI, restricted sandboxes)

    Project mention: Fixing "error while loading shared libraries: libnspr4.so" for Playwright with no root access | dev.to | 2026-09-17
  24. gl-yocto-sandbox-software

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Shell Sandbox discussion

Log in or Post with

Shell Sandbox related posts

Index

What are some of the best open-source Sandbox projects in Shell? This list will help you:

# Project Stars
1 x11docker 6,346
2 junest 2,231
3 agent-safehouse 2,135
4 Conty 1,125
5 sandvault 450
6 clodpod 196
7 sandbox-run 88
8 eatmynetwork 57
9 qubes-app-split-browser 49
10 agent-images 49
11 BrowserBox 32
12 code-airlock 22
13 cleat 18
14 augur 10
15 dev-sandbox 7
16 sandbox-venv 6
17 oracle-sandbox 6
18 lxdbox 5
19 compartment 4
20 vroot 1
21 claude-pod 1
22 rootless-playwright 0
23 gl-yocto-sandbox-software 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Shell is
the 9th most popular programming language
based on number of references?