Skip to Content
PoC BatteryP13 — Honest-Aggregator Probe

P13 — Dishonest-Aggregator Probe (FlexHEG L6 aggregation, falsification attempt)

Status green · Claim PC11 negative · Corpus anchor FlexHEG L6 aggregation (C1-negative / L6 concept-only bracket) · Effort S · Execution host external: omarchy

What it proves

The corpus holds that FlexHEG’s networked receipt aggregation (many attested GPUs, one coordinator) is concept-only, unproven. This PoC tries to disprove that: it builds the smallest honest aggregator (receipts from two independent attested nodes, a coordinator that merges them) and then attacks it with a dishonest coordinator variant that drops or shuffles one GPU’s receipt.

Concretely: when the gate prints, you will have shown the verifier accepts the honest bundle and also accepts the tampered bundle. If the verifier cannot distinguish honest from dishonest aggregation — the attack succeeds, supporting the “concept-only” verdict with a concrete counterexample: an emptied-but- signature-valid bundle passes, no extra primitives required.

Why it matters

The disputed step at L6 is the combining of receipts, not the per-node signing: P08 already proves node attestation against a single authority, so the merge and ordering is the attack surface the thesis leans on. If the aggregated-bundle check passes for an emptied bundle, the abstraction is broken — which is exactly what the “concept-only” verdict claims. If the tampered bundle fails instead, the corpus’s verdict must flip.

Why this, not that

We do (Y)We don’t (X)Because
Two honest nodes + honest coordinator vs. one “dishonest” variant (drops/shuffles a GPU’s receipt)Rebuild Keylime mult-node P08P08 proves node attestation against a single authority; L6’s disputed step is the combining of receipts — the attack surface is the merge/ordering, not the per-node signing
Verifier checks only the signatures of the aggregated bundle, as FlexHEG’s verifier wouldVerify each raw receipt separately outside the protocolThat check defines the protocol; if it passes for an emptied bundle, the abstraction is broken

What you need

  • Python 3.9+ only. No TPM needed for the aggregation attack; node receipts are simulated with deterministic ed25519 keys so the test is runnable anywhere.

How to run it

  1. python3 scripts/dishonest_aggregator.py — shows the verifier accepts the honest bundle.
  2. python3 scripts/dishonest_aggregator.py --attack — shows the verifier ALSO accepts the tampered bundle.

What “done” looks like

# POC-P13-OK-ATTESTED-AGGREGATION (honest) # POC-P13-FALSIFICATION-SUCCESSFUL: verifier accepted tampered aggregate

If the tampered bundle fails to verify, the P runbook’s own claim must flip — it supports the opposite of the corpus (aggregation is secure) — documented as the result either way.

Where the evidence goes

  • honest_bundle.log, attack_bundle.log — gate both lines; the second is the load-bearing falsification.

What this does not prove

  • The fabricated signature is a simulation (ed25519 locally created); the point is the protocol hole: the verifier cannot distinguish which sub-receipts came from real TPMs without speaking to each node separately.
  • The scientific framing: this is a dishonest co-ordinator counterexample, not a physical attack against a real TPM.
Last updated on
Superdefence II — defensive security research.