Skip to Content
PoC BatteryP10 — Weight-Binding Chain

P10 — End-to-End Weight-to-Chip Binding Chain (single host)

Status green · Claim PC3+PC4 (composed) · Corpus anchor maturity M15 + conflict C2; L4 “key sealing is the primitive weight-to-chip binding is built on” (PC3/PC4) · Effort M · Execution host VM (swTPM)

What it proves

PC3 + PC4 contested row (conflict ledger C2) — that a weight-to-chip binding chain can exist today on shipped primitives: weights sealed under a PCR policy, attested at boot, and released only to a machine whose measurement matches. This is the disputed middle column: L4 files it “needs maturity”, L6/L7 “concept only”. A working end-to-end chain on one host moves evidence to the “needs maturity” side by showing the integration has no missing primitive — the gap is packaging, not invention. This runbook splits the contested claim into its testable part: single-node binding works; multi-node aggregation stays out (see P13).

Why it matters

C2’s dispute is about the composed product, not the parts: each primitive being proven separately does not settle it, because the chain is the contested artifact. The corpus builds weight-to-chip binding on exactly this claim — L4 states that “key sealing is the primitive weight-to-chip binding is built on” (PC3/PC4) — so a chain that runs end-to-end on one host is the evidence that decides which side of the ledger the claim lands on.

Why this, not that

We do (Y)We don’t (X)Because
Chain P02 (seal) + P07 (ledger receipt) + selection of P08 (release policy) into one linear flowKeep the three runbooks separateC2’s dispute is about the composed product; each primitive being proven separately does not settle it. The chain is the contested artifact.
Run in one Docker container with swtpm 0.10Buy/rent attestation hardwareThe claim under test is: “any user can run all primitives today.” swTPM (same libtpms as TPM2 CI) proves it without SKU

What you need

  • swtpm 0.10.x (see P07 — required for tpm2_createak under EK policy) inside Docker with --seccomp action=none (see P07 README).
  • tpm2-tools (Ubuntu 24.04 5.6 / Debian sid 5.7), Python 3.9+.

How to run it

  1. bash scripts/00-start-swtpm.sh — start the software TPM the chain runs against.
  2. python3 scripts/weight_chain.py — happy path: seal -> unseal on attested boot.
  3. python3 scripts/weight_chain.py --tamper — negative: PCR drift -> release refused.

What “done” looks like

python3 scripts/weight_chain.py # MUST print: # POC-P10-OK-BINDING-CHAIN: weights versioned per boot digest; released under attested boot python3 scripts/weight_chain.py --tamper # MUST print: # POC-P10-NEGATIVE: weights refused while PCR16 quote drifted

Where the evidence goes

  • evidence/chain_ok.log — full output with blob + PCR quote.
  • evidence/chain_tamper.log — mismatch run (this line is the load-bearing negative).

What this does not prove

  • This is a single-host chain; the “aggregator” step that FlexHEG’s L6 needs remains unproven — P13 attacks that exact gap.
  • The compute fee is not real FLOPs (mocks size(weights)); the receipt is real, the workload is the counter.
  • PCR16 as authored by swtpm is a dev state — a real host measures actual boot components (the runbook notes the difference).
Last updated on
Superdefence II — defensive security research.