Overview

Deno has launched Deno Sandbox, a hosted code execution service that provides secure API secret management through proxy-based placeholder substitution. The service offers sandboxed environments with configurable network access and can be controlled via Python or JavaScript libraries.

Key Facts

  • Up to 4GB RAM, 2 vCPUs, 10GB storage, 30-minute sessions - execute resource-intensive code safely in isolated environments
  • Python and JavaScript client libraries available - integrate sandboxed execution into existing workflows without platform lock-in
  • Configurable network domain allowlists - prevent unauthorized external communications from untrusted code
  • API secrets replaced with placeholders inside sandbox, proxy substitutes real values on outbound calls - malicious code cannot exfiltrate your API keys even if compromised
  • Persistent volumes and custom snapshots supported - maintain state and pre-configured environments across sessions

Why It Matters

This addresses a critical security gap in code execution platforms by preventing API key theft from untrusted or AI-generated code, enabling safer deployment of dynamic code execution in production applications.