LabsToolBy Arxytas Labs10 min read

pyloros-verify for auditors

How to check a Pyloros ledger offline, step by step, without trusting us.

A Pyloros ledger records every call an agent makes: what it asked for, what policy decided, who signed, and what happened. This guide is for the person who has to check that record without taking the company’s word for it, or ours.

You don’t need to be an engineer. You’ll run one command and read its report. Before each part of the report, we explain what is being checked, what a pass looks like, and what a failure means.

What you need

Four things, and where each one comes from matters.

The audit pack. A signed zip file the company exports for the period you’re reviewing, from the Audit screen in the Pyloros console, which only the company’s audit group can use. Inside are the records, the checkpoints that seal them, timestamp tokens, the policy rules in force, signing keys, and a readable report.html. Every export is itself written to the ledger, so the pack shows who exported evidence and when.

The verifier, pyloros-verify. A small program written in Go using the standard library only, with no other dependencies. It is written to be read by auditors. The company can supply its source for you to read and build yourself:

$ cd verifier && CGO_ENABLED=0 go build -o ../bin/pyloros-verify .

It is also shipped inside the Pyloros server image, at /usr/local/bin/pyloros-verify.

The root public keys. Two small files, pack-root.pub and checkpoint-root.pub. They are the starting point for every signature check. Get them from the channel where the company publishes them, not from the pack. The pack carries copies of its keys for convenience, but anyone who rewrote a pack could re-sign it with their own key and put that key inside. Keys you fetched independently are what make the check independent.

The timestamp authority’s root certificates. One PEM file. Pyloros has an outside timestamp authority stamp its checkpoints, and this file lets the verifier trust those stamps.

The verifier reads the zip in memory and never extracts it. In pack mode it needs no network connection.

Step 1: Run the check

With the four files in one folder, run:

$ pyloros-verify --pack pack.zip \
    --pack-root-pubkey pack-root.pub \
    --root-pubkey checkpoint-root.pub \
    --tsa-roots tsa-ca.pem

The report is printed to the screen. You can save it with > report.txt at the end of the command.

Step 2: Read the exit code

The verifier ends with an exit code, a number that scripts and audit tools can read. Run echo $? straight after the command to see it.

CodeMeaningWhat to do
0Everything verified. There is no FAIL line in the report.Read the warnings. They don't change the code, but some of them matter.
1Verification failed. At least one check found a problem.Treat the evidence as bad until the FAIL lines are explained.
2The verifier could not run: a wrong flag, or a file it couldn't read.Fix the command or the files. Nothing was checked.

Keep 1 and 2 apart. A 1 says the evidence is bad. A 2 says the check didn’t happen.

Step 3: Read the report

Here is a passing report from a demo run with 456 records, in the order the verifier prints it. The 456 per-call lines are left out.

The pack and its manifest

Every pack has a manifest: a list of every file in the zip with its SHA-256 fingerprint. The manifest is signed, and an outside timestamp authority has stamped it. The verifier checks the signature, then recomputes each file’s fingerprint and compares. It also refuses extra, missing or duplicate files.

pack pack_r7rptdsnwzzullz22a6h: 4 chain(s), 456 record(s), 456 in scope, payloads included: no

A chain is one sequence of records: one per agent, one for the console where people change the rules, and one per passkey. “payloads included: no” means the pack carries the records but not the full content of each call. When the company exports with content, the verifier also re-hashes every payload against its record.

If a file was changed after export, you see:

FAIL file records.jsonl: sha256 mismatch

The key lists

Signing keys change over time. Pyloros keeps each key in a list where every new key is endorsed by the one before it, starting from the root key you supplied. The verifier walks that list from your root.

key list pack: 1 entry, endorsed from the root: OK
key list pack: newest entry: version 1, key f5162baa…dcfec, valid from 2026-10-18T14:45:37.264839Z
key list checkpoint: 1 entry, endorsed from the root: OK
key list checkpoint: newest entry: version 1, key f4d42885…b0ce, valid from 2026-10-18T14:45:31.745613Z
warning: a key list from a file or pack cannot prove that no later entries exist; compare with the bucket (--bucket … --root-pubkey) or the published list

The warning always appears when the list comes from a file or the pack. A list on paper can show that each key was properly endorsed, but not that nobody added a newer one. Compare the newest entry with the company’s published list, or use the live check at the end of this guide.

A key that wasn’t endorsed by the one before it shows as a line starting with FAIL key list.

Checkpoints and timestamps

At a regular interval, every 30 seconds by default, Pyloros seals the ledger with a checkpoint: a single fingerprint over the newest record of every chain, signed and written to storage that can’t be overwritten. A timestamp authority, a party other than Pyloros, then stamps that checkpoint with the time it saw it.

A checkpoint and its stamp prove that at that moment the ledger held exactly this content, and that nobody can backdate a checkpoint later. If anyone rewrites or cuts the sealed part of a chain, it no longer matches its checkpoint.

checkpoints: 2 verified
checkpoint 1: existed no later than 2026-10-18T14:45:36.000000Z, per Pyloros dev TSA (trusted)
checkpoint 14: existed no later than 2026-10-18T15:14:31.000000Z, per Pyloros dev TSA (trusted)
pack existed no later than 2026-10-18T15:14:31.000000Z, per Pyloros dev TSA (trusted)

“(trusted)” appears because you passed --tsa-roots. Without it, the same lines end “(untrusted: no –tsa-roots)” and the time hasn’t been confirmed. Add --require-timestamps to make a missing or untrusted stamp a failure instead of a note.

The verifier also guards against a stolen old key. Once a key has been replaced, a checkpoint signed with it but first stamped well after the replacement (by default more than 24 hours, set with --max-stamp-lag) fails like this:

FAIL checkpoint N: signed by key version I, which version J replaced at T1, but first timestamped at T2

Approvals

When policy holds a call for a person, the approver signs with a passkey. The verifier checks each signature against a passkey the approver had registered and active at the time, and checks that the signed statement matches this decision on this request, and that the signer is the person recorded as deciding. A request marked as needing a signature must have one.

approvals: 5 signed (verified), 10 unsigned, 0 expired
approval apr_cfflexnvhh6ilf3tsl5s: attestation "I approve this refund for execution", reason "Checked against the bank statement: the wire went out twice on 14 October (SUP-2307)."

Each signed approval gets a line like the second one, with the statement the approver confirmed and the reason they gave.

The chains

Each record carries a fingerprint of its own content and the fingerprint of the record before it. Change one record, remove one or swap two, and the links break. The verifier recomputes every fingerprint and follows each chain from its start.

chain agent:ops-helper: seq 1..25, from genesis to checkpoint 14: OK
chain agent:payments-assistant: seq 1..378, from genesis, unsealed: OK
chain console: seq 1..51, from genesis, unsealed: OK
chain passkey:8abb0c74…6f7a82: seq 1..2, from genesis to checkpoint 1: OK
warning: chain agent:payments-assistant: seq 1..378 not yet sealed by any checkpoint (can still be rewritten)
warning: chain console: seq 1..51 not yet sealed by any checkpoint (can still be rewritten)

“from genesis to checkpoint 14” means the chain is intact and sealed. “unsealed” means it is intact, but no checkpoint in this pack covers it yet. The warning says what that means: records after the newest checkpoint aren’t protected against a rewrite. A pack exported a little later, once a checkpoint has sealed them, closes that gap.

The console chain matters on its own. It records who changed agents and rules, and who exported evidence, including the export you are holding.

After the chains come one line per call: the person the agent acted for and their groups, the agent and its version, the model, and the stated purpose. The purpose is the agent’s own description, and the report marks it as self-reported.

The verdict

pack: OK

What a failure looks like

In this demo run, one byte of one record was changed in a copy of the pack. The verifier exits with code 1:

chain agent:ops-helper: seq 1..25, from genesis to checkpoint 14: 1 failure(s)
FAIL file records.jsonl: sha256 mismatch
FAIL chain agent:ops-helper seq 1: record hash mismatch (record content altered)
pack: 2 failure(s)

The first FAIL says the file no longer matches the signed manifest. The second points to the exact record: its content no longer matches its fingerprint.

In another copy, one record was deleted:

chain agent:ops-helper: seq 1..25, from genesis to checkpoint 14: 3 failure(s)
FAIL file records.jsonl: sha256 mismatch
FAIL chain agent:ops-helper seq 7: sequence gap: expected seq 6 (record deleted?)
FAIL chain agent:ops-helper seq 7: prev_hash does not match the preceding record's hash (chain link broken)
FAIL chain agent:ops-helper seq 7: outcome references intent_seq 6, which is not an earlier intent in this chain

Record 6 is missing, so record 7’s link to the record before it no longer holds, and the outcome in record 7 points at a request that isn’t there.

Warnings worth acting on

A report can end “pack: OK” and still carry warnings. These are the ones to follow up.

  • warning: pack root key read from the pack itself (keys/pack-keys.jsonl); compare it with the published root keyYou ran without the root keys. The pack agrees with itself, but nothing ties it to the company's real keys. Run again with the published pack-root.pub and checkpoint-root.pub. The checkpoint key gets the same warning.
  • (untrusted: no --tsa-roots)The timestamps were read but not trusted. Add the timestamp authority's root certificates.
  • not yet sealed by any checkpoint (can still be rewritten)The newest records aren't sealed yet. Ask for a pack exported after a later checkpoint.
  • warning: pack is unstamped: nothing in it is anchored by a timestamp authorityThe pack was exported without timestamps. Ask the company why, and for a stamped export.

What a pass tells you

With the published root keys and the timestamp roots, “pack: OK” tells you that the records in the pack are the ones the company’s keys sealed, unchanged and in order, at times an outside authority confirmed. It tells you which policy rules each decision was made under, and who signed each approval.

It doesn’t tell you whether those rules were the right ones. That part of the audit is still yours.

Going further: the live check

A pack is a snapshot. Whoever hands it to you could, in principle, leave out the newest checkpoints, or a newer key. If the company gives you read access to the storage where Pyloros writes its checkpoints, you can check against it directly:

$ pyloros-verify --bucket s3://BUCKET/PREFIX \
    --root-pubkey checkpoint-root.pub \
    --tsa-roots tsa-ca.pem records.jsonl

This reads the checkpoints and key lists straight from the store, which can’t be overwritten, and catches a dropped checkpoint or a hidden key that a file can’t reveal. It takes the ledger’s records as an export, records.jsonl, rather than a pack. The verifier takes the read credentials from the standard AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. Add --endpoint URL if the store isn’t on the default S3 endpoint.

Questions about the verifier? Write to us at hello@arxytas.com.

The sample output above comes from a Pyloros demo run. Its people, amounts, tickets and keys are illustrative.