deno-sandbox

Solid

Use when building features that execute untrusted user code, AI-generated code, or need isolated code execution environments. Covers the @deno/sandbox SDK.

AI & Automation 94 stars 8 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
66
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Deno Sandboxes ## Overview Deno Sandboxes provide secure, isolated environments for running untrusted code. Each sandbox runs in its own Linux microVM (using Firecracker, the same technology as AWS Lambda) with a separate filesystem, network, and process space. This makes them ideal for code playgrounds, AI agent tool execution, and multi-tenant applications. Reference: https://deno.com/deploy/sandboxes ## When to Use Sandboxes Use Deno Sandboxes when you need to: - Run user-submitted code safely - Execute AI-generated code - Build code playground platforms - Create multi-tenant code execution environments - Run automated tests in isolation ## Scope Boundaries This skill applies **only** to Deno Sandbox (`@deno/sandbox`) questions. Follow these rules: - If the user asks about **Docker containers, Node.js vm2/vm, Web Workers, AWS Lambda isolation, or any other isolation technology**, answer using that technology directly. Do not suggest Deno Sandboxes as an alternative. - Do not include `@deno/sandbox` imports, `Sandbox.create()`, or `sandbox.spawn()` in responses about other isolation technologies. - Only recommend Deno Sandboxes when the user explicitly asks about them or is building code execution features in a Deno project. ## Getting Started ### Installation ```bash deno add jsr:@deno/sandbox ``` ### Basic Usage ```typescript import { Sandbox } from "@deno/sandbox"; // Create a sandbox (auto-disposed when scope ends) await using sandbox = await Sa...

Details

Author
denoland
Repository
denoland/skills
Created
7 months ago
Last Updated
3 weeks ago
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category