Execution decides
A sandboxed, observed run assigns the verdict. A high static score is a reason to run, never a result.
v0.1.3 · execution-grounded
Execution-grounded security verifier for AI agent skills.
Runs a skill in a sandbox on macOS or Linux against a real agent, captures what it actually did, and checks that against what it claims to do. The verdict is backed by a record a third party can verify.
$ uv tool install assayhq
$ assay triage path/to/SKILL.md
$ assay check path/to/SKILL.md --model ... --max-cost 0.01
A sandboxed run needs a provider, model and cost cap. The quickstart uses a pre-filter and the CLI only; see the README for a full run.
assay --version, then the 20-case corpus report. No model or network call.01 Why
A static pattern or a model's opinion can flag a candidate. Assay's claim is narrower and stronger: what the skill actually did in a confined run, captured and checked against what it declared.
A sandboxed, observed run assigns the verdict. A high static score is a reason to run, never a result.
CLEAN means the run matched the declared scope, not that the skill is safe. UNVERIFIED is never a pass.
Canonical traces and SSH-signed bundles. assay verify checks the signature, the hashes and the replay offline.
Private runs, a reviewer who did not run the target, a 30-day disclosure window and a correction route before publication.
02 How it works
Parse a Claude Code or OpenClaw SKILL.md, or a Cursor rule, into a typed record with its declared scope.
Run it against a real agent in Seatbelt on macOS or bubblewrap on Linux, with a scrubbed environment, confined writes and cost/step caps.
Record file, network, shell and instruction events as a canonical, content-addressed trace.
Diff observed against declared scope. Four classes, a severity floor that cannot be lowered, and a named cause when undecidable.
Sign the trace and its exact source into a bundle. Anyone can check the signature and replay the verdict offline.
MCP is a separate capability: assay mcp inspects startup and tools, and assay mcp-report runs a task and reports UNVERIFIED/FLAGGED. A manifest declares startup, not behavior, so there is no CLEAN or MALICIOUS server claim.
03 Commands
| Command | What it does | Verdict |
|---|---|---|
assay check <skill> | Sandboxed run against a real agent; saves the trace and prints the assessment. | Yes; exit 0 only on CLEAN |
assay bundle | Sign a saved trace and its exact source into a canonical record. | Carries the assessment |
assay verify | Check hashes and signature, then replay the shipped verdict. | Verifies the record |
assay corpus | Measure the verdict on the labeled 20-case benchmark. | Report only |
assay triage <skill> | Rank a skill from its text before spending a run. | No; pre-filter only |
assay mcp <manifest> | Start one stdio MCP server, list tools and show denials. | No; inspection only |
assay mcp-report <manifest> --task ... | Run a task with the server's tools and report the observation. | UNVERIFIED/FLAGGED; no CLEAN |
Full flags, providers and limits: README → Usage.
04 Status
v0.1.3 is on PyPI. The engine covers A1–A8 (file-based) and A10; MCP has a sandbox session, stdio client, inspector and conservative report. The 20-case benchmark, held-out shell/instruction sets and a private real-world control are in the repo.
The private own-skill audit dry run was reviewed privately on 2026-11-10: 21/21 bundles verified, 12/15 runs decided, no HIGH, no MALICIOUS. A public audit still needs an independent reviewer and the disclosure window. The reviewer call is issue #31.
Platforms. assay check and local stdio MCP runs work on macOS (Seatbelt) and Linux (bubblewrap); Windows uses the Linux backend via WSL2. Linux http_get uses a Landlock/seccomp allowlist and needs Linux 6.7+ and libseccomp. There is no unconfined fallback. Platform plan →
Assay is a verifier, not a guarantee. CLEAN is per-run and scope-matched; UNVERIFIED is never a pass.