Technical Guide for Auditors

    How an Auditor Can Independently Verify That a Tamper-Evident LLM Log Has No Gaps

    A tamper-evident log shows that recorded entries were not altered. It does not show that every interaction was recorded. To verify completeness, an auditor tests sequence continuity, verifies the hash chain or Merkle structure, retains signed checkpoints, checks external anchoring, reconciles entry counts against records from a party independent of the operator, and reviews whether every execution path is covered by enforcement.

    Evidence to request from the AI operator

    • Documented log format, hashing method and verification instructions usable with the auditor's own tooling
    • Signed checkpoints and the public keys needed to validate them, plus any external anchoring records
    • Full log export for the audit period, with digests created and verified for any transferred files
    • Inventory of every route to models and tools, with how enforcement and recording apply to each
    • Independent volume records the operator does not control, and a statement of who controls them
    • Write and delete permissions on the log, and records of rotation, retention and deletion events

    Integrity and completeness are separate assertions

    Integrity means that an entry, once written, has not been changed or removed from the middle of the record. Completeness means that every LLM interaction and tool call that occurred has an entry. A log can satisfy the first and fail the second. NIST's design tenets for agent identity management state this directly: a tamper-evident log can be intact yet incomplete, and a record from an observer independent of the agent can close that gap.

    For an auditor, this means the two assertions need separate tests and separate evidence. Hash-chain verification is an integrity test. It cannot detect an interaction that never reached the log. NIST also notes that if logs are accessible or modifiable by the agent itself, a compromised agent could delete or change its own actions. Who holds write authority over the log is therefore part of the completeness question, not a side issue.

    The practical posture is minimal trust in the operator. The auditor should be able to run checks with their own tooling, on documented formats, against material the operator cannot quietly revise.

    Verifying the log itself: sequence, chain, checkpoints and anchoring

    Start with sequence continuity. If each writer or log stream assigns a monotonically increasing sequence number, the auditor can scan for missing, duplicated or reordered values and for timestamps that move backwards. A gap is direct evidence of omission or deletion. A clean sequence proves only that nothing was removed after a number was assigned. An event dropped before numbering leaves no trace, and multiple sources need their sequences checked separately.

    Next, verify the cryptographic structure. In a hash chain, each entry includes the hash of the previous one, so altering or removing an interior entry breaks every later link. A Merkle tree summarises many entries in a single root, and inclusion proofs let the auditor confirm that a specific entry belongs to a given root. Consistency between two roots shows that the later state extends the earlier one without rewriting it. Both approaches prove that history has not been rewritten. Neither proves that every event was submitted.

    Signed checkpoints add a commitment. Periodically, the log's latest hash or root, sequence number and time are signed and handed to the auditor. If a later log cannot reproduce a checkpoint the auditor already holds, entries were removed or rewritten. The limit is that a checkpoint is only as trustworthy as the signing key and who controls it.

    External anchoring addresses that limit. Publishing checkpoint digests to a party outside the operator's control fixes the log's state at a point in time. It makes truncating the tail or rebuilding the whole chain detectable. It still says nothing about whether events before the anchor were complete when written.

    Reconciling against independent sources and reviewing coverage

    Cryptography cannot see what was never recorded, so the auditor needs a count from somewhere else. Useful independent sources are records the operator and agent cannot edit, such as network or gateway records, model provider usage records, and tool or API server records on the receiving side. The test is simple: for a chosen period, compare the number of requests and tool calls seen by the independent source with the number of entries in the log, then investigate every difference. Samples should be selected by the auditor, not supplied by the operator, and should include peak periods and deployment changes.

    Reconciliation tests volume. A coverage review tests design. The auditor should map every route by which a prompt can reach a model or a tool: applications, agents, coding assistants, batch jobs, direct API keys and administrative access. For each route, the question is whether enforcement and recording happen in the execution path, or whether recording depends on application code that can be skipped.

    This is where architecture changes the argument. A log written by the application after the fact can only claim to hold what the application chose to send. Evidence generated by enforcement in the execution path is produced as the interaction is allowed, redacted or blocked, so coverage follows from the path itself. That is a stronger basis, but the auditor still needs to confirm that no route avoids the path, for example through credentials issued outside it.

    Common gap failure modes and how to detect them

    Each failure mode leaves a different trace. The table pairs the gap with the test most likely to expose it.

    • Dropped or buffered writes: Sequence gaps within a stream; independent-source counts higher than log counts; entries lost after restarts or failures.
    • Bypassed enforcement paths: Traffic visible at the network or provider level with no matching entry; credentials or routes not covered by the path inventory.
    • Truncated or rotated segments: Chain or Merkle consistency failures against held checkpoints; missing segment boundaries; anchored digests that cannot be reproduced.
    • Clock or sequence anomalies: Timestamps moving backwards, repeated or skipped numbers, and unexplained resets of counters.
    • Retention or deletion events: Gaps that align with retention schedules; absence of a recorded deletion event; archives that do not match earlier checkpoints.

    Criteria for judging whether a system supports independent verification

    An evidence-generating system supports independent verification when five conditions hold. Log storage and write authority are separate from the agent and its application code. Entries are append-only and carry sequence and hash linkage. Checkpoints are signed and can be anchored outside the operator. The auditor can reach the logs and data in the customer's own environment. Retention, rotation and deletion are themselves recorded as events. If any condition fails, the auditor should state the resulting limit on the completeness assertion rather than infer it.

    One implementation consideration for buyers is where evidence is produced. Trussed enforces policy in the execution path across models, agents, tools and MCP servers, with allow, redact, block, rate limit and human-approval decisions applied to individual interactions and tool calls. Audit-ready evidence is a product of that enforcement at runtime, not reviewed after the fact, which supports a coverage argument. Trussed deploys self-managed in the customer cloud with configurable retention and data residency, which supports auditor access and keeps evidence in the customer's environment.

    This does not replace the tests above. Enforcement-path evidence still needs sequence checks, independent reconciliation and a review of any route that bypasses the path. A system that makes those tests easy to run is the one worth selecting.

    Completeness verification at a glance

    Sequence

    Confirm entries form an unbroken, ordered series per source.

    Cryptography

    Verify hash chain or Merkle proofs and signed checkpoints.

    Reconciliation

    Compare log volume with records the operator does not control.

    Coverage

    Test whether any path can reach a model or tool without being recorded.

    Review how enforcement-generated evidence supports your audit procedure

    Talk to an expert about how evidence is produced in the execution path, how retention is configured, and what an auditor can verify in your own cloud.

    Talk to an Expert
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.