Skip to content

About

a template for building agentic services that run inside secure environments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

attested-workload

a workload inside the tee, served over attested tls.

run an http service inside a cloud tee, prove what code is running with a hardware quote, and serve it over attested tls — the certificate spki is bound into the quote. one engine for aws nitro, amd sev-snp, and intel tdx. a co-located app on loopback can share the same attested channel (app-proxy).

commands

command role
aw build attested build inside a tee (stage 0)
aw run attested runtime with attested tls (stage 1)
aw check <url> verify a live endpoint (quote + spki channel binding)
aw check --json <url> machine-readable verification (+ tls_spki_hash)
aw enclave nitro: build + serve in one enclave process
aw proxy --cid N nitro parent: tcp:443 → vsock (tls terminates in the enclave)

three checks

  1. platform measurement matches (pcr0 / snp measurement / tdx mrtd).
  2. value x matches (sha384 over the workload source tree).
  3. tls spki is bound into the hardware quote (sha256(cert_spki) == eat.tls_spki_hash).

quick start

git clone https://github.com/maceip/attested-workload
cd attested-workload && cargo build --release && cargo test
./target/release/aw check --json https://<host>/

platform status

platform model notes
aws nitro isolated enclave + vsock live validated
amd sev-snp confidential vm whole-vm tls
intel tdx confidential vm whole-vm tls

the stack

the receipts this runtime emits are in the unified-quote eat format. it depends on the canonical unified-quote crate directly (not a copy), and tests/cross_verify.rs checks that its own testdata receipts verify under that base-layer verifier — tdx (build→runtime chain) and aws nitro pass offline; snp needs a live amd kds fetch (--ignored).

live mesh

the attested-TLS pattern this runtime implements — bind sha256(cert_spki || X) into the hardware quote so the channel itself is attested, no ca required — is live across the stack's cloud-rooted nodes (re-verifiable with no tee of your own): aws sev-snp, aws nitro, and azure sev-snp. the azure node runs the layer above (attestation-service) over attested-TLS at https://attest.secure.build:8443/ and closes a source → silicon loop — the binary is built in-tee by a self-hosted runner and its digest is bound as value_x into the amd-rooted vTPM ak quote, so github build provenance and the silicon agree on one value. status + remote re-verification commands: https://maceip.github.io/unified-quote/live.html

pages: https://maceip.github.io/attested-workload/

agentic canon

agentic canon

no proof, no privilege.

  1. make behavior enforceable. replace conventions with hardware quotes, attested gates, and runtime checks.
  2. turn failures into evolution. each failed verification hardens the shared verifier, not just one deployment.
  3. compose through proofs. every layer declares what it accepts, returns, and can prove.
  4. carry trust forward. a proof from one stage becomes the ground the next stands on.

About

a template for building agentic services that run inside secure environments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages