For execution sandboxes, the strongest matches are containers/bubblewrap (Bubblewrap provides a secure, lightweight Linux sandbox runner using), firecracker-microvm/firecracker (Firecracker provides a lightweight, secure microVM runtime with hardware-assisted) and langgenius/dify-sandbox (Dify-sandbox is a containerized runtime environment that securely executes). google/nsjail and cloudflare/sandbox-sdk round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked open-source code execution sandboxes for securely running untrusted scripts. Compare the top alternatives and find the best fit.
Bubblewrap is a Linux sandbox runner that creates lightweight, isolated execution environments for running untrusted applications. It combines Linux user, mount, network, PID, and UTS namespaces with seccomp-BPF system call filtering to restrict filesystem, network, process, and inter-process communication access. The project provides comprehensive process isolation by giving each sandbox its own private tmpfs root with selective bind-mounts, a separate network stack containing only a loopback interface, an independent process ID space, and remapped user and group identifiers. It applies secc
Bubblewrap provides a secure, lightweight Linux sandbox runner using namespaces and seccomp filters to safely execute untrusted applications with strong isolation.
Firecracker is a virtual machine monitor that leverages hardware-assisted virtualization to create and manage isolated execution environments. It functions as a lightweight runtime designed to launch virtual machines with minimal memory overhead and near-instantaneous startup times, providing the security of traditional hardware virtualization with the efficiency of containerized workloads. The project distinguishes itself through a security-focused architecture that enforces strict process boundaries using system-level barriers and restricted user privileges. It minimizes the attack surface
Firecracker provides a lightweight, secure microVM runtime with hardware-assisted isolation, low-latency startup, and strict resource management tailored for safely executing untrusted workloads at scale.
Dify-sandbox is a secure runtime environment designed for the execution of untrusted code snippets. It functions as a containerized sandbox that isolates processes from the host operating system, ensuring that arbitrary scripts can be run without granting them unauthorized access to sensitive data or critical system resources. The project distinguishes itself through a multi-layered security approach that combines kernel-level isolation with strict resource management. By utilizing Linux namespaces and container-based process isolation, it partitions system resources to maintain visibility bo
Dify-sandbox is a containerized runtime environment that securely executes untrusted code snippets with kernel-level isolation and resource limits, fitting the core requirements of a code execution sandbox.
Linux process isolation tool using namespaces, resource limits, and seccomp-bpf syscall filters.
Google/nsjail is a Linux process isolation tool that uses namespaces, resource limits, and seccomp filters to safely run untrusted code in a secure environment.
The sandbox-sdk is a development kit designed for building secure, isolated execution environments on a global edge network. It provides a framework for creating ephemeral, containerized workspaces that allow developers to run untrusted code, manage build tasks, and host automated scripts without compromising host system security. By leveraging a serverless runtime, the platform enables the deployment of these environments directly at the network edge to ensure low-latency performance. The platform distinguishes itself by integrating language models with sandboxed execution, facilitating the
This TypeScript development kit is purpose-built for secure, isolated code execution at the network edge, providing containerized workspaces with low-latency startup and strong safety guarantees for running untrusted scripts.
This project is a secure container runtime that provides strong isolation for application workloads by implementing a userspace kernel. By intercepting system calls and executing them within a memory-safe, restricted environment, it minimizes the attack surface exposed to the host kernel. It functions as a drop-in engine for standard container orchestration platforms, ensuring compatibility with industry-standard runtime specifications while maintaining a hardened execution boundary. The runtime distinguishes itself through its ability to virtualize core system resources, including an indepen
This container runtime provides strong isolation and security for workloads through a userspace kernel, serving as a robust execution sandbox despite lacking a built-in multi-language script API.
Wasmer is a high-performance runtime engine designed to execute sandboxed WebAssembly modules across server-side, edge, and browser environments. It functions as a comprehensive platform for building, distributing, and running isolated applications, providing a secure and portable execution layer that maintains consistency across diverse hardware architectures and operating systems. The platform distinguishes itself through a robust toolchain that enables cross-language interoperability and the transformation of code into portable binary packages. It supports ahead-of-time binary generation t
Wasmer is a high-performance WebAssembly runtime that provides secure sandboxed execution with resource limits and cross-language support, matching the requirements for safe code isolation.
This project provides secure, containerized infrastructure designed for autonomous agents, remote code execution, and cloud development. It functions as a sandboxed environment where AI agents and external processes can execute code, run shell commands, and manage files while remaining isolated from the host system. The system distinguishes itself by implementing the Model Context Protocol, allowing it to act as a standardized tool server that exposes browser and filesystem capabilities to compatible clients. It further integrates headless browser automation, enabling programmatic web navigat
This project provides a containerized sandbox environment designed for executing untrusted code and shell commands securely, though its primary focus leans towards supporting autonomous AI agents rather than general-purpose multi-language execution.
Deno is a high-performance runtime for JavaScript and TypeScript that prioritizes security and developer productivity. Built on the V8 engine, it provides a secure execution environment that enforces a default-deny security model, requiring explicit user authorization for access to system resources like the file system, network, and environment variables. The runtime natively supports modern web-standard APIs, ensuring consistent behavior and portability across different environments. What distinguishes Deno is its integrated approach to the software development lifecycle. It bundles essentia
Deno provides a secure execution environment with default-deny permissions for JavaScript and TypeScript, fitting the sandbox category though primarily scoped as a full runtime rather than a generic multi-language script runner.
Run-in-Sandbox is a sandbox automation utility that provides a right-click shell extension for Windows Explorer, allowing users to launch executables, scripts, installers, and compressed archives directly inside an isolated Windows Sandbox environment. It automates directory mapping, execution commands, and configuration generation to test software without requiring manual setup. The project integrates with the operating system desktop context menu to trigger ephemeral virtualized desktop sessions on demand. It features dynamic tool downloading to fetch required extraction utilities and helpe
This repository provides a lightweight utility to quickly run various Windows scripts and installers inside the native Windows Sandbox, fitting the category of a code execution sandbox with local isolation despite its narrow Windows-only focus.
Sandbox Agent is a platform designed to manage, secure, and orchestrate autonomous coding assistants. It provides a standardized infrastructure for executing untrusted code and managing agent lifecycles within isolated, containerized environments. By decoupling agent execution from client connections, the platform ensures that session states remain persistent across process restarts and network interruptions. The project distinguishes itself through a capability-based security model that enforces granular permission checks on tool usage, ensuring that autonomous processes operate within defin
Sandbox Agent provides secure, containerized environments tailored for running untrusted code and orchestrating autonomous processes, fitting the core execution sandbox requirement despite focusing specifically on AI agents.
This project provides a secure, containerized execution engine designed to run untrusted code within isolated environments. It functions as a library for integrating code interpretation into autonomous agents and intelligent assistant workflows, ensuring that host systems remain protected while enabling dynamic data processing and file manipulation. The platform distinguishes itself through a multi-backend architecture that abstracts diverse container runtimes, allowing for flexible deployment and automated backend failover. It supports interactive, multi-turn workflows by maintaining persist
This project is a containerized code execution engine designed for running untrusted code with multi-backend support, though it is specifically packaged as a library tailored for LLM workflows rather than a standalone general sandbox service.
| Repositorio | Estrellas | Lenguaje | Licencia | Último push |
|---|---|---|---|---|
| containers/bubblewrap | 5.8K | C | other | |
| firecracker-microvm/firecracker | 35K | Rust | Apache-2.0 | |
| langgenius/dify-sandbox | 1.1K | Go | apache-2.0 | |
| google/nsjail | 0 | — | — | — |
| cloudflare/sandbox-sdk | 1K | TypeScript | NOASSERTION | |
| google/gvisor | 17.7K | Go | apache-2.0 | |
| wasmerio/wasmer | 20.4K | Rust | mit | |
| agent-infra/sandbox | 2.6K | Python | apache-2.0 | |
| denoland/deno | 107.1K | Rust | MIT | |
| damienvanrobaeys/run-in-sandbox | 905 | PowerShell | AGPL-3.0 |