Guides · ← All guides · Published November 14, 2026 · Reviewed November 14, 2026 · Ingenious AI team · 7 min read
Hash-Chained Evidence: Why Eval Containment Records Need a Chain
An evidence record you can quietly edit is a diary. The chain is what turns a series of packs into a record a reviewer can lean on.
The short answer: each EvalEgress evidence pack links to the previous pack for the same owner and repo label: its pack hash is the SHA-256 of the previous pack's hash plus its own canonical body, and containment-log entries inside the pack are chained the same way. Editing, deleting or reordering a pack in the series breaks the chain visibly — that is all the chain proves, and it is exactly what evidence needs: the series was not edited in place. It does not prove the setup is safe, and every pack says so. Packs are built from saved scans on the Team plan; the underlying findings start with the free scan.
What is a hash chain?
A hash chain is a sequence of records in which each record's integrity hash is computed over the previous record's hash together with its own contents. Any alteration to an earlier record changes every subsequent hash, making tampering with the sequence detectable from the sequence itself. EvalEgress chains evidence packs per owner + repo label, and chains containment-log entries within each pack identically.
What problem does chaining solve for eval evidence?
The audience problem. A containment pack is written to be shown — to an AISI reviewer, a regulator, a customer's diligence team — weeks or months after the eval it describes. A lone document shown later invites the unanswerable question: is this what it said on the day? The chain answers by construction. Each pack carries the hash of its predecessor inside its own hash; a series presented together verifies itself, link by link, without trusting the presenter's storage. Change one word in pack two and packs two, three and four all fail verification — loudly, arithmetically, in front of the reviewer.
The log inside the pack gets the same treatment because it is the part most tempted by hindsight: the run-time record of operator-declared containment events. An entry edited after an incident — a kill test's time softened, an event reworded — rewrites its link, and every following entry's hash with it. Chaining removes the quiet edit from the menu of responses to an awkward record, which is precisely when such records earn their keep. Evidence that cannot survive embarrassment is not evidence; it is marketing with a timestamp.
What does the chain not prove?
That the contents are true, or that the setup is safe. A chain proves sequence and integrity — this pack followed that pack, unaltered since its hash was computed. The truth of the contents rests on the pack's own epistemics, which are deliberately narrower: findings copied verbatim from a real scan's stored report, marker signals from the same declared content, operator declarations labelled as declarations. The hash guarantees the reviewer is reading the pack the team actually built; the pack only ever claims to be containment evidence from declared surfaces, never proof of safety — its scope note states it, and the chain does not upgrade the claim by one degree.
It also does not prove completeness against packs never built. A team that simply does not build a pack for a bad quarter has not broken a chain — it has a gap in time, which reviewers are entitled to ask about and which the chain makes visible as a gap rather than deniable as a loss. Pair the chain with the cadence habit — a pack on every material setup change — and the series becomes what it is meant to be: the eval programme's containment diary, kept honest by arithmetic.
How do reviewers verify a chain in practice?
Mechanically: recompute. For each pack in order, hash the previous pack's hash with the canonical body and compare against the stated pack hash; the containment log verifies entry by entry the same way. EvalEgress exports packs as JSON precisely so this is a script, not a ceremony — a reviewer's tooling can walk a year's packs in seconds and report the first link that fails, if any. No trust in EvalEgress's servers is required for the integrity check, because the mathematics travels with the documents.
That portability is the point of building packs from the scan's stored report rather than from live state: the artefact is self-contained evidence. Operator free text entering a pack passes through the scanner's secret scrubber first, so the chain never seals a secret into a shared record — an export that leaked a credential in the name of integrity would be a poor trade, and the design refuses it explicitly.
Worked example: Beaconfield AI Assurance, scored end to end
Example. Beaconfield, a fictional assurance firm, keeps a pack series for a client's support-agent eval, one pack per material change, under a single repo label. The fourth pack in the series was built from a scan that returned:
| Finding | Class | Severity | Weight |
|---|---|---|---|
| Service-wide IAM wildcard ("s3:*") newly present in the eval policy | wildcard_iam_service | HIGH | 15 |
| JWT token pasted into the eval environment file | jwt_token | MEDIUM | 8 |
| Debug route string declared in the viewer config | debug_route | LOW | 3 |
The arithmetic: 15 + 8 + 3 = 26 points of exposure, so the score is 100 − 26 = 74/100, grade C. Scoring uses EvalEgress's published weights — CRITICAL 25, HIGH 15, MEDIUM 8, LOW 3 — with grades at A ≥ 90, B ≥ 75, C ≥ 50 and D ≥ 25.
Because the series is chained, pack four's account of a regression — a service wildcard that had crept back via a copied policy — sits permanently between the clean packs three and five, hashed in on both sides. When the client later asked whether the regression had 'really been that brief', the firm did not argue: it verified the chain in the meeting, recomputed five hashes, and showed pack five's clean scan following pack four's findings with dates the arithmetic vouched for. The regression stayed in the record. So did its closure — which is why the client trusted the closure.
Keep a chain worth verifying: the five actions
Cadence, labels, and no quiet edits:
- Build a pack on every material change, under a stable repo label. The chain links packs per owner + repo label; a wandering label forks the record and forfeits the sequence.
- Never edit a built pack — supersede it. A correction is a new pack in the chain, stating the correction; the chain's value is that history is append-only.
- Keep the containment log contemporaneous. Log operator-declared events as they happen; entries backfilled later are labelled by their own timestamps, and the chain seals them as they were written.
- Export the whole series to reviewers, not a chosen pack. A single pack proves little; the series — regressions included — is the evidence, and its chain verifies as a series.
- Verify your own chain periodically. Recompute the hashes on a schedule, so a storage fault is discovered by you rather than debuted in front of a regulator.
Integrity is a modest claim with immodest value: it lets every other claim in the pack be argued on its merits. The pack the chain protects is described in the evidence-pack guide.
Keep checking the boundary
Run the free exposure scan on the files your next eval will run with. Compare plans, read the scoring documentation, and keep reading: what is eval-to-production exposure?, what is egress in AI evaluation?, pre-deployment eval safety checklist, how to stop an AI evaluation from reaching production secrets, DNS egress from eval agents, side-service pivots in eval environments, shared-cache channels and eval containment. EvalEgress is one of the Ingenious AI platforms.
Sources
- EvalEgress scoring documentation — the 16 finding classes, severity weights and declared-surface scope every judgement in this guide applies, published 2026.
- What Is Eval-to-Production Exposure? — the companion guide this page builds on, published November 7, 2026.
- NIST FIPS 180-4 — Secure Hash Standard — the standard (2015) defining SHA-256, the hash the evidence chain is built from.
Frequently asked questions
Does the hash chain prove our containment claims are true?
No. It proves the packs were not edited in place and stand in the order claimed. Truth rests on the pack's inputs — a real scan's verbatim findings, declared-content signals, labelled operator declarations — and the scope note limits the claim to evidence, never proof of safety.
What happens if a pack file is lost?
The chain shows the gap: the next pack references a predecessor hash the series cannot produce. Loss is visible as loss — which is the design's point — and the surviving packs still verify among themselves.
Why chain per repo label?
Because containment is claimed per setup. A label identifies the eval whose history this is; chaining across different evals would prove a sequence nobody is claiming.
Are the log entries inside a pack chained too?
Yes — containment-log entries are hash-chained the same way within the pack, so the run-time record gets the same tamper-evidence as the pack series itself.
Can a secret end up sealed inside a chained pack?
Operator free text passes through the scanner's secret scrubber before it can enter a pack, and findings carry redacted values only. The chain seals redacted evidence — by design, there is nothing in it worth stealing.