← Back to Blog
EU AI ActOctober 27, 2026·5 min read·by TamperAudit Team

EU AI Act Article 12: "tamper-proof audit logs" doesn't mean what you think it means

Most teams read Article 12 and conclude they're fine. "We keep logs," they say. "We've got them in Postgres."

Most teams read Article 12 and conclude they're fine. "We keep logs," they say. "We've got them in Postgres."

That's the first mistake. Article 12 doesn't ask you to *keep* logs. It asks for "automatic recording of events" that ensures "traceability" — records that can be verified by someone who does not trust you.

Those are two different things. A log is written for engineers. It lives in a writable database. It can be "cleaned up" after an incident. Evidence has one property: it can be *verified* as untouched.

Here's the test. Three questions:

  1. Can your DBA run an UPDATE on the audit table? If yes, it's not evidence.
  2. If someone deletes a row, does anything alarm? If no, it's not evidence.
  3. Can a third party verify integrity without trusting you? If no, it's not evidence.

The fix is a hash chain. Each event's hash covers the previous event's hash. Edit row 42 and every row after it stops verifying. Sign the head with Ed25519 and any regulator, auditor, or plaintiff's lawyer can check it with the public key — without your cooperation.

The cost is about 1-3 milliseconds per event. One HMAC, one signature, one insert.

The expensive part was never the crypto. It's accepting that "logs in a database" and "evidence in court" are different species.

What happens to your audit logs if your DBA runs one UPDATE today?