Skip to Content
PoC BatteryP14 — TEE Attestation

P14 — TEE Attestation Attempt (supports the “deployed vs promise” split, C1)

Status yellow · Claim PC12 · Corpus anchor C1 conflict-row (“deployed vs promise” split) · Effort M · Execution host cloud TEE (SEV-SNP/TDX)

What it proves

Realistic remote attestation must answer two questions: (1) is this a real TEE? (identity), (2) is its measurement the one required? (state). This PoC runs, against the operator’s own SVM (AMD SEV-SNP) or TDX-capable cloud VM, the standard attestation flow, then compares its measurement to the desired baseline. That supports the corpus’s C1 “deployed as hardware, not as a kept security promise”: the claim “TEE caught the change” has a countable, falsifiable endpoint.

Due to cost/OCI complexity, the default is a capability probe + dry-plan that (i) discovers whether the instance is a SEV-SNP/TDX VM, and (ii) prints the exact open-source command sequence to get a real attestation report on the vendor’s documented path (AMD sev-tool or Intel tdx-tool), so the operator can run it on their own AMD/Intel cloud box (the repo never does it for them).

The yellow status is a recorded skip: on a machine with no SEV-SNP/TDX platform the probe prints its skip token, and that skip is the honest result.

Why it matters

The corpus’s C1 conflict-row leans on attestation being a live, checkable gate rather than a vendor banner. If the flow cannot answer identity and state on real hardware, the “deployed vs promise” split loses its falsifiable endpoint. A probe that any operator can run keeps the claim grounded without forcing a vendor purchase.

Why this, not that

We do (Y)We don’t (X)Because
Probe + full attested run on the operator’s VM if presentRequire buying AMD/Intel cloud nowRunbooks must be runnable without a fixed vendor; probe first, mandate the report only if the chip is present
The attestation output is compared against a baseline measurement (the only honest verdict)“attested = passed”The verdict is a measurement, not a vendor banner

What you need

  • A POSIX shell and bash; nothing else for the probe. A SEV-SNP or TDX-capable cloud VM only if you want the full attested run.

How to run it

  1. bash scripts/probe_tee.sh — detects SEV-SNP / TDX / none.
  2. No tee_attestation.sh exists yet — if the probe finds a TEE, run the vendor’s own AMD sev-tool / Intel tdx-tool attestation flow by hand and record the output under evidence/ (see “What \“done\” looks like” below).

What “done” looks like

bash scripts/probe_tee.sh # MUST print one of: # POC-P14-OK-SEV-SNP-DETECTED | POC-P14-OK-TDX-DETECTED | POC-P14-SKIPPED-NO-TEE

If a TEE is present, the attestation script on a real VM must print an attestation report digest that matches the expected boot measurement (a negative result — a mismatched measurement — is also a result: it proves the attestion is a live gate that can fail).

Where the evidence goes

  • probe.txt, and if run on TEE hardware: attestation_report.txt + the comparison.

What this does not prove

  • A TEE report proves identity + measurement; it does NOT prove the VM’s workload is actually the weight-pipeline either (software inside may differ) — that is the C1 “promise” boundary and this runbook states it.
  • The repo offers no attack code; the probe reads cpuid//dev only.

Current evidence status (2026-09-28): The existing probe.txt was run on the primary Mac Studio (macOS ARM64, darwin) and must be re-run on a valid cloud TEE VM or skipped with the skip token recorded on a suitable probe host (e.g. omarchy or a cloud Linux instance).

Last updated on
Superdefence II — defensive security research.