Skip to main content

2 posts tagged with "security"

View All Tags

Running Logic You Didn't Write: Stof's Security Model in 0.11

CJ Cummings
Creator and maintainer of Stof, co-founder & CEO of Limitr

Stof is JSON that runs, and the logic that runs is often logic you didn't write: a rule a model drafted, a customer's settings, a plugin another team shipped. Your app runs it in-process, with no deploy, and has to stay in charge of what it can do.

Stof 0.11 completes the security model that makes that safe to rely on. Start with nothing, limit every call, seal what you trust, confine what you don't, and sign what crosses a wire. This post walks through the whole model, and most of the examples run right here on the page. (Some of this first shipped in 0.10.10; 0.11 completes it.)

How to Safely Give AI Agents New Tools at Runtime

CJ Cummings
Creator and maintainer of Stof, co-founder & CEO of Limitr

Most systems treat "let an agent gain new tools while it runs" and "stop an agent from doing damage" as two problems with two solutions: a tool registry plus an approval workflow, or a plugin marketplace plus a permission system bolted on afterward.

In Stof, they're the same mechanism. A tool is a function in a document, and a document can only reach what your app has handed it. So a tool that arrives at runtime is limited the same way everything else in the document already is. Not because a permission check ran, but because there's nothing else there to reach.