Assay
Assay

v0.1.3 · execution-grounded

Assay

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.

quickstart

$ 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 CLI: assay 0.1.3 and the 20-case corpus report
Real CLI output: assay --version, then the 20-case corpus report. No model or network call.

01 Why

The scan is not the verdict.

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.

Execution decides

A sandboxed, observed run assigns the verdict. A high static score is a reason to run, never a result.

Honest verdicts

CLEAN means the run matched the declared scope, not that the skill is safe. UNVERIFIED is never a pass.

Evidence you can verify

Canonical traces and SSH-signed bundles. assay verify checks the signature, the hashes and the replay offline.

An audit gate

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

One run, five links in the chain.

1

Ingest

Parse a Claude Code or OpenClaw SKILL.md, or a Cursor rule, into a typed record with its declared scope.

2

Run

Run it against a real agent in Seatbelt on macOS or bubblewrap on Linux, with a scrubbed environment, confined writes and cost/step caps.

3

Capture

Record file, network, shell and instruction events as a canonical, content-addressed trace.

4

Assess

Diff observed against declared scope. Four classes, a severity floor that cannot be lowered, and a named cause when undecidable.

5

Attest

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

Small surface, explicit claims.

CommandWhat it doesVerdict
assay check <skill>Sandboxed run against a real agent; saves the trace and prints the assessment.Yes; exit 0 only on CLEAN
assay bundleSign a saved trace and its exact source into a canonical record.Carries the assessment
assay verifyCheck hashes and signature, then replay the shipped verdict.Verifies the record
assay corpusMeasure 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

Shipped, measured, and honest about the gaps.

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.

20labeled benchmark cases
21signed audit bundles replayed
0HIGH findings in the private dry run
v0.1.3on PyPI, Apache-2.0