Capability contract · pre-execution audit · fail-closed

Agent Security Contract

Every tool call an AI agent makes is checked against a signed-off capability contract. Fail closed.

A policy engine demo, not a trained model. The published ASC v0.2.1 library evaluates a static tool-call trace against a YAML capability policy pinned by SHA-256 catalog digest. Nothing is executed. This page runs entirely in your browser: after the runtime loads, traces and policies you enter are not sent to a server.

ASC v0.2.1 Apache-2.0 66 official scenarios Runs in your browser Fail-closed

Loading Pyodide 0.29.5 and the bundled ASC v0.2.1 library…

Audit at a glance

Precomputed · official v0.2.1 corpus run bundled with this Space

Verdict ledger: expected vs actual

Each corpus scenario declares the verdict it expects. The grid counts what the library actually returned. Off-diagonal cells would be mistakes.

One stamp per scenario (A = ALLOW, B = BLOCK, R = REQUIRE_APPROVAL). Tap a stamp to open that case below.

Severity breakdown

Corpus severity of each scenario, coloured by the verdict the library returned.

Attack classes

Corpus tag of each attack scenario.

Contract clauses

Which clause of the contract decided each attack scenario.

Decision

Waiting for runtime

Tool-call sequence

The call list appears after a scenario is evaluated.

Evidence envelope

    

Attacks

Benign controls

Run the official corpus

Evaluates all 66 shipped scenarios in this browser and reports the verdicts the library actually produces.

Advanced: edit the trace or policy

Choose a preset or paste a custom trace. If tool_catalog is omitted, the evaluator uses the policy catalog.