Audit log and chain verification
Read the signed, hash-chained audit log, verify it and test it with the tamper demo.
What it is
Every action in Setu is written to a log. Each entry is signed with Ed25519 (a digital signature) and linked by a hash to the entry before it. A hash is a short fingerprint of data. Change one character and the chain breaks.
Who uses it
Admin Admins see the full log with the Evidence section. Judge Judges can read it too.
When to use it
- To prove that nothing was changed, removed or reordered.
- To see what the AI agent, a user or the system did, and at which tier.
- To show someone how tampering is detected.
Step by step
Open Audit log
In the sidebar choose Audit log. The page is titled Signed audit log. The Evidence section shows entries in the log, entries by tier and by action, and the last verification.
The Evidence section on the admin audit page. Verify now
Press Verify now. The page re-checks every hash and signature and shows a green "Verified" badge with the number of entries, or the first broken entry.
Result of Verify now. Read the live chain
Under Live chain, each block is one entry. The line between blocks is the hash link. New entries appear on the right. Press Refresh now to reload.
The Live chain. Open an entry
Select a block. A side window shows the exact bytes that were hashed, the payload hash, the previous hash, the entry hash and the signature. Each field has a Copy button. Entries about releases also show a Receipt button.
One audit entry in detail. Try Tamper and see
In Tamper and see, choose an entry, choose a change (edit a value, delete the entry, or swap with the next entry) and press Tamper with the copy. The page works on a copy and shows where verification breaks. Press Restore the live chain to return.
Tampering is detected in the copy.
What the results mean
| Message | Meaning |
|---|---|
| Verified, N entries | All hashes, signatures and the order are correct. |
| Broken at seq N | Entry N is the first one not in its place. |
| entry contents no longer match the hash | Someone changed the entry. |
| signature does not match the key | The entry was not signed by Setu. |
| an entry is missing | A deleted entry left a gap in the numbers. |
| entries are out of order | The order was changed. |
| the link to the previous entry is broken | The entry was inserted or rewritten. |
The Public key fingerprint identifies the key used to check signatures. Open the public verifier goes to /verify, which checks an exported file in the browser.
Tips and common mistakes
- The Evidence section and the export link appear on
/app/admin/audit. The page/demo/auditshows the chain and the tamper panel only. - Tamper and see never changes the real log. A banner says "This is a copy".
- Verifying a log that was cut at the end can still succeed. Compare the head sequence number with a receipt or an earlier export.
- Reset of a demo sandbox adds a signed
DEMO_RESETentry. It is not an error.