OpenChainGraph · Explainer

Inverted Database Forgeries Explainer

Four ways to forge a row in the inverted database, and the layer that catches each one. Every hash on this page is a real value from the published estate, and your tab recomputes it while you read.

Presenter mode shows one step per screen. Arrow keys move, A toggles autoplay, Esc exits.
1
Step 1

From demo hashes to the estate’s own

The original inverted-database page computed real SHA-256 digests, but over demo values it chose itself, and its footer says so: those hashes differ from the kernels’ canonical execution hash. This page closes that gap. Every hash here is one the estate itself published, and your tab re-derives each one from the published inputs before you finish reading.

the original page computed real SHA-256 over demo values. this page uses the estate's own hashes. original page demo preimage, page-local what its footer said differ from the kernels' canonical hash this page execution_hash, canonical kanon form JCS of parameters and output same tool, same SHA-256. only the input bytes change: the canonical bytes the kernels sign.

Nothing about the inversion changes. What changes is the evidence: the bytes hashed here are the canonical bytes the kernels, the registry and the log already commit to.

2
Step 2

Two lanes of real published nodes

Lane one is a chain: a loan payment schedule feeds a disclosure checklist, and an audit-trail aggregator folds the results into a session receipt root. Lane two is the AP2 mandate validator on its own. The inputs are each kernel’s published fixture vector, synthetic by construction. The hashes are the canonical ones the estate computed when it published these nodes.

two lanes of real published nodes. every hash below is recomputed in this tab. loan disclosure check 8838c04b…759eb7 disclosure element checklist 69de0e28…c145e4 session receipt root 87856b80…e2bc86 AP2 mandate validator effeb3f1…af54b7 recomputed in this tab, just now … · … · … inputs are the synthetic fixture vectors the estate publishes with each kernel. the hashes are the canonical ones.

The gold value on the right is the session receipt root: the join operation of the table below, computed over the three execution hashes. Your tab recomputes all four values, and the check table later on this page shows the comparison.

3
Step 3

The same four operations and their proofs

The original page contrasted a usual database with this inverted one. This page adds the third column the original left as a promise: for each of the four operations, the concrete published artifact that proves it happened and has not changed.

the same four operations a database does, and what proves each one here insert a kernel run the canonical execution hash index lookup the kernel digest in the registry presence in the published tree join step outputs feed the next kernel the session receipt root commit the receipt bundle inclusion in the public log four layers, four proofs. the next four steps attack each one in turn.

Insert is proven by the canonical execution hash. Lookup by presence in the registry tree. Join by the session receipt root. Commit by inclusion in the public log. Each of the next four steps forges one of these and shows the layer that catches it.

4
Step 4

One edited digit and its new hash

The first forgery does not break anything: it takes a real kernel, a real fixture vector, changes one digit of one input field, and reruns the computation correctly. The result is a well-formed receipt for a computation nobody asked for. Nothing errors. The only evidence is the hash.

forgery 1: change one input digit and rerun the same kernel loan_amount: 6000 → 6001 (one digit, everything else identical) expected (golden) 8838c04be72fcff8b6d4d426d20f961d4a3fddafb50de45aa8729cac02759eb7 the rerun returns 149507ded79ddf69476b75f4a03eb382e56d8f05f3d813d272712170720d7c4a caught at the execution-hash layer the rerun's hash matches nothing in the ledger. recomputed in this tab below.

The forged rerun's hash appears nowhere in the ledger: it matches neither the fixture's golden hash nor any published value. This is the layer the kernels themselves defend.

5
Step 5

Swap the code, not the inputs

The second forgery edits the kernel source itself. A kernel’s registry digest is the SHA-256 of its source file, so a one-line edit produces a different digest, and that digest was never published. The registry can prove the absence, not just fail to find it.

forgery 2: edit the kernel itself. its digest is the sha256 of the kernel source, so one edit changes it. published kernel digest 75fd46391316b49459fd5cfc046cdfc162076a32e0f76268ed539ffb43e3bd6e forged kernel digest f01c4a4c7780d2fa6626451bf58833d331addf24b3cf21b384b434737ef936f4 the real digest is in the tree present in 687 keys under root fb7585a0…77d002 the forged digest is absent a real ics23 non-existence proof proves it caught at the registry layer the estate's own generator refuses to claim absence of a digest that IS present

The forged digest sorts strictly between two neighbouring published keys, and each neighbour carries an audit path to the committed root: a real ics23 non-existence proof under ainumbers-simple-v1, generated by the estate's own builder. For the real digest the same builder refuses: absence of a present key is not constructible. The proof of a negative in depth is the companion page linked in the sources.

6
Step 6

Quietly edit the archive

The third forgery leaves the computation alone and edits the stored receipt afterwards: one character inside the journal a bundle publishes, with the digest label left as it was. A reader who trusts the label never notices.

forgery 3: edit the stored journal inside a receipt bundle and keep the digest label as it was published journal digest sha256:22bdd51906994c7522e258b2418f510901064a5272eccbc43856cbc4615b47db recompute after the edit sha256:2e085cd369a3688431b8ad97ef4695e5630796ad1b83547504837be2c3ee1860 the journal digest is sha256 over the canonical JSON form of the journal, exactly as published the receipt bundle carries that digest so any later edit is detectable by recomputation alone caught at the receipt layer the recomputed digest no longer matches the label. recomputed in this tab below.

The bundle’s digest exists precisely so the label cannot be trusted: the journal’s canonical bytes hash to the label, and one changed character moves the hash. Your tab recomputes both.

7
Step 7

Rewrite the past

The fourth forgery replaces the recorded history: a rewritten tree head that claims the estate always said what the forger wants. Against a plain log this is undetectable, because there is nothing to compare the rewrite with.

forgery 4: rewrite the history. swap the signed tree head and hope nobody walks the path. signed tree head (real) e265de2971b04ace831545463c1bf5aa564073dde924b2ea61753c766ce96977 rewritten head (forged) 978a44c60534a8020cb2b9b821843ab044079f7a539524b1cb2bd25cc8c084c0 the bundle carries an inclusion proof: leaf index 77056, a path of 5 sibling hashes walked bottom-up they must rebuild exactly the signed root. this walk runs in this tab. real path + real head: rebuilds verified against the public log's root real path + forged head: fails the walk lands somewhere else entirely and the signed head lives in the transparency log outside this estate. rewriting a local copy changes nothing there.

The bundle's inclusion proof is the comparison. The path of 5 sibling hashes, walked bottom-up from the bundle's leaf at index 77056, rebuilds exactly one root: the signed one. It cannot be made to reach any other head, and the signed head is anchored in a transparency log outside this estate.

8
Step 8

The commit layer above all four

All three receipt bundles cite the same anchored hash: the registry lineage checkpoint. One entry in the public log, cosigned by thirteen witnesses under a two-of-three quorum policy, commits every published bundle at once. Forging one bundle means fighting that anchor; forging all of them means rewriting a public log that the estate does not control.

every published receipt bundle shares one anchor, so one log entry commits all of them receipt bundle lane 1 b4d1c3c4…8d8be8 receipt bundle lane 2 22bdd519…5b47db receipt bundle lane 3 3e6136d7…4b95de one anchored hash, c30153e3…a6dfaf the registry lineage checkpoint all three bundles cite inclusion at leaf index 77056, tree size 77057, root e265de29…e96977, 13 witness cosignatures trust policy sigsum-generic-2025-1: 2 logs, 3 witnesses, quorum 2-of-3

This is why the four layers stack. A forger must defeat the execution hash, the registry tree, the journal digest and the public anchor, and each layer’s evidence is checkable without trusting the estate’s word for any of it.

✓
Recomputed live, in this tab

Your tab just checked every hash on this page

The numbers below were not written into this page as text. The page took the published inputs, canonicalized them the way the kernels do, and hashed them with the same SHA-256, right now, in your browser.

Execution hash, lane 1…
Execution hash, lane 2…
Execution hash, AP2 lane…
Forged rerun hash (step 4)……
Journal digest, lane 1…
Journal digest, lane 2…
Journal digest, AP2 lane…
Tampered journal digest (step 6)…
Session receipt root…
Sigsum inclusion walk…
Same path, rewritten head…
Absence bracket (step 5)…

…

The canonical form is produced by the estate's inline canonicalizer block, the same bytes the kernels hash. A plain stringifier would sort nothing and would produce a different, non-canonical digest. Signature checks stay with an outside verifier, as labelled in the sources section.

§
Snapshot and sources

The snapshot this page pins

One consistent snapshot of the published estate, re-measured 2026-11-02. If a kernel, fixture, receipt bundle or the registry changes, the constants in this page stop matching and the page should be regenerated rather than trusted.

Execution hashes8838c04be72fcff8b6d4d426d20f961d4a3fddafb50de45aa8729cac02759eb7 · 69de0e28ad1078cf06a4243fe98e8af60940fb14c07e3974713a0e3301c145e4 · effeb3f1b34144404a0a97690595dfcbac32611eef034e0c7c091cb08eaf54b7
Session receipt rootsha256:87856b800a001825617eb963591f21d721335bc7cdfe96e6d17934968ce2bc86
Kernel digestsc43a019193d999e9f93930a4bf793f51192c11245151211f1c26f038629caef9 · 75fd46391316b49459fd5cfc046cdfc162076a32e0f76268ed539ffb43e3bd6e · 623495f9378cb65cb88c889831f43c2c82c8844af29dfaa32e3a5d1e6cfa5337
Absence treeroot fb7585a086d5e33dd0b8be2cd3d3e5ac083250401b36a92485905b24b877d002, 687 keys (ainumbers-simple-v1)
Sigsum anchorleaf index 77056, tree size 77057, root e265de2971b04ace831545463c1bf5aa564073dde924b2ea61753c766ce96977, 13 witnesses
Measured2026-11-02

Where the machinery comes from, as pull request links:

Related pages: the original inverted-database walkthrough, which executed nodes carry proofs, and all explainers. The companion page on proving a tool was never published is linked from the hub.

Inputs on this page are the synthetic fixture vectors published with each kernel; no real person's data appears. The page makes no network requests: its content security policy forbids them, and the evidence it shows is static files already published in the estate. Ed25519 leaf signatures and the thirteen witness cosignatures are not checked in this tab; verifying them is the job of an outside verifier such as the estate's receipt bundle verifier and the public log's own tooling.

Network activity from this device

0 bytes sent or received by this page. Every hash, bundle, proof and anchor on this page is a static constant measured from files the estate has already published. The content security policy forbids the page from making any request at all.

This page has no inputs and sends nothing anywhere. The network meter below reads zero bytes because every piece of evidence it shows is a static file already published; the page recomputes hashes over those bytes locally, in this tab.