Skip to content
Docs · Verifying the record

Compliance

Verifying the record

How to check Yomenie's audit log: a hash chain per workspace, daily anchors, public RFC 3161 timestamps, and an open-source verifier you run.

Updated

On this page

A record nobody can edit is only worth something if you can check that nobody did. This page explains how Yomenie’s record can be checked, what works today and what’s coming.

How a chain works

  • Each entry carries a fingerprint of the one before it. The fingerprint (a hash) is worked out from the whole previous entry.
  • Changing or removing an entry breaks the chain from there on. Anyone who works the fingerprints out again sees where they stop matching.
  • Once a day the newest fingerprint is written somewhere else, as an anchor that can’t be changed or deleted. Cutting entries off the end, or rewriting the whole chain, then shows up against that day’s anchor.
  • Values never go in. Secrets, tokens and free text are replaced by a keyed fingerprint before they’re written, so the record can be checked without showing what it names.

Today: the Vault’s chain

Live. Every call to the Vault, and the security events about keys, connections, grants and approvals, go into the Vault’s own record: one chain per workspace, kept apart from Yomenie’s main database.

  • The database refuses edits and deletions of it.
  • If an entry can’t be written, the Vault refuses the request, so nothing happens that isn’t recorded.
  • Once a day each chain’s newest fingerprint is written to separate storage with a lock that stops it being overwritten or deleted.
  • The Yomenie team checks the chains against their anchors. The check isn’t in the app yet.

Your own view of the same events is the audit log.

The whole audit log

Live. Every entry of your workspace’s audit log is in one chain, in the same format as the Vault’s.

  • A check in the app and from your AI tool. verify_audit_chain walks the chain from its first entry and either says it’s whole or names the first entry where it breaks, and why.
  • Exports carry their place in the chain. Each row of an export has its sequence number, its fingerprint and the one before it, so a file your auditor holds can be matched to the record.
  • A daily anchor. Once a day the newest fingerprint of every workspace’s chain is recorded and written to locked storage beside the Vault’s.

Anchored outside our hosting provider

Storage we run can only prove so much: someone with our whole cloud account could rewrite a chain and its anchors together. So each day’s anchor also goes to public timestamp authorities, companies whose job is to sign “this fingerprint existed at this time” with their own keys (the RFC 3161 standard).

  • Only one fingerprint a day leaves Yomenie, for every workspace together: the day’s fingerprints are folded into one (a Merkle root). Not your workspace’s name, its entries or how busy it is.
  • Two authorities sign it: FreeTSA and DigiCert. Their signed timestamps are public, at https://yomenie.us/api/v1/audit-anchors, with no sign-in.
  • Your owners and admins get your proof. get_audit_anchors from your AI tool gives your chain’s fingerprint on each day and the path from it to that day’s root. A JSON export carries the same for the days in its range.
  • A missed day shows. If an authority can’t be reached, it’s asked again for a week, and the day shows as missing in the public records and in verify_audit_chain.
Coming: Compliance evidence built in, starting with SOC 2, on the roadmap

The timestamps are built and switch on for yomenie.us shortly; until then each day is anchored in our own locked storage only.

Check it yourself

The verifier is open source, in Yomenie’s repository: apps/api/scripts/verify-audit-export.ts. Your auditor runs it on their own machine, with no Yomenie account and no access to our database.

  1. Export the audit log as JSON for the period (Settings → Security → Audit log, or export_audit).
  2. Save the public anchor records for the same period: curl -fsS 'https://yomenie.us/api/v1/audit-anchors?from=2026-11-01&to=2026-11-30' > anchors.json
  3. Run tsx scripts/verify-audit-export.ts export.json --anchors anchors.json.

It works every fingerprint out again and checks the chain has no gap; works each day’s root out again from your chain’s fingerprint and its path; and checks each authority’s signature, that it signed exactly that root, and that its certificate leads to the authority’s published root and was valid at the time. If anything was changed, cut off or rewritten after a day was anchored, it says which entry and which day. A second opinion on any one timestamp: openssl ts -verify with the authority’s root.

Check an evidence bundle

Live. The evidence bundle is a zip your auditor checks on their own machine, with no Yomenie account and nothing asked of us. The verifier is open source; it reads the zip, or the folder it unzips to:

pnpm --filter @yomenie/api exec tsx scripts/verify-audit-export.ts yomenie-evidence-acme-2026-10-01-to-2026-12-31.zip --key <fingerprint>

Take the fingerprint from the workspace (an owner or admin gets it with get_export_key), by a channel other than the bundle itself. Without --key the verifier checks the signature against the key in the bundle and prints its fingerprint for you to compare.

In order, it checks:

  1. The signature: the manifest was signed with the workspace’s export key (Ed25519), and that key is the one you were given.
  2. The files: each file’s SHA-256 fingerprint, size and row count match the manifest, and no file was added.
  3. The chain: every audit log entry’s fingerprint recomputes from its fields, each points to the one before with no gap, and the first and last match the manifest’s chain range.
  4. The agent evidence: each part is exactly the audit log entries that match its filter in the period, nothing missing and nothing added; the CSV files have the same rows as the JSON.
  5. The policy evidence: each Handbook text matches its version’s fingerprint; each acknowledgement and each version matches its own audit log entry, and every acknowledgement and version in the audit log for the period has its row, so one changed, dropped or added is caught.
  6. The anchors: each daily anchor in the range matches the entry at its place. Anchors the verifier doesn’t know yet are listed as not checked, never as passed.

It ends with OK or a list of what’s wrong and where, and exits with 0 or 1, so it fits a script.

What it proves, and what it doesn’t

  • It shows that entries weren’t changed, removed or reordered after they were written.
  • It doesn’t show that the entries are a complete picture of your controls. That’s your auditor’s call, from the evidence and their own tests.