
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@grayhaven/sandcastle
Advanced tools
TypeScript SDK for the SandCastle sandbox runtime — lightweight WASM-based sandboxes for AI agent code execution.
bun add @grayhaven/sandcastle
# or
npm install @grayhaven/sandcastle
import { SandCastle } from "@grayhaven/sandcastle";
const sc = new SandCastle();
const result = await sc.run<number>("return 1 + 1;");
// result === 2
const result = await sc.run<string>(
'const i = globalThis.__sandcastle_input; return "Hello " + i.name;',
{ name: "World" }
);
// result === "Hello World"
import { createCodeTool, TwoPassExecutor } from "@grayhaven/sandcastle/codemode";
const executor = new TwoPassExecutor();
const tool = createCodeTool({ tools: [...yourTools], executor });
// Give this single tool to your LLM instead of N separate tools
Feed these to your LLM so it knows the sandbox API:
import type {} from "@grayhaven/sandcastle/guest";
The sandcastle CLI must be installed and in your PATH. See the main repo for installation instructions.
return Promise.all([...]) works)MemoryExceeded status instead of opaque WASM trapsApache-2.0
FAQs
The fastest way to run untrusted JavaScript safely. Zero-config, Bun-first.
The npm package @grayhaven/sandcastle receives a total of 11 weekly downloads. As such, @grayhaven/sandcastle popularity was classified as not popular.
We found that @grayhaven/sandcastle demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.