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
Evidence (2) — ⭐ canonical anchor
Interpretation history
2026-10-21T13:58:17Z
audience grounding: medium — 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.
Decision trace
- 10-29 14:55expireexpired deterministically: single-evidence seed quiet 14 days (lifecycle)
- 10-22 00:58groundStof 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
- 10-15 11:04attention_routeThe editor compared this story and chose to keep watching.
- 10-15 10:55attention_candidatecreate
- 10-15 10:46createShow HN release of a purpose-built WASM runtime for untrusted logic execution; new artifact in the agent containment space.