Vibeleaderboard
Index / tool
Category
Developer Tools
Rank
No. 3930Tools index

Previous survey · No. 3817 ·

Pricing
Open Source
Type
TOOL
Use case
Security & Identity · Data Processing
GitHub
67 stars
Date

About

Stof is an open-source runtime for logic you do not fully trust, such as AI-generated code. It treats a JSON-compatible document containing functions as a small WebAssembly environment, so the functions can only access their own document. It also converts between formats like JSON, YAML, TOML, PDFs, and images, and is written in Rust. A browser playground runs entirely client side.

At a glance

Stof puts data and functions in a document your application can run in-process. It is worth evaluating if customers need different business rules and you want to inspect those rules before they run.

Good fit

Application teams that can define which host functions each document may call.

Consider something else when

Skip it if plain configuration is enough or you cannot review and test user-authored rules before deployment.

Start here

Create a scratch document with two spending limits and a fake payment function. Check which calls are allowed, then remove the function and confirm the document cannot call it.

Cost and requirements

The project documents Rust, JavaScript and Python integration. Your application provides the state and host functions, so it determines what data and side effects are available.

Limits to know

The sandbox boundary depends on what the host exposes. Test authorization and limits independently before handing documents access to a real service.

Sources checked 2026-11-05. Source-based assessment.

Suggest an improvement

Similar tools

Browse all tools →

Tags

wasmrustsandboxjsonruntimeai-generated-code

Tech Stack

PythonRust

Media

Stof

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.