2026-11-27 16:22 UTC

Stof proposes a document-centric WASM runtime for untrusted logic

state: expiredheat: mediumuncertainty: mediumrelevance: mediumwasm-runtime agent-sandboxing untrusted-code-execution document-centriccj-buildsStof team

What is this?

Stof is an open-source Rust data runtime that treats JSON-like documents as containers for both data and functions. Its creator says each document runs in a small WebAssembly environment, with functions limited to that document; the project site describes sandboxing by default, with no filesystem or network access unless explicitly provided. The Show HN post presents it as a way to run logic you do not fully trust, including AI-generated code, and reports JS/TS and Python support. These are project claims; the supplied evidence does not independently verify the security guarantees or show adoption or production use.

Why it matters

Stof packages data and document-scoped functions together, aiming to make it easier to run portable, untrusted logic—including AI-generated code—inside an application. The idea could simplify dynamic integrations compared with separately deployed services or build-time adapters. Its security story is a project claim, however: the supplied sources do not include an independent audit, adversarial testing, or evidence of production use. The more distinctive contribution appears to be the document-centric interface, not WebAssembly sandboxing itself.

Current assessment

Stof is presented by its creator and project site as an open-source Rust runtime in which JSON-like documents can contain functions executed in a small WebAssembly environment. The Show HN post says those functions are scoped to their own document and reports JS/TS and Python support; the project site additionally claims that documents have no filesystem or network access unless explicitly granted, and can be exported to JSON, YAML, or TOML. The new development is the proposed packaging of data and executable logic as a portable document, with AI-generated logic as a motivating use case. These are project descriptions, not independently verified security findings. The supplied evidence does not establish isolation against vulnerabilities, performance beyond the project's claims, adoption, or suitability for production. For developers evaluating ways to run model-generated code, Stof may merit a look where document-level logic and data interchange are useful; compare its actual threat model, limits, and auditability with established sandbox approaches before trusting it with sensitive workloads.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-13 13:00⭐ origin echo-reconstructedStof is an open-source runtime for logic you don't own or fully trust. Imagine a JSON document with functions inside, scoped to just the doc
Stof team on blog (echo) · attributed from hn.story.50093435
—
10-14 19:18first on hacker news · published · +30.3hShow HN: Run AI-generated logic safely inside your app
cj-builds
—
10-14 19:18amplified on hacker news 👑hn.story.50093435
cj-builds
peak 3 · 0 comments · 100% of case engagement
10-14 23:22our radar first saw it · +34.4hdiscovery anchor: hn.story.50093435—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Run AI-generated logic safely inside your appcj-builds30
🟧 echo.blog ⭐Stof is an open-source runtime for logic you don't own or fully trust. Imagine a JSON document with functions inside, scoped to just the docStof team——

Interpretation history

Decision trace