verifiable eat receipts for arbitrary source.
submit a source tarball; an ephemeral intel tdx vm shadow-builds it inside the tee and returns a signed eat receipt that binds the build output to a hardware quote. the build host is not trusted — only the cpu vendor root is.
it is also the demo surface for the lower layers: it issues stage0 (build) and
stage1 (runtime) eat receipts that chain, and it cryptographically verifies real
aws nitro / amd sev-snp / intel tdx quotes against pinned vendor roots — the same
check uq runs. the eat format and verifier are a direct cargo dependency on
unified-quote (not vendored), so this
service verifies with exactly the same code the base layer ships — including the
azure path, where a sev-snp report is read from the vTPM and rooted to the amd
ark (no MAA). the base layer runs three live, remotely re-verifiable nodes today
(aws sev-snp, aws nitro, azure sev-snp): https://maceip.github.io/unified-quote/live.html
cargo build --release --bin attestation-service
./target/release/attestation-service # listens on 127.0.0.1:8080POST /v1/attest— submit a source tarball (--data-binary @app.tar.gz, or multipart[email protected]); get a stage0 receipt. chain a runtime onto a build by passing the previous eat: headerx-previous-eat: <base64 cbor>.POST /v1/verify— verify an eat (raw cbor or base64) and its full build→runtime chain against the pinned vendor roots.GET /v1/receipt/{id}·GET /healthz.
./scripts/demo.shstarts the service verify-only, shows that issuance is refused without a hardware quote source (the service never emits a software-witness receipt), then cryptographically verifies the bundled real tdx (stage0→stage1 chain) and aws nitro quotes against pinned vendor roots — entirely offline.
this repo is built inside an azure sev-snp confidential vm by a self-hosted
github runner (.github/workflows/attest-in-tee.yml),
so the build host itself is hardware-attested — not merely trusted because it is
managed. the workflow:
- builds
attestation-servicein the tee → artifact digestD = sha256(bin); - emits github build provenance (sigstore) attesting
Dwas built from this commit by this workflow; - binds the same
Dasvalue_xinto the cvm's amd-rooted vTPM ak quote and serves it over attested-TLS athttps://attest.secure.build:8443/(the leaf cert itself carries the snp→amd bundle, with the cert key bound into the quote); the artifact + offline bundle are published to theazure-tee-buildrelease.
two independent roots — sigstore supply-chain and amd hardware — meet at one
value_x. one command checks both and asserts they agree:
./scripts/verify-source-to-silicon.sh
# [1/4] azure sev-snp → amd root · value_x_bound true
# [2/4] download release artifact
# [3/4] gh attestation verify · provenance from maceip/attestation-service (self-hosted, in-tee)
# [4/4] D == value_x · PASS: source → siliconthe service binds 127.0.0.1:8080 and serves /v1/* + /healthz, so it drops
straight into attested-workload's
loopback app-proxy — its own responses are then served over attested tls. set
AS_QUOTE_SOURCE="<platform>:<command>" (nitro|sev-snp|tdx) to issue
hardware-rooted receipts. with no quote source the service runs verify-only and
refuses issuance — it never falls back to software-witness receipts. see
deploy/attested-workload.md. AS_QUOTE_CMD + AS_PLATFORM is still accepted
as deprecated compatibility for older deployments; new deployments should use
AS_QUOTE_SOURCE.
- agent platform — cvm-agent
- attestation service — attestation-service (here)
- quote format — unified-quote
- in-tee runtime — attested-workload
live source→silicon: both trust roots green — sigstore provenance and azure sev-snp (amd root) agree on one value_x at https://attest.secure.build:8443/
