|
Download README.md from decisionmodels/tee-attestation-prototype: direct link, hf CLI and curl.
- Browser
- Download file 4.01 kB
-
https://huggingface.co/datasets/decisionmodels/tee-attestation-prototype/resolve/main/README.md
- Command line
-
hf download hf://datasets/decisionmodels/tee-attestation-prototype/README.md
-
curl -L -o README.md https://huggingface.co/datasets/decisionmodels/tee-attestation-prototype/resolve/main/README.md
4.01 kB
| license: apache-2.0 | |
| pretty_name: Decision Models TEE inference prototype - attestation report | |
| # Decision Models: confidential-computing (TEE) inference prototype | |
| **Status: prototype, 22 November 2026. Not a production endpoint.** decisionmodels.io's production EU tier does not run in a TEE yet. | |
| On 22 Nov 2026 we ran an OpenAI-compatible vLLM endpoint inside a confidential VM in Finland (Verda/DataCrunch, `1RTXPRO6000.30V.CC`, location FIN-03): | |
| - **CPU TEE:** AMD SEV-SNP guest (AMD EPYC Turin), guest policy `0x30000` (debug disabled). | |
| - **GPU TEE:** NVIDIA RTX PRO 6000 Blackwell Server Edition in Confidential Computing mode (driver 595.91.07, VBIOS 98.02.AF.00.01). | |
| - **Model:** `PixilabAI/Blink-v0.3-26B-A4B-NVFP4` (Apache-2.0). This is the base of our `s1-fast-2` model, served with vLLM 0.34.0. | |
| ## What the attestation binds | |
| The endpoint generated its TLS key **inside** the confidential VM. Two values derived from that key go into hardware-signed reports: | |
| | Report | Field | Value | Signed by | | |
| |---|---|---|---| | |
| | AMD SEV-SNP attestation report | `report_data` | SHA-512(DER SubjectPublicKeyInfo of the TLS certificate) | VCEK, which chains to AMD's ARK/ASK | | |
| | NVIDIA GPU attestation (NRAS token) | `eat_nonce` | SHA-256(the same SPKI) | NVIDIA Remote Attestation Service (ES384, NVIDIA JWKS) | | |
| A live endpoint also served `/attestation/fresh?nonce=<64 hex>`. It returned a new SNP report with `report_data = SHA-512(SPKI || nonce)`, which proves the report is fresh. | |
| SNP launch measurement: `f82b4053cda345dbedc882278486c1ccbd5198b705832869151d521399516b31f70b7782c0b99eb7c91e279751a939e5` | |
| ## Verify it yourself | |
| ```bash | |
| pip install cryptography pyjwt | |
| python3 verify_tee.py attestation-bundle-20261122.json # offline: signatures + bindings | |
| python3 verify_tee.py https://<live-endpoint> # live: also the TLS key and a fresh nonce | |
| ``` | |
| The verifier trusts only AMD (it fetches the ARK/ASK chain from `kdsintf.amd.com`) and NVIDIA (it fetches the NRAS JWKS). The bundle's own copies of the AMD root certificates are not used. Our verifier outputs (all checks passed) are in `verify-output-*.txt`. Changing one byte of the report makes the signature check and the binding check fail. | |
| ## What this does NOT prove yet (honest limits) | |
| - **Which software runs inside.** The prototype uses the provider's stock Ubuntu image. The SNP launch measurement covers the initial firmware, not the root filesystem. The guest had no vTPM. | |
| - **Operator exclusion.** We (the operator) still had SSH access inside the VM. The TEE protects data from the host and the cloud provider, not from us. | |
| - The production version we are working on uses a measured, read-only image with no shell access and published measurements. With that image, the attestation would also prove "this code, no logging". | |
| - The NRAS token in the bundle has expired (NVIDIA issues one-hour tokens). Its signature and claims can still be checked; a live endpoint issues a fresh token. | |
| ## Performance (same model, same vLLM, same script, run locally on each box) | |
| | | CC mode (SEV-SNP + GPU CC) | Normal RTX PRO 6000 | | |
| |---|---|---| | |
| | Short single-question decision, p50 | 27.6 ms | 27.2 ms | | |
| | Prompt throughput, ~3.5k-token prompts, 16 concurrent requests | 35,263 tok/s | 35,281 tok/s | | |
| | List price (Verda, on demand, USD/h) | 3.041 | 2.981 | | |
| Under 1 % throughput difference on this prefill-heavy, few-output-token workload. Driver versions differed (595.91.07 vs 580.178.04). Workloads that generate many output tokens may lose more; the published figures for those are roughly 1 to 27 %. | |
| ## Files | |
| - `attestation-bundle-20261122.json`: SNP report, AMD VCEK/ASK/ARK, NVIDIA GPU evidence + NRAS token, TLS certificate | |
| - `verify_tee.py`: independent verifier | |
| - `front.py`: the TLS front that served `/attestation` and proxied `/v1/*` to vLLM. It logs metadata only (method, path, status, duration), never request or response bodies. | |
| Contact: info@decisionmodels.io · https://decisionmodels.io/security | |