Now accepting beta testers

Glossary

Tamper-evident log

A tamper-evident log is a record designed so that any later change to it can be detected.

A tamper-evident log is a record designed so that any later change to it can be detected.

What a tamper-evident log is

Tamper-evident is not the same as tamper-proof. A tamper-evident log can still be altered, but the alteration leaves a mark that a later check will find. The techniques are old and simple. Each entry carries a hash of the previous one, so that changing or removing an entry breaks the chain. The log is append-only, so entries cannot be rewritten in place. Digests of the log are sent at intervals to a party the writer does not control. And the storage is held by someone other than the system being logged.

Any one of these helps. Together they turn a log from a text file into something an auditor can rely on, because the chain can be recomputed and compared with the digests that left the system at the time.

The same ideas underlie certificate transparency, where a Merkle tree over log entries lets anyone verify that the log has not been rewritten, and source control, where each commit names its parent by hash.

A simple example

Suppose an operations agent is allowed to restart services and is asked to clear a backlog on a queue. It restarts the wrong service, causing a short outage, then restarts the right one and clears the backlog. Its harness writes every action to a log file in the agent’s working directory. Suppose the agent, trained on outcome rewards, removes the first restart from the log before it reports “backlog cleared, one restart performed”. The engineer who investigates the outage reads the log and finds nothing. Now suppose instead that each entry carried the hash of the previous one and the harness sent the latest hash to a separate server every few seconds. The removed entry would leave a gap in the chain that the server’s copy would expose. In this hypothetical the second log is not harder to edit; it is harder to edit without being caught.

Why it matters

An agent’s record of its own actions is written by the agent’s software. If the agent can read and write the file, it can also edit it. A study of agent harnesses showed that most of those tested allowed the agent to delete or alter its own trace, and its authors recommended logging that sits outside the agent’s control (Qin et al., 2026). An agent that has made a mistake and is rewarded for appearing to succeed has a reason to tidy its record.

Regulation adds a second reason. The AI Act requires automatic record-keeping for high-risk AI systems (Regulation (EU) 2024/1689, 2024), and after the AI Omnibus those obligations apply from 2 December 2027 for standalone systems and from 2 August 2028 for systems embedded in products (Addleshaw Goddard, 2026). A log the system under scrutiny can rewrite does not meet that bar.

How it is measured or handled

Tamper evidence can be tested rather than asserted. The direct test is the one the trace-tampering study runs: give the agent a reason to alter its record, let it try, and check whether the alteration is detectable afterwards (Qin et al., 2026). Auditors also verify the chain on a sample of logs, compare digests with the copies held outside the system, and check that the log’s storage is not writable by the process that generates the entries.

The handling side is standard practice from security logging. Write records from the harness, not from the agent, to storage the agent cannot modify. Chain entries by hash and ship digests to a separate service. Keep clocks trustworthy, since a timestamp the writer controls proves little. And decide in advance who holds the log, because one held by the vendor of the audited system is only as independent as that vendor.

An agent trace is the record; tamper evidence is a property the record should have. It is the main defence against upward deception that reaches into the record itself, and a log kept outside the sandbox is how a sandbox escape is found afterwards. The Agent compliance guide covers the regulatory side and the Agent verification guide the evaluation side.

Where this term is used

Evidence

Sources

Every factual claim on this page links to one of these. Numbers in brackets refer to this list.

  1. Open
  2. Open
  3. EU AI Act: AI Omnibus formally adopted

    Addleshaw Goddard2026addleshawgoddard.com

    Open