KYA-OS COMMUNITY

VERIFY

Check a KYA-OS audit trail yourself. The protocol's reference verifier runs here in your browser, and nothing you load leaves it.

Check a bundle

A verifier needs three files: the bundle, the policy that says which ledgers and signers to trust, and those signers' public keys. Load your own, or start with the sample and its tampered copy.

The checker needs JavaScript. The command under run it yourself runs the same verifier without it.

Run it yourself

The same verifier as a command, on your own machine. When the result matters, prefer this: it does not depend on this page or this site.

npx -p @kya-os/[email protected] kya-audit verify bundle.json \  --policy policy.json --keys keys.json

Exit 0: no dimension is invalid. Exit 1: at least one is. Exit 2: the files could not be read. The sample files to try it with: bundle.json, bundle.tampered.json, policy.json, keys.json.

What the report means

The report keeps seven dimensions separate, so one failure cannot hide behind another. Each is valid, invalid or indeterminate.

  • valid: the evidence is present and checks out
  • invalid: the evidence is present and fails
  • indeterminate: the evidence needed to decide is not there; never counted as valid
Signatures and digests cryptographicIntegrity
Every entry, receipt, checkpoint and the bundle itself is signed by a key the policy trusts, and every digest matches the content it covers.
Hash chain chainIntegrity
Each entry commits to the digest of the one before it, so no entry was dropped or inserted within the range.
Checkpoints checkpointIntegrity
The signed Merkle checkpoints (RFC 9162) match the entries they cover, and every covered entry carries a valid inclusion proof.
Witnesses and anchors anchorIntegrity
Observations of the checkpoints by independent witnesses, and any external anchors, verify against the observers the policy trusts.
Completeness scopeEvidenceCompleteness
The bundle holds everything its signed manifest commits to, for the whole ledger range it claims to cover.
Authorization at the time authorizedAsObserved
Each action was authorized when it happened. This needs authorization evidence in the bundle and a verifier for it.
Authorization now currentAuthorization
That authority still holds today. This needs live status, so a check from files alone leaves it indeterminate.

A relying party decides what an indeterminate dimension means for it. The definitions are in AUDITABILITY.md.

Where the keys come from

A pass means the bundle agrees with the policy and keys you supplied. It does not say who holds those keys: anyone can sign a bundle with keys of their own. KYA-OS never lets a bundle vouch for itself, so take the policy and keys from a source you already trust, such as the signer's published DID document, not from the same place as the bundle. When files arrive by link, the result names the site each one came from.

What runs on this page

The reference verifier from the protocol repository, @kya-os/mcp 1.21.2, with its own dependencies. These are the files npm publishes, byte for byte: copied from the registry tarballs after checking each against the registry's integrity hash, re-checked on every build, and served from this site. Nothing loads from a CDN. The only difference from the command is the crypto provider: the browser's Web Crypto instead of Node's.

  • @kya-os/[email protected] MIT · 51 modules · tarball sha512-KpsrN4ZUJeMN+A7/1eCEqrii6OVaMoWQq+vSe+hvSU3OKsmVTl0z9+EcCRyXSPFathaPFw3CdId2d9wQiHLqNw==
  • [email protected] MIT · 46 modules · tarball sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==
  • [email protected] MIT · 95 modules · tarball sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==

Every vendored file and its sha256: /vendor/manifest.json. To link straight to a check, give this page the three file URLs, for example the sample. Files on another site must be served over HTTPS with CORS open.