BY HOOP.DEV / OPEN SOURCE

Warden helps authors ship guardrails with confidence

Build a Hoop guardrail regex from a query you want blocked, test it live against your own examples, and export it ready to enforce. Everything runs in this page; your queries never leave the browser.

The CLI proves rules in CI (warden test) and drafts them with an LLM (warden generate).

Runs In Your BrowserNo SignupFree

Start from a query

Paste a query you want to block, plus an optional similar one that must stay allowed. Warden recognizes the shapes and suggests vetted rules, pre-filled from the queries themselves.

Rule

Pattern rules match the text of a query and cannot parse SQL. A rule that passes each test here can still be evaded by a rewritten query (CTEs, subqueries, obfuscated conditions). Pair guardrails with review for high-risk access.

Test bench

Matching runs in your browser with RE2, the portable subset both of Hoop's guardrail engines accept. It proves behavior on these examples only; untested queries are untested.

Must be blockedno examples
Must be allowedno examples

Export

Build a rule first; the exports appear here.

01

Author

Paste a query you want blocked, pick a vetted template, or write raw RE2. Or let an LLM draft it on the command line.

warden generate -block "DELETE without WHERE"
02

Prove

The test bench runs every example through the same RE2 engine Hoop compiles. In CI, the CLI does the same and fails the build on any regression.

warden test rules/*.yaml
03

Enforce

Export a ready-to-run curl that creates the guardrail through Hoop's API, then attach it to your connections.

curl -X POST .../api/guardrails

One rule blocks one query shape. hoop enforces the whole policy.

Guardrails, data masking, access control, and full audit logs, enforced centrally across every agent, every connection, and every protocol. That is the hoop.dev platform.