Skip to main content

How a hash chain makes an audit log tamper-evident

· 5 min read
The team building Santati

An audit log is evidence only if a reader can tell whether it was changed afterwards. A stored row is just a row: an engineer with database access can edit it, an attacker who reaches the server can edit it, and the vendor that hosts the log can edit it too.

"Append-only" is a promise the operator makes about its own systems, and a promise is not something a reader can test. A hash chain is different: it is a property of the stored data that any reader checks, independently of whoever stores it. This post shows what that check proves, what it cannot prove, and how to run it on a Santati trail without trusting Santati.