SecurityCipher
Home Blog About Us

Learn Paths, courses, and reference docs

  • 🚀 Start Here Beginner path through the site
  • 🗺️ Penetration Testing Roadmap Structured path to become a pentester
  • 🎓 Free Security Courses Current free Udemy coupon listings
  • 📄 Secure Code Explain Vulnerable vs secure code side by side
  • 🎯 Penetration Testing Tricks Field notes for real engagements
  • 📖 Vulnerability Explain How common vulns actually work

Checklists Interactive reviews and LLM risks

  • ✅ Security Checklists Hub All interactive security checklists
  • 📋 Writeup Checklists Steps derived from real writeups
  • 🧠 LLM AI Security Checklist Controls for LLM apps
  • 🤖 OWASP LLM Top 10 LLM Top 10 risks mapped out
  • 🧰 Burp Suite Guide Step-by-step Burp tutorials
  • 📘 Payload Field Manual Safe-first probes and signals

Practice Browser labs, games, and explorers

  • 🔬 Interactive Labs SQL injection, AI, architecture review
  • 🎮 Security Games Phishing, JWT, WAF, and more
  • 🚗 On-Call Drive Neon-city arcade security missions
  • • Shift Zero SOC desk: phish, OTP, malware, tickets
  • ❓ Application Security Quiz Web, secure coding, and cloud quizzes
  • 🗺️ OWASP Top 10 Explorer Clickable risk map with signals
  • 🔀 Interactive Attack Paths Recon-to-impact chains

Tools & Career Databases, jobs, and community

  • 🛠️ Security Tools Curated recon, SAST, and bounty tools
  • 🔎 CVE Lookup Multi-source CVE intelligence
  • 💰 Bug Bounty Programs Live public scopes to search
  • 💼 Cybersecurity Jobs Roles from company career pages
  • 🧑‍💻 Security Researchers Community profiles and submissions
  • 🎤 Security Conferences Upcoming and past events
Browse all Security resources hub Freelance Security →
My Resume
Freelance SecurityFreelance
New Security Researchers Join the directory - submit your profile for review Submit profile →
← Security Tools View on GitHub

microsandbox

Easy, fast, local-first microVM runtime useful for isolating untrusted code.

microsandbox-banner-xl-dark
microsandbox-banner-xl

——   easy, fast, programmable microVMs for untrusted workloads   ——

superradcompany%2Fmicrosandbox | Trendshift

GitHub release Discord Apache 2.0 License

Microsandbox runs untrusted workloads inside fast, local microVMs: AI agents, user code, plugins, CI jobs, dev environments, scrapers, and automation.

  • microsandbox Hardware Isolation: Hardware-level isolation with tiny virtual machines.
  • microsandbox Fork & Snapshot: Fork live sandboxes1. Save running sandbox state and restore later.
  • microsandbox Cross Platform: Runs on Linux, macOS, and Windows.
  • microsandbox OCI Compatible: Runs standard container images from Docker Hub, GHCR, or any OCI registry.
  • microsandbox Docker-Like Workflows: Familiar image, command, shell, and volume workflows.
  • microsandbox Instant Startup: Average boot times2 under 100 milliseconds.
  • microsandbox Embeddable: Spawn VMs right within your code. No setup server. No long-running daemon.
  • microsandbox Secrets That Can't Leak: Unexploitable secret keys that never enter the VM.
  • microsandbox Long-Running: Sandboxes can run in detached mode. Great for long-lived sessions.
  • microsandbox Agent-Ready: Your agents can create their own sandboxes with our Agent Skills and MCP server.

rocket-darkrocket  Getting Started

microsandbox  Install the CLI

curl -fsSL https://install.microsandbox.dev | sh        # 🍎 macOS / 🐧 Linux
irm https://install.microsandbox.dev/windows | iex      # 🪟 Windows
 We also support other package managers →

brew install superradcompany/tap/microsandbox
npm i -g microsandbox
uv tool install microsandbox
cargo install microsandbox

Start creating sandboxes once installed:

msb run ubuntu

microsandbox  Install the SDK

npm i microsandbox                                       # 🟦 TypeScript
cargo add microsandbox                                   # 🦀 Rust
uv add microsandbox                                      # 🐍 Python
go get github.com/superradcompany/microsandbox/sdk/go    # 🐹 Go

Requirements:

  • macOS macOS: Apple Silicon.
  • Linux Linux: KVM enabled.
  • Windows Windows: WHP enabled.

Warning: Microsandbox is still beta software. Expect breaking changes, missing features, and rough edges.


cli-darkcli  CLI

The msb CLI provides a complete interface for managing sandboxes, snapshots, images, and volumes.

microsandbox  Run a Command

msb run python -- python3 -c "print('Hello from a microVM!')"

microsandbox  Named Sandboxes

# Create and start a named sandbox
msb create --name app python
# Execute commands
msb exec app -- python -c "import this"
msb exec app -- curl https://example.com
# Fork a running sandbox.
msb fork app --name app2
msb exec app2 -- python -c "print('An independent copy!')"
# Snapshot now, resume later.
msb snap create --sandbox app --full -o snapshot.msb
msb snap restore snapshot.msb --name app3

Forking duplicates live execution. Restoring starts from saved state; add --cow-mem to share unchanged memory from a full snapshot. Snapshot generations describe progression, while branches describe distinct paths through snapshot history. The old --forked restore flag remains a deprecated alias. See forking and snapshots.

# Lifecycle
msb stop app
msb start app
msb rm app

microsandbox  Image Management

msb pull python           # Pull an image
msb image ls              # List cached images
msb image rm python       # Remove an image

microsandbox  Configuration File

msb run --conf sandbox.yaml -- octocat
# sandbox.yaml
image: python:3.12
memory: 64M
network:
  allow:
    - api.github.com
scripts:
  octocat: |
    python - <<'PY'
    import urllib.request

    request = urllib.request.Request(
        "https://api.github.com/octocat",
        headers={"User-Agent": "microsandbox-example"},
    )
    with urllib.request.urlopen(request) as response:
        print(response.read().decode())
    PY

microsandbox  Status & Inspection

msb ls                         # List all sandboxes
msb ps app                     # Show sandbox status
msb inspect app                # Detailed sandbox info
msb metrics app                # Live CPU/memory/network stats

[!TIP]

Run:
· msb --help for quick help menu.
· msb --tree for complete command hierarchy and descriptions.
· msb <command> --tree for a specific command tree.


CLI Docs


sdk-darksdk  SDK

The SDK lets you create and control sandboxes directly from your application. Sandbox.builder("...").create() boots a microVM as a child process. No infrastructure required.

microsandbox  Run Code in a Sandbox

import { Sandbox } from "microsandbox";

await using sandbox = await Sandbox.builder("my-sandbox")
  .image("python")
  .cpus(1)
  .memory(512)
  .create();

const output = await sandbox.exec("python", [
  "-c",
  "print('Hello from a microVM!')",
]);

console.log(output.stdout());
 Rust Example →
use microsandbox::Sandbox;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let sandbox = Sandbox::builder("my-sandbox")
        .image("python")
        .cpus(1)
        .memory(512)
        .create()
        .await?;

    let output = sandbox
        .exec("python", ["-c", "print('Hello from a microVM!')"])
        .await?;

    println!("{}", output.stdout()?);

    sandbox.stop().await?;

    Ok(())
}
 Python Example →
import asyncio
from microsandbox import Sandbox

async def main():
    sandbox = await Sandbox.create(
        "my-sandbox",
        image="python",
        cpus=1,
        memory=512,
    )

    output = await sandbox.exec("python", ["-c", "print('Hello from a microVM!')"])

    print(output.stdout_text)

    await sandbox.stop()

asyncio.run(main())
 Ruby Example →
require "microsandbox"

sandbox = Microsandbox::Sandbox.create(
  "my-sandbox",
  image: "python",
  cpus: 1,
  memory: 512,
  network: {
    allowed_hosts: ["api.openai.com"],
    allowed_ports: [443]
  },
  secrets: [{
    env: "OPENAI_API_KEY",
    value: ENV.fetch("OPENAI_API_KEY"),
    allowed_host: "api.openai.com"
  }]
)

output = sandbox.exec("python", ["-c", "print('Hello from a microVM!')"])
puts output.stdout

sandbox.stop

See the Ruby SDK guide for installation, lifecycle, networking, and backend details.

 Go Example →
package main

import (
    "context"
    "fmt"
    "log"

    microsandbox "github.com/superradcompany/microsandbox/sdk/go"
)

func main() {
    ctx := context.Background()

    // Downloads the microsandbox runtime to ~/.microsandbox/ on first run.
    if _, err := microsandbox.EnsureRuntime(ctx, microsandbox.RuntimeConfig{}, microsandbox.InstallOptions{}); err != nil {
        log.Fatal(err)
    }

    sandbox, err := microsandbox.CreateSandbox(ctx, "my-sandbox",
        microsandbox.WithImage("python"),
        microsandbox.WithCPUs(1),
        microsandbox.WithMemory(512),
    )
    if err != nil {
        log.Fatal(err)
    }
    defer sandbox.Stop(ctx)

    output, err := sandbox.Exec(ctx, "python", []string{"-c", "print('Hello from a microVM!')"})
    if err != nil {
        log.Fatal(err)
    }

    fmt.Println(output.Stdout())
}

The first call to create() pulls the image if it isn't cached locally, so it may take longer depending on your connection. Subsequent runs reuse the cache.


SDK Docs


beaker-darkbeaker  Guides

Practical ways to put microsandbox to work:

• microsandbox Docker in a Sandbox: Run Docker without touching the host daemon.
• microsandbox OpenCode: Give a coding agent an isolated project workspace.
• microsandbox Browser Use: Run an AI browser agent inside a microVM.
• microsandbox Playwright: Run headless browser jobs inside a microVM.
• microsandbox Warm Workers: Snapshot a toolchain and launch clean workers.
• microsandbox Migration Rehearsal: Test a database migration, then restore the baseline.
• microsandbox GitHub Actions Runner: Run each self-hosted job in a disposable microVM.
• microsandbox Documents to PDF: Convert untrusted documents in a fresh offline worker.


Browse Guides


people-darkpeople  Community Showcase

microsandbox  Agent frameworks & runtimes

• microsandbox Eve by Vercel: Agent framework that ships microsandbox as a sandbox backend.
• microsandbox Agentic Coding Quickstart by U.S. GSA: From zero to a running AI coding agent with USAi in minutes.
• microsandbox Condukt and Once by Tuist: Elixir agentic engine, and cacheable actions that run in fresh sandboxes.
• microsandbox langchain-microsandbox by kenwoodjw: Microsandbox integration for LangChain Deep Agents.
• microsandbox Smithers by Smithers: Agent workflows with full observability, rewind, fork, and replay.
• microsandbox AgentConnect: Bring multiple AI agents into your team's chats, issues, and pull requests.
• microsandbox wrap by Tobi Lütke: Run coding agents and project commands in isolated Arch Linux microVMs.
• microsandbox Agent VM by Wiren Board: Run AI agents in safe VMs scoped to a local folder.

microsandbox  Tools & infrastructure

• microsandbox h5i by h5i: Secure, auditable browser for AI agents, written in pure Rust.
• microsandbox Devsy by Devsy: Deploy devcontainers onto any cloud, Kubernetes cluster, or Docker host.
• microsandbox OpenWork by Different AI: Open-source Claude Cowork alternative with a microsandbox image.

microsandbox  Guides & showcases

• microsandbox Awesome Microsandbox by ya-luotao: Curated list of SDKs, integrations, tools, and resources.
• microsandbox msb-omarchy by ya-luotao: Omarchy desktop with graphics inside a microVM on Apple Silicon.


Share a Project


agents-darkagents  AI Agents

microsandbox  Agent Skills

Teach any AI coding agent how to use microsandbox by installing the Agent Skills. Works with Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, and more.

npx skills add superradcompany/skills

microsandbox  MCP Server

Connect any MCP-compatible agent to microsandbox with the MCP server. Provides structured tool calls for sandbox lifecycle, command execution, filesystem access, volumes, and monitoring.

# Claude Code
claude mcp add --transport stdio microsandbox -- npx -y microsandbox-mcp

docs-darkdocs  Documentation

For guides, API references, and examples, visit the microsandbox documentation.


contributing-darkcontributing  Contributing

Interested in contributing to microsandbox? Check out our CONTRIBUTING.md for guidelines and DEVELOPMENT.md for build, test, and release instructions.


license-darklicense  License

This project is licensed under the Apache License 2.0.


acknowledgements-darkacknowledgements  Acknowledgements

Special thanks to all our contributors, testers, and community members who help make microsandbox better every day! We'd like to thank the following projects and communities that made microsandbox possible: libkrun and smoltcp


Backed by Y Combinator


  1. We have cool demos showcasing vm pause/resume, snapshotting, and forking: Mario Never Dies and Multiverse of Madness ↩

  2. Boot time refers to guest boot on an M1 machine. ↩

Press Escape to close the search panel.

Donate

Buy me a Coffee

Penetration Testing Services

penetration Testing Services

Web Application Security Quiz

Web Application Security Quiz

Daily Bug Bounty Writeups - Twitter

Daily Bug Bounty Writeups

Download our Latest Android Application

Guide for Penetration Testing

Daily Bug Bounty Writeups - Telegram

Daily Bug Bounty Writeups

Author

Piyush
Senior Product Security Engineer

Ethical Hacker || Penetration Tester || Gamer || Blogger || Product Security Engineer || AI Security

READ ARTICLE

Donate

Buy me a Coffee

Recent Posts

  • October 2026 Patch Audit: PHP2Shell, GitLab, Node, LiteLLM
    October 2026 Patch Audit: PHP2Shell, GitLab, Node, LiteLLM
    October 26, 2026/
    0 Comments
  • AI-Generated Code Security Bugs: A Vibe Coding Case Study
    AI-Generated Code Security Bugs: A Vibe Coding Case Study
    October 7, 2026/
    0 Comments
  • Cloud Misconfig Bounty Hunting in 2026: Open Buckets, Firebase, and Secrets
    Cloud Misconfig Bounty Hunting in 2026: Open Buckets, Firebase, and Secrets
    September 8, 2026/
    0 Comments

Follow Us

SecurityCipher

Practical security guides, vulnerability deep-dives, and hands-on resources for bug bounty hunters and penetration testers.

Useful Links

  • Security Checklists
  • Cybersecurity Jobs
  • Blogs
  • Docs
  • About
  • Contact

Free Resources

  • Linux Commands
  • Security Mindmaps
  • Career Roadmaps
  • Certifications
  • Interview Questions
  • Wordlist Strategy
  • Browser Privacy Check
  • ISO 27001 SoA Lite
  • India DPDP Checklist
© 2026 Security Cipher. All rights reserved. Privacy Policy · Terms & Conditions · DMCA