Live Hardware-Attested E2EE LLM Demo
Every cryptographic check on this page runs 100% locally in your browser with zero third-party CDNs:
your browser parses the raw 1,184-byte AMD EPYC Milan SEV-SNP hardware report, verifies the full X.509
certificate chain (AMD ARK → ASK → VCEK RSA-PSS-4096, validity windows, BasicConstraints,
KeyUsage, issuer DNs, and ECDSA-P384) via native WebCrypto, encrypts each prompt with a fresh
ephemeral X25519 + HKDF-SHA256 + ChaCha20-Poly1305 key, and verifies the returned quote-bound
Ed25519 llmverify-receipt-v2 and sampling rule on every single output token.
1. Silicon Attestation & Policy
Fetches /v1/tee/attestation through an untrusted TLS proxy and verifies AMD silicon roots locally.
Pinned expected measurement & model SHA-256
- ·Click Verify Quote (or wait for auto-check) to inspect the live AMD SEV-SNP hardware report.
ARK root SHA-256, ARK→ASK→VCEK 4096-bit RSASSA-PSS-SHA384 signatures, validity windows,
BasicConstraints/KeyUsage, VCEK hwID == chip_id, all 4 TCB fields,
ECDSA-P384 silicon report signature, and report_data key/model/KV bindings locally (300s TTL).
Honest limits: (1) kdsintf.amd.com omits browser CORS headers, so live CRL revocation checks require the CLI
(python -m llmverify.tee_cli verify); (2) in browser chat mode, text is encrypted E2EE and tokenized inside the enclave
(for strict client-side prompt_ids pinning, use the CLI); (3) Stream E2EE encrypts every token in sequence-bound
1,024 B AEAD chunks (hiding text & token length, while token count/timing remain observable—uncheck Stream E2EE
for a single ≥4,096 B padded blob).
2. E2EE Verifiable Chat (Qwen3-4B-Q4_K_M)
Fresh ephemeral X25519 key per message · prefix_caching=false · slot-0 KV erased after every reply.
Offline Browser Verifier: NVIDIA Hopper & Blackwell GPU SPDM Quotes + Signed RIMs
Across our 21-provider Confidential AI audit, 0 / 21 commercial stacks verify NVIDIA GPU quotes client-side in their default SDKs (or in a browser). This panel verifies real captured Blackwell GB110 / Hopper GH100 hardware SPDM 1.1 quotes and NVIDIA's official XML-DSig signed CoRIM/SWID Driver & VBIOS golden RIMs (34/34 Hopper & 19/19 Blackwell hardware registers, pinned to NVIDIA CoRIM signing Root CA) 100% locally in pure WebCrypto (ECDSA P-384 + SHA-384 + W3C C14N 1.1, zero external libs, zero xmlsec, zero NRAS oracle).
Offline Browser Verifier: Intel TDX DCAP Quotes (v4 & v5 / TDX 1.5)
Part of our 4-of-4 silicon-root offline browser verifier (AMD SEV-SNP + Intel TDX DCAP + NVIDIA Hopper/Blackwell SPDM & RIMs + AWS Nitro Enclaves). Verifies raw Intel TDX Quote v4 and v5 (TDX 1.5 with tee_tcb_svn2 & mrservicetd) 100% locally in pure WebCrypto (ECDSA P-256 + SHA-256): quote signature, SGX Quoting Enclave (QE) report binding & signature, strict RFC 5280 3-cert PCK chain pinned to official Intel SGX Root CA (44a0196b...fab674d3), ASN.1 DER Intel SGX extensions (FMSPC/PCEID/PCESVN), and fail-closed TD_ATTRIBUTES.DEBUG == 0 enforcement—zero Intel PCS, Google, or Phala oracle.
Offline Browser Verifier: AWS Nitro Enclaves (CBOR / COSE_Sign1 P-384)
Completes 4-of-4 offline hardware TEE verification in pure browser WebCrypto with zero external libraries or oracles. Decodes RFC 8949 CBOR + RFC 8152 COSE_Sign1 (ES384 / ECDSA P-384 + SHA-384), enforces strict RFC 5280 5-cert X.509 chain verification (BasicConstraints, pathLenConstraint, KeyUsage, validity window, zero unknown critical extensions) pinned to official AWS Nitro Enclaves Root-G1 (641a0321...f79bb5b), rejects AWS Nitro --debug-mode (all-zero PCR0–2) fail-closed, and verifies PCR0..PCR15 & optional nonce/PCR pins locally.
How This Beats Proxy-Terminated “Confidential AI”
This live demo implements all 5 points of our Confidential LLM Engineering Checklist
using llmverify/tee.py
(hardened across 8 adversarial red-team rounds) on a single $0.05/hr Spot GCP AMD EPYC Milan SEV-SNP node:
- Zero trust in Caddy / reverse proxy: The Caddy TLS proxy on
35-253-63-148.sslip.ioonly sees opaque paddedChaCha20-Poly1305blobs (≥4,096 Bper request and non-streaming reply, or sequence-bound1,024 Bper-token AEAD chunks when streaming)—never your prompt or the model's reply. - Zero KV-cache bleed:
llama-serverruns unprivileged (nobody) on loopback with--cache-ram 0 --cache-reuse 0 --no-cache-idle-slots --ctx-checkpoints 0 --slot-prompt-similarity 0.0 -np 1and erases slot 0 after every request (backed by a fail-closed_slot_dirtylatch and a read-only/run/llama-slots-rodirectory). - Zero hypervisor weight-swap TOCTOU:
Qwen3-4B-Q4_K_M.ggufis copied into encrypted guesttmpfsand remounted read-only before hashing its SHA-256 directly into AMD hardwarereport_data. - Per-token verifiable inference: Every reply includes a quote-bound
Ed25519llmverify-receipt-v2committing to the top-20 logprobs and sampled token at every step, re-checked live in JavaScript.
CLI, Reproducible Measurements, 42-Vector Gauntlet & Zero-KMS E2EE Guard Proxy
Every cryptographic verifier running in this browser tab ships identically in Python (llm-verification), binding enclave ephemeral keys, model weights, 4-engine zero-log-leak policy, and fresh challenge nonces directly into hardware REPORT_DATA:
# Compute deterministic TDX MRTD+RTMR3, SEV-SNP LAUNCH_DIGEST, or Nitro PCR0..2 & emit enclave-manifest-v1 llmverify measure tdx --firmware OVMF_TDVF.fd --weights model.gguf --manifest-out enclave-manifest.json # Zero-oracle 4-root hardware X-Ray + GPU-splice, fresh-nonce replay defense, manifest pinning & HTML passport llmverify xray https://provider/v1/attestation/report --fresh-nonce-param nonce --require-gpu-binding --manifest enclave-manifest.json --html passport.html # Run the 42-vector adversarial TEE verifier gauntlet (TDX, Nitro, NVIDIA SPDM+RIM, SEV-SNP + MBZ tail, standalone GPU bypass, multi-GPU clone/splice, manifest pinning, replay, privacy) llmverify gauntlet --html gauntlet.html # Audit llama-server / vLLM / SGLang / Ollama launch flags for silent log-leaks & KV-cache bleed (CI exit code 0/1) llmverify privacy --engine sglang -- --disable-radix-cache # Detect silent vision token ceilings, cross-endpoint downscaling & undocumented max_images caps llmverify vision-canary --base-url https://openrouter.ai/api/v1 --model z-ai/glm-5.3-flash --probe-max-images # Drop-in agent guard proxy: blocks DEBUG/spliced upstreams pre-forward (HTTP 503) & hijacked tool calls (HTTP 409) llmverify proxy --upstream https://host/v1 --referee http://127.0.0.1:8080 --tee-attestation-url https://host/v1/attestation/report --require-gpu-binding # Zero-KMS E2EE TEE tunnel (X25519 + ChaCha20-Poly1305 directly into the enclave + hardware receipt verification) llmverify proxy --upstream https://enclave-host --tee-e2ee --referee http://127.0.0.1:8080