Introducing Deno Sandbox
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Deno launched a hosted code-sandbox service with a proxy that keeps API secrets out of sandboxed code, reducing what a prompt-injected agent can steal.
The Deno team launched Deno Sandbox, a paid service that runs your code on their computers in isolated virtual machines. You don't need to use the Deno programming language, a Python library called deno-sandbox lets you create a sandbox, run shell commands, and read and write files. A sandbox can have up to 4GB of RAM, 2 vCPUs, 10GB of storage, and sessions last at most 30 minutes. Its cleverest trick: API keys are replaced with placeholders and swapped in by a proxy, so code inside the sandbox never sees your actual secret.
Deno Deploy's new Sandbox product competes in the hosted code-execution market, relevant to anyone running AI agents that write and run code. Pricing is usage-based, CPU time, GB-hours of memory, and storage, with sessions capped at 30 minutes. The standout security feature is secret proxying: API keys are injected as placeholders and only substituted for whitelisted domains, limiting exfiltration by malicious code. Fly offers a similar open-source pattern called tokenizer.
Deno Sandbox is a hosted product on the Deno Deploy SaaS platform, not the Deno runtime itself, with JavaScript and Python SDKs (deno-sandbox on PyPI) and an undocumented WebSocket-based API. Sandboxes get 4GB RAM, 2 vCPUs, 10GB ephemeral storage, persistent volumes, snapshots for fast custom image boots, and domain-scoped network allowlists. Secrets are delivered as DENO_SECRET_PLACEHOLDER tokens that a proxy substitutes only for requests to hosts like api.openai.com, so sandbox code never holds the real value. Sessions cap at 30 minutes and bill on CPU time, memory GB-hours and volume storage.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Deno Sandbox Deno Deploy deno-sandbox tokenizer Fly Hacker News
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.