Tag
Simon Willison and Prime Radiant introduce the 'external sandbox' pattern for safely executing code from coding agents, releasing three sandbox server implementations (v86, container, and Quicksand-based) with a shared localhost API and network allow-list proxy for tools like Pi, Claude Code, and Codex.
Framer's Harness 2 upgrades agent code execution by running JavaScript as it streams, cutting costs by up to 33% and speeding up execution by 20% while reducing tool steps and cached token usage significantly.
A breakdown of six options for safely running code generated by AI agents, ordered from least to most isolation: local Docker containers, E2B, Modal Sandboxes, Daytona, Vercel Sandbox, and self-hosted Firecracker or gVisor, with advice to block outbound network and set resource limits by default.
A write-up shows that trusting a Git pre-commit hook file doesn't make the code it launches trustworthy — hooks can invoke npm scripts from package.json that an agent may have modified, allowing code execution to escape the agent's environment. Demonstrated with plain Git for Windows, no agent sandbox was directly tested.
Perplexity open-sources SPACE (Sandboxed Platform for Agentic Code Execution), an orchestrator that runs agent code in isolated Firecracker microVMs with an HTTP API for sandbox lifecycle management, warm pools, snapshots, and E2B compatibility.
BoxLite 是一个面向 AI 编码代理的开放源码运行时与托管云平台,可在隔离的 microVM 中运行代码、持久化文件,并为部署的应用提供公开 URL。它提供 Python SDK 与 104 个 REST 端点,支持 Claude Code 等代理在安全沙箱中执行任务。
OS-Helix is an end-to-end trained multimodal agent that unifies GUI actions and code execution in a single action space, using hybrid SFT plus online RL with a Step-balanced GSPO objective to reach 66.44% success on OS-World-Verified while showing cross-platform transfer to WindowsAgentArena.
OpenGCUA introduces an open generalist computer-use agent stack combining visual and programmatic interfaces, code execution, and harness-to-model decision transfer, improving task scores across eight models on OSWorld-v2 while reducing steps per task by 53%.
A blog post demonstrates another technique for invoking arbitrary JavaScript functions without parentheses by overwriting Error.prepareStackTrace with the Function constructor and controlling Array.prototype.toString, combined with prototype pollution and the valueOf trick to execute arbitrary code.
Plimsoll 是一个自托管沙箱工具,用于运行 AI 代理编写的不可信代码,并在每次结果中明确标注隔离强度(process/container/kernel/vm),支持最低隔离层级要求、运行记录哈希校验与签名验证。
Microsoft 开源了 MXC(Microsoft eXecution Container),一个用于在 Windows、Linux 和 macOS 上沙箱化运行不可信代码(模型输出、插件、工具)的系统,提供多种隔离后端和 Rust/.NET/Node SDK。
GitHub Copilot's local sandboxing feature is now generally available, letting Copilot run commands in an isolated environment with controlled access to files, networks, and credentials. Enterprise teams can centrally manage policies across the Copilot CLI, app, and VS Code.
CanadaHonk proposes a JavaScript-focused sandbox product that accepts untrusted code in and returns output out, targeting agent/user code execution with isolation better than Cloudflare Workers at roughly 100x lower cost than dynamic workers.
作者用同一套带硬性预算上限(20分钟、$4、60次请求)的 agent 循环测试了 14 个模型的 photo-to-Blender 3D 场景生成能力,GPT-6 Astra 以持续优化到预算耗尽赢得全部三项,而重度推理模型常因耗尽时钟而交付为空。
The post argues that as an agent's tool set grows, direct tool calling degrades, and the more robust fix is letting the model write code in a sandbox to call tools as functions — reducing schema clutter in context and lowering wrong-call rates — at the cost of sandbox security concerns.
The paper introduces PyRUA-Lean, an interactive code-execution framework for VLM robot agents that reduces token overhead by composing robot primitives into Python cells with selective observation. Using the GPT-6 Astra planner across 700 simulated tasks, it raises success from 63.1% to 71.7% while cutting LLM calls by 49% and input tokens by 65%.
Ledge.sh is a free, open-source (Apache-2.0) Markdown notebook for developers and DevOps that lets you run shell, code, SQL, and AI prompt blocks directly inside your notes, with persistent per-note shells and optional remote-server execution over SSH from desktop or mobile.
SkillGym is a framework that converts human-written skills into training environments for LLMs, enabling fine-tuning that boosts performance on benchmarks like Terminal-Bench and SkillsBench, surpassing scores from models such as Claude Sonnet 4.6 and GPT-5.4 Mini.
User expresses anticipation for Opus 5.5 model to generate a full-length movie using code.
A blog post details how a vulnerable Twitch chat overlay in OBS allowed remote code execution on a streamer's PC via an unsandboxed Chromium renderer and a known V8 bug.