All adversarial demonstrations

Ledger edits are detected

Changed rows and broken chains fail verification; latest-head freshness remains outside the check.

Setup

The test verifies a locally signed ledger sequence and then changes row contents, signatures, order, or chain references. It also checks the verifier’s explicit treatment of latest-head freshness.

Observed result

The original signed chain verifies. Tampered rows and broken linkage fail verification. The verifier reports latestHeadVerified: false because a valid partial chain cannot show that the server returned its newest state. The runnable case is TestVerifyLedgerRows in the Go SDK ledger tests (opens in a new tab).

These checks use a generated test signing key and local SQLite state. Independent checkpoints and separate ledger operators require additional evaluation.

SDK example: Run the ledger-chain-tampering case in the SDK source tree (opens in a new tab).

Run the tests and inspect your own logs (opens in a new tab) · View all reports