Verify a capsule
Anyone holding a capsule, an Evidence Bundle or a receipt can verify it — in the browser, on the command line, or as a library. Every path uses an open-source verifier built to the same specification. The command line checks a ledger — digests, chain links, and producer signatures. This page checks an Evidence Bundle in the browser, producer signatures included. The hosted verifier checks a receipt or signed statement — the signature and the inclusion proof.
Verify a bundle in this page
Paste an Evidence Bundle (JSON) or choose its file. The strict verifier from the agent-action-capsule package runs here, in your browser. The bundle is not uploaded: the code that reads it is the vendored, hash-checked verifier plus a short script on this page, and none of it makes a network request. The page’s content security policy allows no network connections (connect-src 'none').
What this checks. Each record’s identity (its digest recomputed from its bytes), each record’s producer signature against the key the record carries, the signed checkpoint, graph closure, interval coverage and per-record membership proofs, the disclosures overlay, and category coverage where the bundle carries what it needs (otherwise shown as withheld, not passed). A bundle that passes all of them is verified; one that fails any is failed; one where nothing failed but something could not be shown is incomplete.
What it does not check. That the signing key belongs to anyone you trust: this page does not know your pinned key, so use capsulectl verify with a profile for that. Bound original artifacts, which are not in the bundle. Witness receipts against trusted witness keys: this page supplies no witness directory, so no witness is trusted (a malformed receipt still fails the bundle). And whether what the records say is true or the agent did the right thing.
When this browser cannot check signatures. Signature checking needs Ed25519 from the browser’s own crypto, which is available only on secure pages (https) in a current browser. Where it is missing — a page opened from a file, or an in-app viewer on a phone — the result is Can’t check signatures in this browser, never failed. The bundle may be fine; this page just cannot tell.
Check a receipt or statement: the hosted verifier
The hosted verifier checks a single receipt or signed statement, not an Evidence Bundle. Paste a receipt or statement (and a key, if you want the signature checked) and read the verdict and reasons. It is stateless — nothing you submit is stored.
On the command line
pip install capsule-emit
capsule-emit verify --store ./capsule-ledger # the ledger store seal() writes by default
VALID
1/1 VALID
capsule-emit verify recomputes every capsule's digest and chain link with the reference verifier from agent-action-capsule (which ships as a dependency, and whose own agent-action-capsule verify runs that structural check alone) and checks each producer signature it finds. A tampered record prints INVALID and the command exits 1. Neither check needs the network.
With the Go CLI: capsulectl
If you would rather not run Python, capsulectl is a standalone Go binary (built on capsule-emit’s Go module, capsule-emit/go) that seals and verifies its own artifact records — it does not read the Python ledger store above, so use it end to end. Only pre-releases exist so far: the latest pre-release has binaries for Linux (amd64, arm64) and macOS (arm64), with a SHA256SUMS file and a Sigstore bundle. Or install it from source with Go 1.27 or later (the command below). Then create a profile that pins the producer's public key, seal a request (format in the capsule-cli README), and verify:
go install github.com/action-state-group/capsule-cli/cmd/capsulectl@latest
capsulectl key generate --output producer.seed # prints the public key
capsulectl profile create --name local --type jsonl --jsonl-path ./capsules \
--signing-key-file producer.seed --trusted-key PRODUCER_PUBLIC_KEY_HEX
echo '{"spec_version":"capsule-seal-request/v1","capsule":{"ActionID":"demo-1","ActionType":"fyi","Operator":"example-operator","Developer":"example-developer","Timestamp":"2026-09-27T12:00:00Z"},"payload":{"case":1}}' > request.json # the README's example request
capsulectl seal --profile local --request request.json --output artifact.json
capsulectl verify --profile local --capsule artifact.json
{"artifacts":{"payload":{"State":"present","Bound":true,"Verified":true}},
"capsule_identity":"passed", …, "producer_signature_and_trust":"passed", …}
capsulectl verify recomputes the capsule's identity, checks the producer signature against the key your profile pins, and checks each bound original. A changed byte, or a producer key the profile does not trust, fails the check and the command exits non-zero. No network is needed.
As a library
With scitt-cose: receipt is the receipt bytes, leaf the hex entry it covers, and log_key the log's public key (PEM). The scitt-cose README builds all three end to end.
from scitt_cose import verify_receipt
r = verify_receipt(receipt, leaf_entry_hex=leaf,
log_public_key_pem=log_key)
print(r.ok) # -> True
What a pass means
- The signature is intact and made by the stated issuer key.
- The leaf is included under the receipt's signed root. Its tree size and position are authenticated only against a tree head you already trust.
- Optionally, the log has stayed append-only between two tree heads (consistency).
Why each check exists is in the stories: the capsule (its id and signature) and the checkpointed local log (inclusion and consistency).