State of Confidential AI: 21-provider TEE & private-AI scorecard
After uncovering severe trust-boundary failures across NEAR AI,
Chutes SN64, Venice AI, and
Phala / dstack, we asked a broader question: across the entire confidential-AI
ecosystem, who actually builds verifiable TEE inference—and where do even the strongest stacks still break?
On 1 December 2026, we ran a $0.00, zero-account, read-only live & open-source audit
of sixteen more major confidential & private-AI stacks—Tinfoil (10 repos + live SEV-SNP quotes),
Maple AI / OpenSecret (AWS Nitro + live COSE attestation + GPU TEE routing), Edgeless Systems
Privatemode (Contrast + live CDN manifest), Confer (Moxie Marlinspike's 3 open-source repos),
Confidential.ai / C8s (6 repos), TrustedRouter (Lore-Hex) (14 repos + live
api.trustedrouter.com), Oasis ROFL (oasisprotocol/oasis-sdk:
rofl-appd, rofl-containers, rofl-proxy, rofl-scheduler,
runtime-sdk), LibertAI & Aleph Cloud (Libertai/{confidential-inference,libertai-api,libertai-cli}
+ aleph-im/aleph-vm + live api.libertai.io), 0G Private Computer
(0g-serving-broker + 0g-pc-e2ee), Secret AI / SecretVM
(secret-ai-sdk + secretvm-verify + secretvm-cli), Nillion
(nilAI + nilai-py + nilai-ts + nilcc), Proton Lumo
(ProtonMail/WebClients applications/lumo/ + live lumo.proton.me),
Darkbloom (Layr-Labs/d-inference, EigenLayer's “Private Inference Network on Idle
Macs”), Marlin Oyster (marlinprotocol/oyster-monorepo), OpenGradient
(OpenGradient/{tee-gateway,OpenGradient-SDK,inference-facilitator}), and Bittensor SN4
Targon (manifold-inc/targon), and Blackbox AI (blackboxai-dev/bb-cc-proxy,
registry.blackboxgpu.com & ZDR/legal docs)—bringing our standardized scorecard to 21 live
confidential & private-AI stacks alongside our 4-engine silent log-leak
& KV-cache study (SGLang, vLLM, llama.cpp, and Ollama).
Executive Summary — Clear Leaders, Universal Blind Spots & Concrete Verified Bugs (1 Dec 2026):
- The Clear Top Tier (
6 / 20, plus 2 Strong Core Runtimes): Tinfoil, Maple AI, Edgeless Privatemode, Confer, Confidential.ai (C8s), and TrustedRouter (Lore-Hex) lead the commercial market—shipping real measured enclaves, reproducible images, and (on Tinfoil, Privatemode, Maple's dedicated GPU nodes, Confidential.ai's C8s model volumes, and LibertAI/Aleph V-PROGRAMs) kerneldm-veritymodel-weight pinning; Oasis ROFL also delivers standout in-enclave TLS termination (net.oasis.tls.pk) and anti-TOCTOU LUKS2 validation. TrustedRouter is the standout multi-provider aggregator (RFC 9266tls-exporter+ in-enclave upstream TDX/NRAS/SEV-SNP verification); Maple AI is the only stack offering anonymous email-less Bitcoin/Lightning accounts and the strongest commercial KV-cache + media-cache isolation; Confidential.ai ships the strongest SGLang log/surface hardening and hybrid X-Wing post-quantum over-encryption. - Universal Blind Spot #1 —
0 / 20Commercial Providers Verify NVIDIA GPU Quotes in Default Client SDKs: Tinfoil's 3 SDKs never callDeviceEvidenceItems(); Confer, Privatemode, Confidential.ai & LibertAI V-PROGRAMs rely on boot-time CVM GPU gates without client-side GPU quote verification; TrustedRouter's default SDK and LibertAI'slibertai-clirun zero attestation; Maple pins CPU TEE registers only; Oasis ROFL, 0G & Marlin Oyster have zero GPU attestation; Phala'sphala-directsetsverify_signature: Falseon NRAS JWTs; Secret AI hasget_attestation() → {}; Nillion skipsgpu_token; OpenGradient runs AWS Nitro only (forwarding plaintext prompts to 11 external APIs); Bittensor SN4 Targon delegates 100% of attestation to closed-sourcetower.targon.com; and Proton Lumo & Darkbloom use zero hardware TEEs. - Concrete High-Severity Bugs Found Across Even Top-Tier & Non-TEE Private-AI Stacks:
- Confer (Moxie Marlinspike): Plain unmeasured
ext4LLM weights (VLLM_MODELfrom unmeasuredsecrets.env); brokenVLLM_ENABLE_PREFIX_CACHING=0flag omitting--no-enable-prefix-cachingon vLLM0.29.0V1 with zerocache_salt(global cross-tenant KV cache); and per-image AES keys (ek=) +ImageTokenpassed in vLLM URLs while Vector ships alljournaldlogs externally (§5). - Confidential.ai (C8s /
TEErminator): Shared cross-tenant SGLang RadixAttention KV cache with--enable-cache-reportON,--policy=cache_aware, zerocache_salt& explicitcached_tokensreturned to callers;TEErminator&c8s-verify-jsskip TDX DCAP collateral/revocation by default (zero EntrySign microcode floor);kettle verifyexits with status code0on verification FAILURE (verify.rs:98–134) (§6). - TrustedRouter (Full Standalone Audit — 18 Findings →): Merchant PayPal API path traversal + GET-CSRF (
paypal_billing.py:198–226); stored DOM XSS ontrustedrouter.com/chatwith Report-Only CSP (chat.js:989–1088); OAuth scope escalation at/auth/keys; creator earnings drain via workspace-scoped Management API keys (routes/earnings.py:20–101); 100% credit refund on disconnect after irreversible media generation (images.go:277–280,speech.go:98–102); pre-auth Venice video quote calls & 2-slot Rampart/Video/Transcription DoS; workspaceadmin→ownertakeover; unauthenticated AWS SNSTopicArnemail-suppression bypass; enclaveenv://BYOK dereference &ip.Unmap()image SSRF; zero OCI SLSA provenance (404) + unsignedgcp-release.json; zero attestation + safety/shell bypasses inQuillCode&confidential-cowork-desktop; andtrustedrouter-onpremcross-identity Batch/Files IDOR (§7). - Edgeless Privatemode: JS SDK static
manifestBytespinning bypass bug (privatemode-ai.ts:860–906silently overwrites pinned manifests from CDN on mismatch);Privatemode-Shard-Keyknown-prefix oracle inapi-keysalt mode (proxy-endpoint.yaml:77); default 48h revoked OCSP grace + startup-only OCSP (§4). - Maple AI (Full Standalone Audit — 23 Findings →): AWS KMS root policy (
kms:Put*) +seed_wrapping.rsbinding to DB-stored Argon2/OAuth columns enables 100% offline decryption of every user's seed & chats without passwords; unpinnedkmstool_enclave_clilets the EC2 host swapenclave_key& inject/etc/hostswith zeroPCR0change;is_embedded_datablinds Maple Agent's safety classifier, untrusted-repoAGENTS.mdsymlink read bypasses Project Trust & ACP fails open toFullAccess; missing AEAD AAD across ALL user E2EE columns & platform secrets + OrgAdmin→Ownerescalation + arbitrary-audglobal ES256K third-party JWT signing; pre-validation Whisper GPU exhaustion; default-on Kagi search (30-turn prompt-injection exfil); closed-sourcecontrast v1.21.0continuum-proxy; 178-entry single-key PCR0 rollback; unvalidated billing redirects on zero-CSPapp.maple.ai& AndroidallowBackup=trueplaintext tokens (§3). - Tinfoil:
0/3SDKs verify GPUdevice_evidence; default E2EE terminates at router CVM;SIDECAR_CACHE_SALToff in 100% of prod configs;tinfoil-webappkeeps active 256-bit CEK in plaintextlocalStorage(§2). - Oasis ROFL (
oasisprotocol/oasis-sdk): Flatrofl-appdKMS namespace lets any container derive the VM's LUKS2 disk key & ACME private key (storage/mod.rs:53–59,routes/keys.rs:11–20); instant zero-timelockrofl.Update+ measurement-independent KMS key derivation lets any app admin extract the identical KMS root key &SEK(modules/rofl/mod.rs:338–342, 544–545, contradicting docs);AppAuthPolicy::validateperforms zeroQuotePolicyvalidation (policy.rs:45–60); 128/epoch expiration cap & missing read-time expiry/app-existence checks leave expired/deleted enclaves authorized (mod.rs:142–145, 811–820); and unconditional containerstdout/stderrexport to host +0o666secret files (§15). - LibertAI & Aleph Cloud (
Libertai/*,aleph-vm):fetch_message()never verifies returneditem_hashagainst the requested hash (core/src/aleph.rs:33–55) while JSconnect()andlibertai-api/src/tee.py:69leavesender=None—allowing full attestation bypass and pushing the entire global plaintext customer API-key database (api_keys.py:142–154) to an attacker enclave;libertai-cliperforms zero TEE verification and routes all models (only 2/15 live models carry-tee) through plaintextapi.libertai.io; andaleph-vmallows unvalidated root-QEMU QCOW2backing_file/data_file+PersistentVolume.nameleading-/traversal (storage.py:746,downloader.py:60–93), omitsdebug_allowed()inaleph-tee, exposes unauth V-PROGRAM/confidential/inject-secret, and pipes guest serial logs to hostjournald(§16). - OpenGradient (
tee-gateway,OpenGradient-SDK,inference-facilitator): Zero local LLM execution—AWS Nitro proxy decrypts OHTTP prompts and sends them in plaintext to 11 external cloud APIs (llm_backend.py:116–194); unauthenticatedPOST /settleenables native ETH/OG hot-wallet drain via uncapped ERC-20 approval gas sponsoring with skippedexactPermit2 validation (all_networks_shared.ts:1170–1185,permit2.ts:219–221) and arbitrary hot-wallet on-chain calls via unvalidated EIP-6492 factory calldata (eip3009.ts:275–290); unauthenticated externalPOST /v1/keysboot-race hijack & payment bypass (__main__.py:403–441); missingonlyRole(SETTLEMENT_RELAY_ROLE)onSettlementRelay.sol:532–546; zero Nitro quote/PCR verification anywhere inOpenGradient-SDK+ loopback CLI-auth CORS hijack (chat_auth.py:239–261); and plaintext search queries logged to stdout (§17). - 0G Private Computer:
ZG_GATEWAY_PROVIDER_ENFORCEcommented OFF on mainnet; TDXtd_attributesDEBUGbit never checked;cache_saltactively stripped byselfHostedFieldsAllowedwhile cleartextcached_tokensis returned; mainnet recorded provider runsprivileged: truenode-exportermounting/(§8). - Secret AI / SecretVM:
secret-ai-sdkget_attestation()is a literal{}stub with zero E2EE/SPKI pinning;secretvm-cli verifydelegates to a remote portal oracle & sendssecrets_plaintextfor non-contract KMS;secretvm-verifyauto-fetches unsignedtdx.csv/sev.jsonfrom GitHubmain(§9). - Nillion (
nilAI/nilcc): Despite strong SEV-SNP +dm-verity+ ephemeral LUKS boot innilcc,nilAIlogs full plaintext user prompts, secret NilDB prompts & LLM replies atINFOto stdout whilecvm-agentexposes unauthenticatedGET /api/v1/containers/logsto the untrusted host;nilai-pydisables TLS verification (verify=False) on/public_key&/delegation;/v1/attestation/reportignores caller nonces, swaps CPU/GPU fields & crashes Pydantic; and unmeasured ISOmetadata.jsonstring-injects directly intoCaddyfile(§10). - Proton Lumo (
ProtonMail/WebClients): Zero hardware TEE (static hardcodedDEFAULT_LUMO_PUB_KEYserver decryption); genuine client-side zero-access storage encryption, but Ghost Mode permanently persists attachments/generated images/artifacts into IndexedDB (attachments.ts:73–79,artifactAssets.ts:19–97), customurlTransformdisablesreact-markdownv9 URL sanitization (ProgressiveMarkdownRenderer.tsx:445–452), Document Artifacts load unfiltered remote<img>, and webpage artifacts runsandbox="allow-scripts allow-same-origin"on the shared API subdomainlumo-api.proton.me(§11). - Darkbloom (
Layr-Labs/d-inference, EigenLayer): Zero TEE/memory encryption—plaintext prompts & media processed in both coordinator and consumer Mac worker RAM; fail-open weight verification (SEC-007,ModelScanner+Discovery.swift:59–100); observe-only TLS/host pinning (CoordinatorServerPin.swift:9–15, 175–197);output.contains("runtime")Hardened Runtime substring bypass (SecurityHardening.swift:219–226); pre-signatureSelfUpdatertar xzfextraction; static process-lifetimecrypto_boxkey; and release-buildDARKBLOOM_DEBUG_LOCAL_ERRORS=1(§12). - Marlin Oyster (
marlinprotocol/oyster-monorepo): Untrusted host returning127.0.0.1for/instance/ipcollapses loopback isolation to expose unauthenticatedkms-derive-server(127.0.0.1:1100) andsupervisord(9001) with zero PCR change (enclaves/blue/setup.sh:6, 24–37, 74); host can inject/init-params/.envwithshould_attest: falsewithout changingPCR16(init-params-decoder/src/main.rs:124–136); permanent enclave key squatting inVerifiedKeys.sol:131–144; missing X.509BasicConstraints/KeyUsage/nonce/--debug-modechecks & fail-openroot_public_key: Nonedefault; and committedserverless/gateway/enclave_secret_key(§13). - Bittensor SN4 Targon (
manifold-inc/targon): Zero local cryptographic TEE/GPU verification—100% delegated to closed-sourcetower.targon.com(cvm.go:169–236); un-deduplicatedMinerNodesingetWeightslets a single attested IP amplify rewardsK×(weights.go:104–136); unvalidatednode.IPSSRF into internal validator Docker services (cvm.go:37–44, 94); and unauthenticatedweights-apiholding validator hotkey on0.0.0.0:80+ plaintexthttp://hotkey provisioning (§14).
- Confer (Moxie Marlinspike): Plain unmeasured
- Universal Blind Spot #2 —
0 / 20Commercial Providers (and Neither Big Tech Runtime) Ship Per-Token Sampling/Logit Proofs: Only our open-sourcellmverifyLive SEV-SNP Demo pairs zero-KMS ephemeral E2EE with quote-bound per-tokenEd25519logit receipts verified 100% locally in-browser—now alongside offline browser WebCrypto verifiers for all four silicon roots (4/4): AMD SEV-SNP + Intel TDX DCAP v4/v5 (TDX 1.5) + NVIDIA Hopper/Blackwell SPDM & XML-DSig signed CoRIM/SWID RIMs (34/34Hopper &19/19Blackwell hardware registers) + AWS Nitro Enclaves CBOR/COSE_Sign1 P-384 (pinned toAWS Nitro Root-G1, zero external libraries or oracles). - Big Tech Reference Benchmark (§18 — Apple PCC & Google Project Oak): Auditing
apple/security-pcc(785eeab, Apple Silicon + 2026GCPv1Bowcaster dual-TDX + 8× GPU) andproject-oak/oak(deb0d03) shows Big Tech already solves client-keyed AEAD KV-cache encryption (AppleEnsembleWarden), minimal Ruststage0firmware with immediateVMPCK0wiping (Oak), and local 8-GPU SPDM v1.1 + SW/FW transparency logs (AppleGCPv1)—yet even Apple & Google still carry concrete source-verified bugs (Apple'senvironment > .productionfail-open CT bug,validateNoncebypass on empty bundles & 20%.Partialcrash reports retaining exception strings; Oak'soak_attestation_gcpmissingBasicConstraints/KeyUsage/hwmodel/GPU checks, SEV-SNP mitigation-vector integer->bitmask bug & default plaintextoak-syslogdOTLP log relay).
- 1. The 21-Provider Confidential & Private AI Scorecard (1–2 December 2026)
- 2. Tinfoil (
tinfoil.sh): live SEV-SNP & 10-repo audit - 3. Maple AI / OpenSecret: live AWS Nitro COSE + GPU TEE audit
- 4. Edgeless Systems Privatemode: live Contrast manifest & source audit
- 5. Confer (Moxie Marlinspike): 3-repo Noise_XX & single-use RTMR3 worker audit
- 6. Confidential.ai (
confidential-dot-ai/ C8s /TEErminator): 6-repo audit - 7. TrustedRouter (
Lore-Hex/quill-cloud-proxy): live TDX + 14-repo audit - 8. 0G Private Computer (
0g-serving-broker&0g-pc-e2ee) - 9. Secret AI & SecretVM (
secret-ai-sdk,secretvm-verify,secretvm-cli) - 10. Nillion (
nilAI,nilai-py,nilai-ts&nilcc) - 11. Proton Lumo (
ProtonMail/WebClients): zero-access storage vs. non-TEE U2L inference - 12. Darkbloom (
Layr-Labs/d-inference): EigenLayer “Private Inference on Idle Macs” - 13. Marlin Oyster (
marlinprotocol/oyster-monorepo): AWS Nitro CVM & KMS audit - 14. Bittensor SN4 Targon (
manifold-inc/targon): centralized Tower oracle & reward-amplification audit - 15. Oasis ROFL (
oasisprotocol/oasis-sdk): in-enclave TDX TLS vs. flat KMS & zero-timelock governance - 16. LibertAI & Aleph Cloud (
Libertai/*&aleph-vm): SEV-SNP V-PROGRAMs vs. attestation bypass & CRN isolation bugs - 17. OpenGradient (
tee-gateway,OpenGradient-SDK,inference-facilitator): Nitro proxy & x402 facilitator audit - 18. Blackbox AI (
blackbox.ai,bb-cc-proxy®istry.blackboxgpu.com): ZDR contradictions,verify_signature: False& localhost Rekor - 19. Big Tech Reference Benchmark: Apple Private Cloud Compute (
apple/security-pcc) & Google Project Oak (project-oak/oak) - 20. Architectural synthesis, 4-engine log-leak study & audit boundaries
dm-verity weight pinning (plus Blackbox v2 TDX/B300 in progress)llama.cpp, Ollama) with silent stdout/stderr prompt/grammar/URL leaks even inside TEEs1. The 21-Provider Confidential & Private AI Scorecard (1–2 December 2026)
Ordered roughly by overall cryptographic rigor (then our reference llmverify Live SEV-SNP Demo). Every verdict is backed by live public probes and/or exact repo/file:line citations below or in each provider's standalone audit:
| Provider / Stack | Zero Persistent KMS & Ephemeral Keys | Client-Verified Attestation (Default) | Model Weights Pinned | KV-Cache & Billing Privacy | Per-Token Logit Proof |
|---|---|---|---|---|---|
1. Tinfoiltinfoil.sh |
Yes RAM tmpfs P-384 TLS + X25519 EHBP in REPORT_DATA |
CPU Strong / GPU 0 Offline v3 + Sigstore/Rekor + EntrySign + TDX UpToDate; 0/3 SDKs verify GPU |
Yes (100% prod)modelwrap dm-verity EROFS in measured config |
Strong via router Auto random salt + router tenant fallback + SSE pad; GPU sidecar off |
No |
| 2. Maple AI Nitro + GPU TEEs |
KMS + Host-Inject Transport V2 ephemeral RAM; AWS root KMS decrypts all user seeds/chats offline (no passwords); unpinned kmstool lets host swap enclave_key (0 PCR0 change) |
Nitro Strong / Legacy PCR0 All prod LLMs in TEEs; 178-entry single-key PCR0 rollback, 0 Sigstore in clients, 0 GPU quotes (live i01–i03 CPU-only v2), 14.4 MB precompiled binary |
Yes (Direct nodes)i01/i02/i03 pin release digest + SEV-SNP; delegated on Tinfoil/Continuum |
Best commercial KV + BTC Fail-closed CacheNamespaceRoot + media-UUID strip + guest/BTC billing; default-on non-TEE Kagi search + closed-source billing/flags |
No |
| 3. Privatemode Edgeless / Contrast |
Yes PQ ML-KEM-768+X25519 HPKE + 1h RAM etcd; WorkloadOwnerPubKeys stripped |
Strong core / 3 bugs Local SPDM/RIM GPU in CVM; CDN dynamic default, JS pin-bypass bug, 48h revoked OCSP default |
Yes EROFS dm-verity root_hash inside verified manifest |
Client-salted Not tenant-bound server-side; api-key mode leaks shard-key prefix oracle |
No |
| 4. Confer Moxie Marlinspike |
Yes Boot-ephemeral Noise_XX X25519 + one-shot RTMR3 SSH workers |
Mixed Standout local DCAP+Sigstore worker verification; proxy omits MRTD/RTMR0; 0 client GPU quotes |
No (unmeasured ext4) Plain /mnt/models + host secrets.env; ONNX embedder pinned |
Broken (code bug) vLLM V1 APC left ON + 0 cache_salt; ek= AES keys in vLLM URLs → Vector logs |
No |
| 5. Confidential.ai C8s / TEErminator |
Yes (Front-Door) RAM P-384 Mesh CA + PQ X-Wing + exact leaf-DER pin; terminates at front-door router |
Strong core / Defaults Pinned roots & VersionFloors; offline TDX skips CRLs by default; 0 client GPU quotes; kettle verify exits 0 on fail |
Yes (C8s volume)dm-verity + argv-pinned SHA-256 byte manifest (--plain-cache skips verity) |
Shared RadixCache SGLang APC + --enable-cache-report ON + 0 cache_salt + cleartext cached_tokens; best log redaction |
No |
6. TrustedRouterLore-Hex / TDX Router |
KMS-sealed ACME WIF+KMS envelope-encrypted TLS key in GCS; RFC 9266 tls-exporter defeats key theft, but GCP admin can MITM non-exporter clients (zero IaC) |
Opt-in Strong / Oracle Default SDK 0 checks; fail-closed on confidential/trusted; enclave verifies Chutes/NEAR TDX+NRAS; Google RS256 oracle & unsigned trust.trustedrouter.com |
Delegated Multi-provider router; inherits upstream pins ( privatemode, tinfoil) |
Partial + 400d meta Salts privatemode/maple/tinfoil, omits cache_salt on chutes/near-ai; live heartbeats + 400d ClickHouse meta |
EdDSA receipt Metadata receipt, not per-token logits |
7. Oasis ROFLoasis-sdk / TDX |
In-Enclave TLS / Flat KMS True in-enclave TLS ( net.oasis.tls.pk) + anti-TOCTOU LUKS2; flat rofl-appd exposes VM LUKS2 & ACME keys to any container; 0s-timelock admin can swap enclaves & extract KMS root + SEK |
Strong Core / Policy Gaps Light-client EnclaveRPC + TEE scheduler; AppAuthPolicy::validate skips QuotePolicy; 128/epoch expiry cap + no read-time expiry/app check; 0 GPU attestation |
Unpinned Composepodman-compose accepts mutable tags (:latest); no weight pinning |
Host Log Export Unconditional podman-compose logs --follow to host; 0o666 secrets; eth0 bypasses proxy firewall |
No |
| 8. LibertAI / Aleph Cloud SEV-SNP V-PROGRAM |
Plaintext Proxy + Key Pushapi.libertai.io terminates TLS in plaintext outside TEE; pushes entire plaintext customer API-key DB to every upstream box; guest serial logs stream to host |
Strong Core / Trust Bypass Shared Rust/WASM/PyO3 SEV-SNP + VCEK ext verifier + in-guest nvattest; fetch_message() skips item_hash check + JS/API sender=None bypass; libertai-cli 0 checks; 0 client GPU quotes |
Yes (V-PROGRAM) Reproducible Nix + kernel-hashes=on + dm-verity volumes |
Shared APC + CRN Bugs vLLM APC ON with 0 cache_salt; only 2/15 live models tagged -tee; root-QEMU QCOW2 & / volume traversal in aleph-vm |
No |
9. Phala Networkinference.phala.com |
No Deterministic dstack-kms; 0s-timelock 2-of-3 Safes on DstackKms & Base DstackApp |
Fail-open defaultpap id-5 SKIP → VERIFIED; NRAS verify_signature: False; 52.9% non-Phala |
Nomodel_weights_provenance = Unknown |
Salted + oracle Middleware HMAC salt, but cross-tenant prefix_hash oracle + card-only billing |
HTTP hashes |
10. 0G Private Computer0g-pc-e2ee |
Mode-dependent RAM E2EE in controller-less; dstack KMS-derived in controller mode |
Enforce OFF on mainnetPROVIDER_ENFORCE commented out; DEBUG bit unchecked; 0 GPU checks; CLI flags default OFF |
No Unverified persistent /dstack/persistent/hf-cache |
Actively strippedcache_salt stripped by allowlist; SGLang leaks cleartext cached_tokens |
CT sig only |
11. Secret AI / SecretVMscrtlabs |
Mixed SPKI-bound TLS in VM; vm create sends secrets_plaintext for non-contract KMS |
SDK has 0 checkssecret-ai-sdk get_attestation() → {}; CLI uses portal oracle; unsigned GitHub registry |
No | None Standard Ollama HTTPS; 0 E2EE, 0 cache_salt |
No |
12. NillionnilAI / nilcc |
Ephemeral TLS / Host leak In-CVM Caddy SPKI + boot-ephemeral LUKS, but plaintext prompts logged to stdout & served to host unauthenticated |
SDK 0 / verify=Falsenilai-py disables TLS verify; /v1/attestation/report crashes; nilcc-verifier skips gpu_token & ARK pin; unmeasured ISO metadata.json |
No:latest images + floating HF weights |
Shared APC + E2B vLLM v0.19 APC ON with 0 cache_salt; execute_python runs out-of-TEE in E2B |
Unverified ECDSA |
| 13. NEAR AI GPU TEE cloud |
No KMS-backed router |
Router-only / unverified | No | Broken (measured) 94–99.9% intra-TEE KV bleed on 4/4 models |
Chat hash |
| 14. Chutes SN64 Bittensor SN64 · New vms.chutes.ai (pre-GA) |
Legacy compromised TCB Dynamic Cosign/Helm keys outside RTMR3 on sek8s; new pre-GA chutes-tdx-gate + chutes-key-vault (0 crit) |
Zero checks (prod SDK) 0 attestation checks in e2ee-proxy; new pre-GA chutes-attest verifies TDX + SNP + CRLs |
No (prod inference) Pre-GA chutes-tdx-measure pins UKI + dm-verity |
Broken (measured) 97.8–99.5% Try-1 KV bleed across 65 TEEs |
No |
| 15. Venice AI Web & API |
External hosts 24/32 API endpoints fingerprinted to external providers |
Fail-open Web E2EE signature verifier fails open |
No Live weight swap measured on Qwen3.8-27B |
Broken (measured) 84–99.4% cross-provider KV bleed |
No |
16. Proton Lumolumo.proton.me |
Storage E2EE / Non-TEE Real client-side PGP+AES-KW storage; static hardcoded DEFAULT_LUMO_PUB_KEY server decrypts prompts in RAM |
Zero TEE No SEV-SNP/TDX/Nitro/GPU attestation; live CSP + HSTS preload; broken urlTransform & Ghost IndexedDB leak |
No Opaque Proton inference backend |
Backend-managed Default-on server web search; unfiltered remote <img> in Document Artifacts |
No |
17. DarkbloomLayr-Labs/d-inference |
No TEE (Consumer Macs) Plaintext prompts in both coordinator & Mac worker unified RAM; static process crypto_box key; observe-only TLS pin |
Soft-path onlyptrace(PT_DENY_ATTACH) + self-reported App Attest; output.contains("runtime") bypass; fail-open codesign |
Fail-open (SEC-007)Unauthenticated ~/.cache/huggingface discovery; workers can swap weights |
Salted SSD + oracle Coordinator HMAC cacheSalt, but same-account 30m SSD TTFT oracle (SEC-035) |
No |
| 18. Marlin Oyster AWS Nitro CVM |
Host Loopback Collapse Unvalidated /instance/ip = 127.0.0.1 exposes kms-derive-server (:1100) & supervisord (:9001) with 0 PCR change; unattested /init-params/.env |
Nitro Core / Gaps Real COSE + RISC Zero zkVM; missing BasicConstraints/nonce/--debug-mode checks, fail-open root_public_key: None, TS skips PCR16, Go panics |
No Runtime docker compose up over untrusted host |
None Default Ollama examples inherit hardcoded cross-tenant KV cache |
No |
| 19. OpenGradient AWS Nitro API Proxy |
11 Plaintext APIs + /v1/keysReproducible Nitro + RFC 9458 OHTTP, but zero local LLM execution (sends plaintext prompts to 11 external APIs); unauth external POST /v1/keys race; plaintext search logs |
SDK 0 Quotes / 4 Crit 0 Nitro quote/PCR checks in SDK; primary og.LLM skips RSA sigs; unauth ETH/OG hot-wallet drain & arbitrary EIP-6492 calls in inference-facilitator; missing onlyRole in SettlementRelay.sol |
No (External APIs) 93 models proxied to OpenAI/Anthropic/Google/etc. |
Plaintext Walrus/Redisindividual mode uploads plaintext prompts to public Walrus & retains in unauth Redis |
Proxy RSA sig Omits attachments & images |
20. Bittensor SN4 Targonmanifold-inc/targon |
Closed OS + Plain HTTP Closed-source TargonOS; plaintext http:// hotkey/.env provisioning; unauth weights-api on 0.0.0.0:80 |
Centralized Oracle 0 local crypto checks—100% delegated to closed-source tower.targon.com; un-deduplicated IP reward amplification & SSRF |
No No synthetic inference verification in repo |
None Once-per-72m check; no KV isolation in repo |
No |
21. Blackbox AIblackboxai-dev/bb-cc-proxy · registry.blackboxgpu.com |
verify_signature: False + Unauth :8080Official E2EE proxy skips JWT sigs, trusts server-supplied nonce, & Docker POC hardcodes --insecure-skip-attestation + 0.0.0.0:8080 fallback to owner API key; encrypt.blackbox.ai serves untrusted private-CA cert |
0 Hardware Verification / Localhost Rekorbb-cc-proxy never checks NRAS JWKS or CPU TDX/SEV quotes; 7/9 live registry releases lack rekor.json (404) & 2/9 point to http://localhost:3000; OutOfDate TCB allowed |
v2 TDX/B300 In Progress Nov 28 deepseek-v41-flash-b300.3 pins dm-verity model.roothash + MRTD/RTMR1-2, but RTMR0 non-reproducible & security_scan: not_run |
ZDR Docs & Legal Contradiction Blog claims ZDR on by default, yet API docs default data_collection: "allow" & allow_fallbacks: true; 2024 Privacy Policy / ToS have 0 ZDR clause & forbid medical data |
No Plaintext {"eos":true} & unchecked resp nonces |
Ref A. Apple PCCapple/security-pcc · Apple Silicon + GCPv1 |
Best-in-Class Non-permanent SEP kSecKeyOSBound X25519; GCPv1 isolates keys in dedicated keyProtectionTDX VM; Privacy Pass PAT + OHTTP |
Best-in-Class / Subtle Edges SW/FW Transparency + local 8-GPU SPDM v1.1 + Titan DICE; inline client verifies Proxy only; environment > .production CT fail-open; validateNonce empty-bundle skip; min=2 anti-targetability |
Cryptex / ReleaseV2 SEP cryptex ratchet + SW/FW Transparency; closed-source TIECloudApp engine |
Client-Keyed AEAD KVEnsembleWarden encrypts KV surfaces with per-turn client keys + DP cloudmetricsd; 20% .Partial crash reports keep exception strings |
No |
Ref B. Google Project Oakproject-oak/oak · SEV-SNP / TDX / GCP |
Best-in-Class Ephemeral Minimal Rust stage0 wipes VMPCK0 immediately; per-boot DICE + Noise keys; ramdrive rootfs; default oak-syslogd exports plaintext INFO+ logs via OTLP |
Strong Core / 4 Verifier Bugs C2SP tlog + witness quorums; oak_attestation_gcp skips BasicConstraints/KeyUsage/hwmodel/GPU; SEV-SNP mit-vector integer-> bitmask bug; TDX skips header/MIGRATABLE/CRLs; 0 GPU attestation |
Bazel OCI / Measured Reproducible Bazel gemma4 OCI image + DICE/RTMR2 measurement before unpack |
Wasmtime / Shared Ollama Per-stream Wasmtime agent isolation; shared Ollama GPU process with no KV isolation |
No |
llmverify Live DemoReference · 4/4 Silicon Roots |
Yes RAM-only boot-ephemeral X25519 & Ed25519 in hardware report_data |
In-browser WebCrypto (4/4 Roots) Offline AMD SEV-SNP + Intel TDX DCAP v4/v5 (TDX 1.5) + NVIDIA Hopper/Blackwell SPDM & XML-DSig signed RIMs + AWS Nitro COSE_Sign1 P-384 (zero oracles) |
Yes Exact weights_sha256 in hardware report_data |
Hard-erasedprefix_caching=false, slot 0 wiped every reply; zero billing metadata |
Yes (receipt-v2) Quote-bound Ed25519 top-20 logprobs + Gumbel replay |
2. Tinfoil (tinfoil.sh): live SEV-SNP & 10-repo audit
Tinfoil publishes its core stack under github.com/tinfoilsh
(10 repos audited read-only: cvmimage, modelwrap, confidential-model-router,
encrypted-http-body-protocol, tinfoil-go, tinfoil-python, tinfoil-js,
inference, confidential-deepseek-v4-1-flash, and tinfoil-webapp). Live probes
on 1 December 2026 confirmed exact hardware LAUNCH_DIGEST + TLS SPKI + X25519 HPKE binding on both
inference.tinfoil.sh (2a8af527...faaa6c, matching router release v0.0.180) and
GPU enclave kimi-k3-1-pro-inf20.tinfoil.containers.tinfoil.dev (9f051992...5b9d7b, matching
/.well-known/tinfoil-proxy and /.well-known/hpke-keys).
Genuinely strong engineering:
- True Zero-KMS, boot-ephemeral keys: P-384 TLS and X25519 EHBP keys are generated fresh in
tmpfsRAM (cvmimage/tinfoil/cmd/boot/identity.go:40–82) and bound into hardwareREPORT_DATA—zero shadow-CVM key sharing. - 100% production
dm-veritymodel-weight pinning:modelwrap+cvmimage/tinfoil/cmd/boot/models.go:28–82mount pinned HuggingFace commits via kerneldm-verity(--no-superblock) against measuredtinfoil-config-hashacross 12/12inference/model-configs/*.jsonand 3/3confidential-deepseek-v4-1-flashconfigs. - Offline multi-language v3 verifier: Go, Python, and JS verifiers embed AMD/Intel/Sigstore roots, verify Rekor v2 inclusion + GitHub Actions provenance + 7-day freshness witnesses, enforce Genoa EntrySign microcode floor (
ucode_spl: 72) and strict TDXUpToDate-only TCB status, and compile immutable routerRepo/Projectpins (manager/manager.go:708–718). - Strong default router KV salting & SSE padding: Official SDKs auto-generate a 256-bit
user_cache_secret; the router strips callercache_saltand enforces a tenant fallback;inference/sidecarpads every SSE chunk with 4–36 random bytes.
| Tinfoil Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Zero client-side NVIDIA GPU / NVSwitch quote verificationtinfoil-go/verify/verifier.go:248–348 · tinfoil-python/.../_verifier.py:479–563 · tinfoil-js/.../verifier.ts:388–466 |
cvmimage hashes local nvattest SPDM device_evidence into v3 CPU REPORT_DATA, but 0/3 official SDKs ever call DeviceEvidenceItems() or verify GPU quotes/certs/OCSP/RIMs. |
High |
Default E2EE terminates at router, not GPU enclavetinfoil-go/internal/router/router.go:25–39 · confidential-model-router/main.go:788–921 |
Default inference.tinfoil.sh traffic decrypts inside the attested router CVM and re-encrypts over SPKI-pinned TLS to GPU enclaves; direct-to-GPU EHBP (GatewayHTTPClient) is still opt-in/experimental. |
Boundary |
SIDECAR_CACHE_SALT=caller off in 100% of prod configsinference/sidecar/cache_salt.go:1–71 · inference/model-configs/*.json (0/12) |
Router protects default callers, but direct-to-GPU callers (EnclaveHTTPClient / custom clients) are not forced-salted by the GPU sidecar while prefix caching is enabled on 11/12 configs. |
Medium |
tinfoil-webapp local key/data exposure & SEV-SNP policy soft spotstinfoil-webapp/.../encryption-service.ts:110–141 · indexed-db.ts:89–99 · cvmimage/platform/policies.json |
Browser attestation fails closed (good), but active 256-bit CEK sits in plaintext localStorage, local chats sit unencrypted in IndexedDB, raw CEK is sent to confidential-tinfoil-harness; policies.json leaves minimum_*_mitigation_vector: 0, smt_enabled: true (Genoa), tsme_enabled: false (default Turin). |
Medium |
3. Maple AI / OpenSecret: live AWS Nitro COSE + GPU TEE audit (Full Standalone Case Study →)
Because AWS Nitro Enclaves have no native GPU passthrough, we audited 9 public Maple/OpenSecret repositories
(MaplePrivacyLabs/Maple, tinfoil-rs,
sigstore-browser, inference-*, and OpenSecretCloud/opensecret) and decoded
live GET https://enclave.trymaple.ai/attestation/<nonce> plus live dedicated GPU nodes
i01/i02/i03.tfinf.maple.ai on 1 December 2026. Result:
zero non-TEE LLM inference APIs are called in production Nitro mode—every completion, transcription, TTS,
and embedding route exits over explicit per-host VSOCK forwarders to real GPU TEEs. However, our deep-dive audit
(see maple.html for all 23 findings & verbatim claims vs. code) uncovered
three Critical KMS/host-injection/classifier-blinding holes plus twenty High/Medium gaps:
Genuinely strong engineering:
- Best commercial KV-cache & media-cache isolation audited: Clients send a 32-byte
CacheNamespaceRootinside Transport V2; completions fail closed (400) if missing (src/web/openai.rs:96–105); enclave derives provider-separatedHMAC-SHA256(root, provider || 0x00 || verified_user_id)(src/provider_cache.rs:133–161), strips callercache_salt/user_cache_secret, AND strips vLLM multimodal media cacheuuids &x-vllm-priority(src/maple_inference.rs:100–155). - Clean Transport V2 & Direct V3 GPU pins: Per-session ephemeral X25519 keys attested in Nitro NSM with challenge + client-key transcript binding (
src/transport_v2/crypto.rs:102–152), fail-closednsm-hwrngentropy preflight (entrypoint.sh:10–83), and compile-time SEV-SNP/TDX + digest pins on dedicatedi01/i02/i03nodes (src/maple_inference.rs:171–246). - Anonymous billing option: Supports email-less guest accounts (
login_routes.rs:292–453) paid via Bitcoin / Lightning (Zaprite) or Subscription Passes.
| Maple AI Finding & Citation | Verified Behavior | Severity |
|---|---|---|
14.4 MB stripped precompiled continuum-proxy binary in Nix EIFservices/opensecret/flake.nix:600–605 · justfile:188–196 |
The Nix EIF build copies a 14.4 MB precompiled, stripped aarch64 binary committed directly to git rather than building it from the privatemode-public submodule source during the reproducible build. |
High (Supply Chain) |
Legacy PCR0 history model: 178 historical PCR0s, no env binding, 0 Sigstore in clientssdk/rust/src/pcr.rs:22–28, 260–261 · sdk/src/lib/pcr.ts:24–33, 433–436 |
One shared P-384 key signs only the 96-char PCR0 string (not prod vs dev, not timestamp/expiry). Hardcoded SDK PCR0s are stale vs pcrProd.json, so clients fall back to pcrProdHistory.json accepting 178 historical PCR0s back to April 2025 indefinitely. Zero client code verifies CI's new Sigstore/Rekor v2 bundles yet. |
High |
AWS KMS offline seed decryption (0 passwords) + unpinned kmstool_enclave_cli host key injectiondocs/nitro-deploy.md:1769–1826 · src/seed_wrapping.rs:101–143, 303–379 · src/encrypt.rs:320–359 · entrypoint.sh:415–421 |
AWS root retains kms:Put*/Update* to strip the PCR0 condition and unwrap enclave_key; because seed_wrapping.rs binds to DB-stored Argon2/OAuth columns (never the raw user password), enclave_key + Postgres snapshot decrypts 100% of user seeds & chats offline. Worse, every kmstool_enclave_cli decrypt omits --key-id and --encryption-context while the EC2 host holds kms:Encrypt—letting a compromised host swap enclave_key, DATABASE_URL, and /etc/hosts with zero PCR0 change. |
Critical |
Default-on Kagi non-TEE web search, closed-source billing/flags, plaintext Work SQLite & false /proof claimsLocalStateContext.tsx:71–88 · src/kagi.rs:13 · tools.rs:100–104 · apps/maple-agent/app/src/host.rs:1145 · proof.tsx:506–510 |
Web search is ON by default, sending plaintext queries & URLs to non-TEE Kagi (joinable via CloudWatch trace_id); closed-source non-TEE billing.opensecret.cloud & flags.opensecret.cloud plus SQS/CloudWatch/Postgres record per-request model, tokens, tool_calls.name & plaintext platform emails on error; Maple Work release builds gate SQLCipher behind cfg!(debug_assertions) (plaintext chats & tokens on disk); and /proof falsely claims local client-side chat encryption (full breakdown). |
High |
4. Edgeless Systems Privatemode: live Contrast manifest & source audit
Audited edgelesssys/privatemode-public
(Contrast v1.26.2, Privatemode v1.65.0) plus live
https://cdn.confidential.cloud/privatemode/v2/manifest.json (5,994B,
sha256: abb3e079...447f02a) on 1 December 2026. Live manifest confirms
WorkloadOwnerPubKeys is stripped, 4 exact AMD Genoa AllowedChipIDs
(SMT=false, Debug=false, MemAES256XTS=true, PageSwapDisable=true, MinimumTCB=(12,0,30,88)) and
3 Intel TDX AllowedPIIDs are pinned, and every workload pins immutable Nix container digests +
EROFS dm-verity model root_hashes alongside post-quantum
ML-KEM-768 + X25519 HPKE + AES-256-GCM OAE (1h RAM-only etcd) and local GPU SPDM + XMLDSig RIM
checks inside each GPU CVM.
| Privatemode Finding & Citation | Verified Behavior | Severity |
|---|---|---|
BUG — JS SDK static manifestBytes pinning bypasssdk/js/src/privatemode-ai.ts:258–274, 860–906 |
Even when a caller explicitly pins manifestBytes, on ErrManifestMismatch, initializeWithManifestRetry() unconditionally calls this.wasm.fetchManifest() from Edgeless's CDN and overwrites this._manifestBytes. Default proxy & WebApp also fetch dynamically from CDN, and POST /privatemode/v1/attest returns HTTP 401 without an API key. |
High (Bug) |
BUG — Privatemode-Shard-Key known-prefix oracle in api-key salt modeproxy-endpoint.yaml:70, 77 · server.go:368–377 · mutators.go:251–310 |
When --prompt-cache-salt=api-key is set, cacheSalt = HMAC(apiKey, ...) while both Authorization: Bearer <apiKey> and Privatemode-Shard-Key (rolling 6-bit SHA-256 chain per 64B chunk of system+tools+messages) are sent cleartext to the untrusted API Gateway—enabling offline known-prefix confirmation. Self-hosted default random salt is unaffected. |
High (Leak) |
Permissive 48h revoked OCSP default, startup-only snapshot & missing multi-GPU checksprivatemode-proxy/cmd/cmd.go:120–124 · ocsp.go:124–133 · attestation.go:213–275 |
privatemode-proxy defaults to --nvidia-ocsp-allow-unknown=true and --nvidia-ocsp-revoked-grace-period=48h; attestation-agent calls SetGPUsReady() even on OCSP revocation; inference-proxy never refreshes ocsp-status.json after boot; SPDM opaque tamper fields and multi-GPU B200 NVSwitch/PPCIe are unchecked. |
Medium–High |
Non-tenant-bound cache_salt, hosted proxy outside TCB & unencrypted OTLPvllm.go:305–322 · proxy-endpoint.yaml:24, 29–37 · traceforward.go:34–84 |
inference-proxy checks only len(cache_salt) ≥ 32 (shared default proxies share one KV cache); hosted proxy-endpoint.yaml uses skip-initializer: "true" & unpinned apt-get install iptables; unencrypted HTTP/2 OTLP exports temperature, top_p, max_tokens, n. |
Medium |
5. Confer (Moxie Marlinspike): 3-repo Noise_XX & single-use RTMR3 worker audit
Audited all three public ConferLabs repositories
(confer-image v0.1.17, confer-proxy v0.1.29, confer-worker-image v0.2.3).
Confer introduces some of the cleanest systems-security engineering in the entire ecosystem—especially its
single-use RTMR3 worker attestation—yet ships three serious inference-layer flaws that
contrast sharply with Tinfoil and Privatemode.
Standout engineering in Confer:
- True Zero-KMS, boot-ephemeral
Noise_XX: Fresh X25519 Noise keypair in RAM bound into hardwarereport_data[0..31](NoiseKeyProducer.java:18–32,AttestationService.java:60–74); zero persistent KMS, hardcoded loopbackhttp://localhost:8000/v1/vLLM. - Best-in-class single-use worker attestation: Each
confer-worker-imageVM accepts at most one connection ever (O_CREAT|O_EXCL,SuccessAction=poweroff-force), extends zeroed TDXRTMR3withSHA-384("confer.worker.rtmr3.reservation.v1" || hostKey || clientKey || challenge), and is locally verified byconfer-proxyvia Intel DCAP QVL (Java FFM) + Sigstore—cryptographically proving no prior tenant ever touched that worker. - Defense-in-depth media sandboxing: Static Rust
confer-image-normalizer(per-WS dynamic user, empty root, child seccomp),PrivateNetwork=yesdocument worker, Nix+mkosi+dm-verityrootfs, and SHA-256 pinned ONNX embedding model.
| Confer Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Unmeasured LLM weights on plain ext4confer-image/mkosi.skeleton/etc/fstab:13, 17 · usr/local/bin/confer-vllm:40, 78 |
Unlike its dm-verity rootfs and pinned ONNX embedder, /mnt/models (/dev/vdb) is plain ext4 with zero dm-verity or SHA-256 check, VLLM_MODEL comes from unmeasured host /mnt/config/secrets.env, HF_HUB_OFFLINE is unset, and --load-format safetensors is omitted—letting a malicious host swap weights or Jinja chat templates without changing attestation. |
Critical |
BUG — Broken prefix-caching disable flag + zero cache_saltconfer-image/usr/local/bin/confer-vllm:19, 61–62 · OpenAIWebsocketHandler.java:330–455 |
requirements-vllm.lock pins vllm==0.29.0 (V1 engine, where Automatic Prefix Caching defaults to True), yet line 61 only passes --enable-prefix-caching when 1 and never passes --no-enable-prefix-caching when 0 (unlike line 62's --no-async-scheduling). cache_salt appears nowhere in any of the 3 repos—sharing one global KV cache across all tenants on a GPU CVM. |
High (Bug) |
Image AES keys (ek=) & ImageToken in vLLM URLs + unfiltered journald exportOpenAIMessagePresenter.java:81–87 · confer-vllm:85 · etc/vector/vector.yaml:8–62 |
Passes per-image AES-256 keys (ek=) and server-wide ImageToken (token=) as HTTP query params to vLLM; confer-vllm does not disable uvicorn/request logging; Vector ships all journald logs externally to ${LOGGING_INGEST_URL}—so any logged vLLM image-fetch error leaks user image decryption keys out of the enclave. |
High |
Proxy manifest omits MRTD/RTMR0, no client GPU quotes, default-on Tavily & worker TCP 443confer-proxy/.github/workflows/release.yaml:175–197 · OpenAIWebsocketHandler.java:319–321 · confer-worker-image/.../nftables.conf:26–34 |
Proxy releases pin only rtmr1/rtmr2 (--runtime-only, blank firmware); boot-only local PPCIe GPU attestation is never sent to clients and confer-proxy.service only Wants= confer-vllm; webSearch defaults ON to unattested Tavily; worker confer-job allows arbitrary outbound TCP 443 (incl. RFC1918/IPv6) + DNS; worker verifier accepts OUT_OF_DATE TCBs and has no minimum imageVersion rollback floor. |
Medium–High |
6. Confidential.ai (confidential-dot-ai / C8s / TEErminator): 6-repo audit
Audited six active open-source repositories under
github.com/confidential-dot-ai
(all updated 30 Nov – 1 Dec 2026): confidential-inference (31cb32b2),
TEErminator (8ce34bed), attestation-rs (de2674ad),
c8s-verify-js (e9315a1d), kettle (2f7552e4), and
confidential-kubernetes (9122aa86). Confidential.ai joins Tinfoil, Maple AI,
Privatemode, and Confer in the top engineering tier—shipping some of the cleanest SGLang log hardening,
hybrid post-quantum over-encryption, and candid threat modeling in the industry—yet still exhibits four
concrete High-severity gaps:
Genuinely strong engineering:
- RAM-only Mesh CA, PQ X-Wing & exact leaf-DER pinning: Trust Authority generates its ECDSA-P384 Mesh CA keypair in RAM inside a CVM (
confidential-kubernetes/internal/issuer/ca.go:39–60) and hands off only to attested peer replicas.c8s-verify-js+pkg/overenc/overenc.goimplement hybrid post-quantum X-Wing (ML-KEM-768 + X25519) directional AES-256-GCM records;TEErminatorrejectswebpkifront doors and pins forwarded TLS handshakes to exact serving-leaf DER SHA-256 (proxy.go:570–625). - Best-in-class SGLang log & surface hardening: Build-time AST hardening strips non-serving SGLang HTTP endpoints and refuses
--log-requests/crash/tensor dumps (images/sglang-confidential/harden_http.py:12–117); pipe supervisors discard raw stdout/tracebacks in RAM (wait_for_model.py:287–400,private_router.py:26–185); gateway clamps HTTP crates ≤WARN, suppresses panic messages, and HMAC-pseudonymizes auditkey_id(log_privacy.rs:36–140). - Mandatory
@sha256:image pinning +dm-veritymodel volumes:nri-image-policyrejects tag-only images on workers, enforces OCI argv/env/mounts, and powers off the CVM if any container ran pre-admission (admission.go:93–167,bootgate.go:67–119). Default C8s model volumes enforcedm-verity+ full-file SHA-256 against argv-pinned byte manifests (wait_for_model.py:142–285). - Strong
attestation-rscrypto core & candid threat model: Pins Intel SGX Root CA, AMD ARK/ASK/ASVK, and NRAS intermediate SPKIs with full RFC 5280 checks, collateral anti-rollbackVersionFloors, and an unusually honestconfidential-inference/docs/threat-model.md.
| Confidential.ai (C8s) Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Shared cross-tenant RadixAttention KV cache + explicit cached_tokens oracleconfidential-inference/helm/.../inference-workers.yaml:225–269 · sglang-router.yaml:232–238 · services/gateway/src/model_response.rs:231–241 |
SGLang workers run RadixAttention prefix caching ON (no --disable-radix-cache) with --enable-cache-report explicitly ON; sglang-router runs --policy=cache_aware over a global radix tree holding raw prompt text; zero cache_salt is applied anywhere while cached_tokens is returned directly to API callers. |
High |
Zero client-side NVIDIA GPU attestation verificationTEErminator/internal/verifier/endpoint.go:1032–1052 · c8s-verify-js/src/verify.ts:1228–1347 · confidential-inference/docs/threat-model.md:88–93 |
Neither TEErminator, c8s-verify-js, kettle, nor confidential-kubernetes verifies NVIDIA GPU SPDM/NRAS/RIM quotes client-side—clients rely solely on the node-image boot gate. Even attestation-rs's unused nvidia-gpu module relies on remote NRAS JWTs without local SPDM/RIM cross-checks. |
High |
Fail-open / offline-by-default TDX collateral & CRL checks + zero EntrySign floorTEErminator/internal/config/config.go:44 · endpoint.go:1054–1067 · c8s-verify-js/src/verify.ts:278–285 · attestation-rs/.../tdx/verify.rs:389–410 |
TEErminator defaults to AttestNone; even under attest-lb, omitting --tdx-tcb-status leaves GetCollateral: false & CheckRevocations: false (accepting Revoked/OutOfDate TDX CPUs). c8s-verify-js defaults requireCollateral: false (and az-tdx skips DCAP collateral entirely); attestation-rs defaults accept OutOfDate, ignore TDX 1.5 tee_tcb_svn2 (tdx/verify.rs:732–737), and set no default EntrySign (CVE-2024-56161) SNP microcode floor. |
High |
BUG — kettle verify exits with status code 0 on verification failurekettle/src/commands/verify.rs:98–134 · kettle/src/main.rs:58–65 |
When any check returns Verification::Failure (bad TEE signature, checksum mismatch, nonce mismatch, or dm-verity mismatch), verify() prints "Verification FAILED" and returns Ok(())—so CI/CD pipelines gating on exit code silently pass tampered builds. |
High (Bug) |
Front-door termination, --plain-cache download weights & raw Prometheus key_idconfidential-kubernetes/internal/routing/proxy.go:220–250 · wait_for_model.py:259–266 · services/gateway/src/metrics.rs:134–198 |
TLS/attest-pq terminates at the front-door router (not inference worker; TEErminator lacks attest-pq); download mode (--plain-cache) drops dm-verity runtime weight integrity; off-cluster Azure Monitor Prometheus metrics export raw non-pseudonymized key_id labels. |
Medium |
7. TrustedRouter (Lore-Hex / quill-cloud-proxy): live TDX + 14-repo audit (Full Standalone Case Study →)
Audited seven public Lore-Hex repositories on
1 December 2026—the actual running enclave data plane quill-cloud-proxy (commit
4cae5bf1 / live OCI digest sha256:dde41595...4ae907), Terraform infra
quill-cloud-infra (e56914c), unattested control plane quill-router
(758a278), all three official SDKs (trusted-router-go, trusted-router-js,
trusted-router-py), and token-exchange-neocloud-in-a-box—plus live unauthenticated
probes of https://api.trustedrouter.com/attestation, /health, and
https://trust.trustedrouter.com/trust/gcp-release.json. Live probes confirmed
api.trustedrouter.com genuinely runs on GCP Intel TDX Confidential Space
(dbgstat: disabled-since-boot, secboot: true) binding the live Let's Encrypt leaf
cert DER SHA-256 (eb4b1d6c...), boot deviceBlob hash, RFC 9266
tls-exporter, and fresh caller ?nonce= into eat_nonce. TrustedRouter is
easily the strongest multi-provider confidential router audited—yet our code audit uncovered six concrete
High/Medium bugs and refuted its marketing claim of “continuous audits of every PR on the very TLS
connection”:
Genuinely strong engineering:
- Real same-socket TLS 1.3 RFC 9266
tls-exporterchannel binding: Go (trusted-router-go/session.go:81–162), Node.js (trusted-router-js/src/session.ts:74–141), and Python (trusted-router-py/_verified_transport.py:55–214) SDKs extract 32-byteEXPORTER-Channel-Binding+ leaf DER, request fresh/attestation?nonce=<32B>over that exact socket, requirenonce != exporter, and reuse that verified socket for/v1/chat/completions—genuinely defeating active TLS-terminating relay proxies even if the TLS private key is stolen. Go'sazure_snp.go:97–182also performs direct offline AMD SEV-SNP verification (embedded AMD roots, VCEK, CRL, VMPL 0, TCB floors, zero MAA oracle). - WIF-gated KMS-sealed ACME TLS cache + locked Confidential Space launch policy: Despite a stale
ENV QUILL_ACME_CACHE_GCS_BUCKET=quill-acme-cacheinDockerfile.enclave.gcp.multi:122, live GCP builds ignore it and hardcodequill-cloud-proxy-acme-sealed-v1+ per-write AES-256-GCM DEK wrapping via Cloud KMSacme-workload-wrap-v2authenticated by Confidential Space WIF + IAM Deny Policy (acme_cache_gcp.go:24–50,sealedcache.go:50–101,deny-direct-decrypt.json). The measured image lockstee.launch_policy.log_redirect="never"and limitsallow_env_overrideto 4 non-security vars (Dockerfile.enclave.gcp.multi:264–265). - Real in-enclave upstream TEE verification & control-plane exfiltration defense:
trustedrouter/confidential,e2e, andtrustedfail closed in-enclave via hardcodedconfidentialRoutes(confidential.go:96–163,confidential_routes.go:6–37), running real enclave-side TDX + NVIDIA NRAS + ML-KEM E2EE verification forchutes(sidecar/chutes_verify.go:31–260), TDX + NRAS + SPKI fornear-ai, pinned MITprivatemode-proxy, dual-source Sigstore + VCEK fortinfoil(withSO_PEERCRED), and pinned Rustmaple-transport—while honestly excluding Phala, Confidential.ai, and 0G. Enclave-sidebroadcast.StripContent(broadcast.go:43–67) prevents a compromised control plane from enabling prompt webhooks, andqualify-release-oci.ymlverifies 2-runner reproducible OCI builds.
| TrustedRouter Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Unauthenticated AWS SNS TopicArn bypass → arbitrary victim email suppressionquill-router/src/trusted_router/routes/ses_notifications.py:46–225 · sns_verify.py:71–153 · infra/control_lb_url_map.tf:118–120 |
Publicly exposed POST /internal/ses/notifications checks AWS's RSA signature but never validates TopicArn against TrustedRouter's AWS account/topic. Any attacker with a free AWS account can auto-confirm their own SNS topic and publish signed Bounce/Complaint messages to permanently call block_email_sending(email=...) for any victim user. |
High |
Tenant-controlled secret_ref: "env://<VAR>" dereferenced via os.Getenv() inside enclavequill-router/routes/byok.py:93–168, 225 · quill-cloud-proxy/enclave-go/cmd/enclave/settlement.go:265–271 |
PUT /v1/byok/providers/{provider} explicitly accepts caller-supplied env://<VAR> refs and forwards them to the enclave, where providerAPIKeyForRoute runs os.Getenv() and transmits the env value as the upstream API key (creating an enclave env-var existence oracle on GCP and direct secret exfiltration wherever secrets sit in os.Environ). |
High |
Enclave image-fetcher SSRF bypass + AWS Nitro unattested control-plane image prompts + legacy /chat-proxyquill-cloud-proxy/internal/llm/multimodal_direct.go:65–117 · multimodal_aws.go:10–60 · quill-router/routes/internal/fetch_image.py:1–146 · chat_proxy.py:90–228 |
allowedImageIP omits ip.Unmap() (letting IPv4-mapped IPv6 ::ffff:127.0.0.1 / ::ffff:169.254.169.254 bypass filters on dual-stack sockets), misses Azure metadata 168.63.129.16/32 & CGNAT 100.64.0.0/10, skips private IPs instead of failing closed on mixed DNS, and allows plain http:// + redirects even on confidential routes. On AWS Nitro, raw image_urls and up to 10 MiB of image prompt bytes route through the unattested control plane (contradicting control_plane_prompt_access: false), and legacy unattested /chat-proxy/v1/chat/completions remains mounted. |
High |
Zero OCI SLSA/Cosign provenance (404), admin-bypass PAT & unsigned trust.trustedrouter.com pinsdeploy-enclave-gcp.yml:232–236 · publish-trust-gcp.yml:18–99 · trusted-router-go/attestation.go:240–281 · trusted-router-js/src/internal/models.ts:18–19 |
No “continuous audit of every PR on the very TLS connection” exists in CI/TLS. GitHub Artifact Attestations returns 404 for live sha256:dde41595...; deploy-enclave-gcp.yml commits digests to main with an admin-bypass PAT (TRUST_PUSH_TOKEN, enforce_admins off) and publish-trust-gcp.yml Fulcio-signs any push to main; Go/JS/Python default PolicyFromTrustRelease() trusts unsigned trust.trustedrouter.com/trust/gcp-release.json (zero Cosign/Sigstore in Go/JS SDKs); GCP attestation relies on Google's online RS256 oracle; and default SDKs skip attestation entirely for auto/zdr/direct models, CLI chat, and browsers (binding: "none"). |
High |
Persisted KMS-wrapped TLS private key + zero IaC verification of live IAM/KMS/WIF/DNSquill-cloud-infra/envs/gcp-prod/main.tf:34–38 · docs/runbooks/gcp-tls-cache-cutover.md:63–64 · acme_cache_gcp.go:24–50 |
Terraform explicitly excludes KMS keys, secrets, IAM, and LBs. A GCP org/project admin can alter KMS/Deny/WIF policies (or Cloud DNS) to extract the shared ACME TLS key from quill-cloud-proxy-acme-sealed-v1 and MITM all non-tls-exporter clients (default SDK, OpenAI/Anthropic SDKs, CLI, browsers). |
High (Boundary) |
Missing cache_salt on Chutes/NEAR, dynamic Tinfoil release, 5-conn /attestation DoS & metadata egresschat_preparation.go:82–98 · sidecar/main.go:27–41 · attestation_gcp.go:65, 90–110 · byok_cache_other.go:7–15 · verified-inference.ts:6–9 |
chutes & near-ai omit cache_salt (even on confidential routes); tinfoil lacks an empty-scope random fallback AND dynamically trusts the latest GitHub release every 10 min with zero NVIDIA GPU check; trustedrouter/zdr has no in-enclave allowlist; 5 concurrent unauthenticated /attestation calls saturate newTokenQueue(4) (blocking all verified inference); BYOK decryption uses plain GCE Metadata SA instead of WIF; JS Uint8Array bodies bypass needsVerifiedInference; SDKs ignore env_override & accept legacy GCP_AMD_SEV; and live QUILL_USAGE_HEARTBEAT + 400-day ClickHouse http_referer/user/session_id ship to the unattested control plane. |
Medium |
8. 0G Private Computer (0g-serving-broker & 0g-pc-e2ee)
Audited 0gfoundation/0g-serving-broker
and 0gfoundation/0g-pc-e2ee (HEAD
c7bfecd). 0G's wire crypto in 0g-pc-e2ee/protocol is genuinely well-designed—RFC 9180
HPKE (X25519 + ChaCha20-Poly1305) with JCS AAD, mode_psk (_bind) response
sender binding, §8 EIP-191 ciphertext-bound streaming proofs, and clean attestproxy socket isolation
in 0g-controller. However, live mainnet enforcement and KV-cache isolation are severely incomplete:
| 0G Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Mainnet gateway leaves compose & RTMR3 enforcement OFF0g-pc-e2ee/deploy/phala/docker-compose.yml:568–574 · proxycli.go:251–277 |
ZG_GATEWAY_PROVIDER_ENFORCE=true is commented out (“OFF: no mainnet provider passes yet”), making mr_config_id/app_compose and RTMR3/SLSA checks observe-only on mainnet. All CLI/binary verification flags (-attest, -onchain, -verify-responses) default to false. |
Critical |
Zero GPU attestation & TDX DEBUG bit unchecked0g-pc-e2ee/client/dcap/tdxverify.go:96–106 · tdxquote.go:61–74 · 0g-serving-broker/.../config.go:3900 |
0g-pc-e2ee has zero NVIDIA GPU / NRAS / SPDM verification (broker nvGPU defaults false; /v1/quote/verify/gpu is an unauthenticated unbounded proxy). dcap.NewQuoteParser never calls go-tdx-guest/validate and never checks td_attributes bit 0 (ATTRIBUTES.DEBUG). |
Critical |
cache_salt actively stripped + cleartext cached_tokens leak0g-serving-broker/.../engine_controls.go:56–71, 113–127 · brokercompose.json:159–194 · wire/response.go:295 |
selfHostedFieldsAllowed omits cache_salt, so client-supplied cache_salt is silently stripped on self-hosted engines while SGLang runs RadixAttention + --enable-cache-report and returns usage.cached_tokens in cleartext—with all router users sharing one whitelisted userAddress. |
Critical |
Mainnet recorded provider breaks isolation + plaintext/route leaksbrokercompose.json:33–38, 568–722 · rtmr3.go:530–582 · ctrl/e2ee.go:433–438, 938–945 |
mainnet compute-network-20 runs v0.5.1 with privileged: true node-exporter mounting /, CAP_SYS_ADMIN dcgm-exporter, and dstack.sock in ingress. zg-upstream-set never rejects off-enclave forwarders; mainnet gateway seals only 6 models and forwards /v1/messages/count_tokens cleartext; ProfileImage is route-blind and unsealed on free routes; no request replay cache or weight hashing on persistent /dstack/persistent/hf-cache. |
High |
Fallback _bind PSK reuse, Quote v5 offset mis-parse & fine-tuning signature replay0g-pc-e2ee/client/core/stream.go:50–56 · tdxquote.go:25–73 · 0g-serving-broker/api/fine-tuning/internal/services/setup.go:656–687 · settlement.go:170–175 |
Complete/CompleteStream reuse one ephemeral keypair and deterministic _bind PSK across fallback candidates (defeating SPEC §7.6 response binding if an untrusted router orders a colluding candidate first, whereas async.go:104 rotates per attempt); ParseTDXQuoteBody assumes Quote v4 fixed offsets without checking version == 4; and fine-tuning leaks task signatures unauthenticated, omits provider/chain/model/epochs/fee from the signed hash, and auto-settles via TEE EIP-712 after ackTimeout (plus unreserved async image billing in ctrl/async.go:176–207). |
Critical |
9. Secret AI & SecretVM (scrtlabs)
Audited scrtlabs/secret-ai-sdk (v0.1.7),
scrtlabs/secretvm-verify (Node v0.13.0 /
Python v0.12.0), and scrtlabs/secretvm-cli
(v0.9.1). While secretvm-verify implements genuinely solid local SEV-SNP (pinned ARK SPKIs,
VCEK OID matching, ARK CRL sig checks), TDX (dcap-qvl), and NRAS ES384 JWT verification, almost none
of it is wired into Secret AI's actual client inference SDK:
| Secret AI / SecretVM Finding & Citation | Verified Behavior | Severity |
|---|---|---|
secret-ai-sdk performs zero attestation, zero SPKI pinning & zero E2EEsecret-ai-sdk/secret_ai_sdk/secret_ai.py:42–61 · _enhanced_client.py:32, 82–92 |
ChatSecret.get_attestation() is a literal unimplemented stub returning {}. Requests go over standard httpx HTTPS to Ollama URLs returned without light-client proofs from https://rpc12.scrtlabs.com/, with zero E2EE, zero model-weight pinning, and zero cache_salt. |
Critical |
secretvm-cli uses remote portal oracle & sends secrets_plaintextsecretvm-cli/package.json:37 · commands/vm/create.ts:613–625 · services/encryption.ts:4–43 |
secretvm-cli verify depends on secretvm-verification-sdk@0.1.0 (zero crypto deps) calling secretai.scrtlabs.com. vm create sends secrets_plaintext in cleartext for dstack/GKMS/gramine KMS; Docker creds use a hardcoded static 2048-bit RSA key + MD5 EVP_BytesToKey unauthenticated AES-CBC + PKCS#1 v1.5 fallback. |
Critical |
Unsigned mutable GitHub registry & fail-open policies in secretvm-verifysecretvm-verify/node/src/artifacts.ts:162–188 · amd.ts:181–183, 341–348 · cli.ts:26–49, 517–563 · tdx.ts:110–132 |
Contradicting README.md:12's “signed registry” claim, registry misses auto-fetch unsigned tdx.csv/sev.json from mutable GitHub main (accepting dev/legacy builds). enforceGpu & strict default false; GPU nonce binding checks unverified raw JSON instead of NRAS eat_nonce; TDX accepts OutOfDate TCBs; SEV-SNP omits MIGRATE_MA (bit 18), CRL nextUpdate expiry (caching expired CRLs 7 days), ASK revocation, and TCB floors; --k8scluster fetches nodes.csv over plaintext HTTP and redirects verification to unverified peer SAN DNS names. |
High |
secretai-chatbot-2026: global TLS bypass, fail-open “Verified Confidential” badge & SSRFsecretai-chatbot-2026/server.js:2, 80–111, 149–158, 275–305 · public/index.html:7, 561–564, 615–624 |
server.js:2 sets NODE_TLS_REJECT_UNAUTHORIZED = "0" globally (compromising both chat prompts and in-process secretvm-verify NRAS/CRL/registry fetches); coreChecks.every(c => c !== false) marks unreachable/non-TEE servers with omitted undefined checks as “Verified Confidential”; /api/chat sends prompts to raw IPv4 literals with zero TLS SPKI pinning; unauthenticated /api/proxy-models & /api/chat forward Authorization: Basic ${API_KEY} to caller-supplied URLs; and streaming marked.parse() renders unsanitized HTML via innerHTML alongside an unpinned CDN script. Also in secretvm-cli, passing the help-documented --kms secret silently falls into the secrets_plaintext branch (create.ts:613–625). |
Critical |
10. Nillion (nilAI, nilai-py, nilai-ts & nilcc)
Audited NillionNetwork/nilAI (dc2e9b8),
NillionNetwork/nilai-py (e49b528),
NillionNetwork/nilai-ts (c3fcd88), and
NillionNetwork/nilcc (HEAD) on
1 December 2026. Nillion's underlying Confidential Compute hypervisor (nilcc) has genuinely solid
AMD SEV-SNP boot foundations—which makes the severe application-layer and SDK trust-boundary bugs in
nilAI and nilai-py especially stark:
Genuinely strong engineering:
- Measured SEV-SNP boot & ephemeral LUKS state in
nilcc: QEMU boots withkernel-hashes=onmeasuring OVMF, kernel, initrd, and kernel cmdline (verity_roothash+docker_compose_hash+random.trust_bootloader=off;nilcc-agent/src/clients/qemu.rs:208–215,generate-metadata.sh:27). Rootfs is a reproducible read-only squashfs +dm-verityimage with SSH/machine-id/random-seed stripped, while/varand/tmplive on a LUKS disk formatted at boot with a 64-byte ephemeral key (init.sh:64–88). - In-CVM Caddy TLS + dual CPU/GPU SPKI binding: Host HAProxy does TCP SNI passthrough (
haproxy.cfg.j2:26–41) so TLS terminates inside the CVM in Caddy;nilcc-attesterbindsSHA-256(Caddy SPKI)into both AMD SEV-SNPreport_data[1..33](VMPL=1) and the NVIDIA NRAS nonce, refreshing on cert rotation (nilcc-attester/src/report.rs:45–138). - Real local SEV-SNP verifier crate:
nilcc/crates/attestation-verificationperforms fullARK→ASK→VCEKsignature checks, ECDSA-P384 report verification, VCEK TCB OID validation (including Turin FMC),debug_allowedrejection,snp_calc_launch_digestrecomputation, and live HTTPS SPKI matching.
Nillion (nilAI / nilcc) Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Plaintext user prompts, NilDB secrets & LLM replies leaked to untrusted hostnilAI/nilai-api/src/nilai_api/routers/endpoints/chat.py:233, 332, 340, 350 · nilcc/cvm-agent/src/routes/containers/logs.rs:8–33 · routes/mod.rs:67–79 |
nilAI logs full user prompts, decrypted NilDB secret system prompts, and LLM responses at INFO to container stdout, while nilcc's cvm-agent exposes an unauthenticated GET /api/v1/containers/logs endpoint (port 59666) straight to the untrusted host—defeating enclave confidentiality whenever nilAI runs on nilcc. |
Critical |
Zero SDK attestation verification & explicit verify=False TLS bypassnilai-py/src/nilai_py/client.py:30, 104 · nilai-py/src/nilai_py/nildb/__init__.py:72–79 · nilai-ts/src/client.ts:36, 112 |
Neither nilai-py nor nilai-ts ever fetches or verifies SEV-SNP/GPU attestation, SPKI pinning, or ECDSA response signatures. Worse, nilai-py sets verify=False on GET /public_key and GET /delegation—leaking the client's NUC Bearer token over unverified TLS and allowing a MITM to substitute the NilDB ACL grantee DID. |
Critical |
Broken nilAI /v1/attestation/report endpointnilAI/nilai-api/src/nilai_api/attestation/__init__.py:13–20 · routers/private.py:95 |
Ignores the caller's nonce, never binds verifying_key into report_data, swaps cpu_attestation and gpu_attestation, and maps a JSON dict into a Pydantic str field (causing a runtime HTTP 500 validation failure). |
Critical |
Unmeasured nilcc ISO surface, TOCTOU & Caddyfile injectionnilcc/artifacts/initramfs/init.sh:91–108 · cvm-agent/src/resources.rs:32–37 |
init.sh hashes only docker-compose.yaml (with a block-device TOCTOU window on /dev/sr0), leaving metadata.json, .env, and files/ completely unmeasured and host-controllable. cvm-agent then raw-interpolates unmeasured metadata.json strings into Caddyfile via .replace(). |
Critical |
Unverified GPU attestation & unpinned AMD ARK root in nilcc-verifiernilcc/crates/attestation-verification/src/report.rs:21–25 · verify.rs:16–69 · certs.rs:78–106 |
nilcc-verifier never deserializes or verifies the NVIDIA gpu_token (0 GPU checks), trusts AMD KDS HTTPS without pinning official AMD ARK root fingerprints, and has no Intel TDX support. |
High |
Unpinned :latest images, floating weights, shared KV cache & out-of-TEE E2BnilAI/docker-compose.nilai-prod-{1,2}.yml · tool_router.py:79–144 · code_execution.py:14–15 · credit.py:152 · chat.py:367–378 |
Production compose files pull :latest containers and floating HuggingFace weights without --revision, SHA-256, or dm-verity. vLLM v0.19.0 runs with Automatic Prefix Caching ON and zero cache_salt. execute_python executes unconditionally (even parsed from assistant text) in an external non-TEE E2B cloud sandbox; web_search.py:209 lacks SSRF filtering; billing has broken per-model pricing (getattr(request, "model", "default") on fastapi.Request), 2× token double-counting on non-streaming calls, and a DOCS_TOKEN auth/metering bypass (strategies.py:32–67). |
High |
11. Proton Lumo (ProtonMail/WebClients): zero-access storage vs. non-TEE U2L inference
Audited ProtonMail/WebClients
(applications/lumo/, HEAD 1 Dec 2026) plus live HTTP security headers on
https://lumo.proton.me/ (confirmed live Content-Security-Policy +
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload). Unlike Maple AI (which
claims client-side chat encryption while encrypting chats server-side under KMS), Proton Lumo genuinely delivers
real client-side zero-access storage encryption—using an OpenPGP-signed 256-bit Master Key
(lumo.aes.key), AES-KW per-space/skill/search-index key wrapping, HKDF domain separation, and
canonical JSON AAD across spaces, conversations, messages, attachments, and IndexedDB search indices, alongside
standout Vega-Lite AST/loader sandboxing. However, Lumo uses zero hardware TEE attestation (wrapping
ephemeral AES-GCM request keys to a static hardcoded server public key DEFAULT_LUMO_PUB_KEY so
Proton's own inference workers decrypt prompts in RAM; useDictation.ts:3, 175–183), and our code
audit uncovered three concrete client-side privacy/security bugs:
| Proton Lumo Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Ghost Mode permanently persists attachments, generated images & artifacts to IndexedDBapplications/lumo/src/app/redux/sagas/attachments.ts:73–79, 299–403 · artifactAssets.ts:19–97 |
Unlike spaces.ts, conversations.ts, and messages.ts, neither attachments.ts nor artifactAssets.ts checks conversation.ghost—writing dirty attachment records permanently to IndexedDB (attachments_v4) in Ghost Mode and re-queueing them on every reload. (Opt-in AI Paper Trail local saves also store plaintext in localStorage; telemetry emits isGhostConversation: true when enabled.) |
High (Privacy) |
Broken urlTransform disables react-markdown v9 URL sanitization + missing protocol check in LinkWarningModalProgressiveMarkdownRenderer.tsx:213–215, 445–452 · FilePreviewPanel.tsx:317–328 · CompactionMarker.tsx:76 · LinkWarningModal.tsx:26–47 |
Passing a custom urlTransform returning url raw replaces defaultUrlTransform in react-markdown v9, letting non-HTTP schemes pass directly into <a href> in FilePreviewPanel and CompactionMarker (which omit handleLinkClick), bounded only by runtime CSP; LinkWarningModal only checks whether new URL(url) throws. |
High (XSS) |
Unfiltered remote <img> in Document Artifacts + allow-scripts allow-same-origin on shared API subdomainartifactRenderers.tsx:17, 28–35 · artifactEditorExtensions.ts:117 · WebpageRenderer.tsx:85–93 · artifactShell.ts:7–23 |
Unlike chat Markdown, Document Artifacts and Tiptap render remote <img> tags directly from the main origin; webpage/presentation artifacts execute inside sandbox="allow-scripts allow-same-origin" on the shared API subdomain (lumo-api.proton.me), sharing localStorage/IndexedDB across conversations (including Ghost-to-normal); and automaticWebSearch defaults ON (lumoUserSettings.ts:73). |
Medium–High |
12. Darkbloom (Layr-Labs/d-inference): EigenLayer “Private Inference on Idle Macs”
Audited Layr-Labs/d-inference
(579 stars, pushed 1 Dec 2026—the open-source macOS provider binary behind Darkbloom, which we also measured in
our OpenRouter case studies). Despite its whitepaper claiming
“comparable privacy guarantees on consumer hardware without memory encryption”
(papers/dginf-private-inference.tex:117), d-inference uses no TEE, no hardware memory
encryption, no cryptographic ML, and no consumer-to-provider E2EE: both the external coordinator
(darkbloom-platform) and the consumer Mac worker process full plaintext prompts, media, and
completions in unified CPU/GPU RAM, relying solely on software hardening (ptrace(PT_DENY_ATTACH),
SIP, Hardened Runtime, and self-reported App Attest v3 claims). Credit: its technical README/threat-model docs
candidly acknowledge both plaintext endpoints, and MediaIngest.swift cleanly rejects non-data:
media URIs. Source audit uncovered five concrete flaws:
Darkbloom (d-inference) Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Fail-open weight verification (SEC-007) & unauthenticated local weight discoveryModels/ModelScanner+Discovery.swift:59–100, 117–132 · docs/threat-model.yaml:156–157, 312, 500–501 |
Discovers unauthenticated weights under ~/.cache/huggingface without weight hashing, and threat-model.yaml confirms coordinator weight-hash enforcement fails open—allowing a malicious worker to omit hashes or substitute cheaper/tampered weights silently. |
High |
Observe-only TLS & host pinning exposes provider WebSocket to root-CA MITMCoordinator/CoordinatorTransportPolicy.swift:22–38 · CoordinatorServerPin.swift:9–15, 175–197 |
Release builds check only the wss/https scheme (not hostname) and log pin mismatches without refusing the connection (“the connection is never refused here”)—letting a root Mac owner MITM api.darkbloom.dev, capture register.auth_token, and rewrite heartbeat pin reports. |
High |
Substring-match Hardened Runtime bypass & fail-open codesign / RDMA checksSecurity/SecurityHardening.swift:107–116, 219–226, 276–281 |
checkHardenedRuntimeEnabled checks output.contains("runtime") against codesign --display --verbose stderr—bypassed by any binary whose path contains "runtime"! verifyBundleSignature and checkRDMADisabled also fail open on spawn error. |
High |
Unvalidated SelfUpdater URL + pre-signature tar xzf, static crypto_box key & release debug logUpdate/SelfUpdater.swift:525–545, 689–698 · Crypto/NodeKeyPair.swift:61–67 · StandaloneServer+HTTP.swift:226–228 |
SelfUpdater downloads arbitrary coordinator-supplied URLs without scheme/host pins and runs /usr/bin/tar xzf before verifying signatures; static process-lifetime X25519 key lacks forward secrecy while MLX GPU/KV tensors are unzeroed; DARKBLOOM_DEBUG_LOCAL_ERRORS=1 dumps raw errors in release builds; and default encrypted SSD KV caching retains a 30m same-account TTFT oracle (SEC-035). |
Medium–High |
13. Marlin Oyster (marlinprotocol/oyster-monorepo): AWS Nitro CVM & KMS audit
Audited marlinprotocol/oyster-monorepo
(commit 09337ecf; AWS Nitro Enclaves exclusively—zero TDX/SEV-SNP code). Oyster ships real COSE_Sign1
verification, a RISC Zero zkVM on-chain Nitro verifier, Noise_IX Scallop key binding, and clean
sodium_memzero hygiene in keygen. Yet our source audit uncovered two Critical host-bypass
chains plus multiple High verifier and KMS flaws:
| Marlin Oyster Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Untrusted host /instance/ip = 127.0.0.1 collapses loopback isolation → KMS theft & supervisord takeover (0 PCR change)enclaves/blue/setup.sh:6, 24–37, 74 · networking/raw-proxy/src/vsock_to_ip_raw_incoming.rs:86–98 · supervisord.conf:6–7, 60–71 |
Every enclaves/blue & docker-enclave fetches its IP from the untrusted host (vsock://3:1300/instance/ip) with zero loopback validation. Returning 127.0.0.1 preserves genuine KMS seed loading with zero PCR change while letting vsock-to-ip-raw-incoming inject host TCP packets straight into unauthenticated kms-derive-server (127.0.0.1:1100, incl. path=oyster.init-params), kms-derive-server-contract (:1101), and supervisord (:9001) with replies routed back to the host via NFQUEUE 0. |
Critical |
Host unattested file injection (should_attest: false) into /init-params/ without changing PCR16initialization/init-params-decoder/src/main.rs:124–136 · enclaves/blue/supervisord.conf:89 |
PCR16 commits only to entries where the host-controlled should_attest flag is true. A malicious host can append /init-params/.env (auto-loaded by docker compose -f /init-params/docker-compose.yml up) or unattested config files with should_attest: false while keeping PCR16 & image_id byte-identical. |
Critical |
Permanent enclave key squatting in VerifiedKeys.sol + verifier/KMS/secret-store flawscontracts-foundry/src/attestation/VerifiedKeys.sol:131–144 · sdks/rs/src/attestation.rs:48, 85–89, 288–308 · sdks/ts/attestation/mod.ts:228–307 · sdks/go/attestation.go:115, 176–182 · serverless/secret-store/src/server.rs:28–166 |
VerifiedKeys.sol never checks approved imageId and has no revokeKey(), letting anyone permanently poison a victim enclave's public key. Rust/TS/RiscZero verifiers omit X.509 BasicConstraints/KeyUsage/nonce/--debug-mode checks and default root_public_key: None; TS omits PCR16; Go panics in concatCerts; contract KMS relies on a single unverified arb1.arbitrum.io/rpc; serverless/secret-store exposes unauthenticated POST /immutable-config & /mutable-config; and serverless/gateway/enclave_secret_key is committed to git. |
High |
14. Bittensor SN4 Targon (manifold-inc/targon): centralized Tower oracle & reward-amplification audit
Audited manifold-inc/targon (commit
5752bfa5, Bittensor SN4). Despite documenting Intel TDX / AMD SEV-SNP + TPM 2.0 + NVIDIA CC via a
closed-source TargonOS image, the open-source validator contains zero local cryptographic TEE or
GPU verification and zero synthetic inference verification—delegating 100% of attestation and auction
scoring to a centralized closed-source HTTP oracle (https://tower.targon.com):
| Bittensor SN4 Targon Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Reward amplification via un-deduplicated MinerNodes in getWeightstargon/internal/validator/callbacks/weights.go:104–136 · cvms.go:39–89 · get_nodes.go:48 |
getWeights iterates the raw, un-deduplicated c.MinerNodes[uid] slice from a miner's GET /cvm. Repeating a single legitimately attested IP K times appends K MinerBid entries for the exact same hardware, inflating bid.Count by K× to capture an entire auction's emission pool. |
Critical |
100% delegation to closed-source tower.targon.com + unvalidated node.IP SSRFinternal/attest/cvm/cvm.go:37–44, 92–96, 169–236 · internal/tower/tower.go:55–85 |
Validators check only plaintext nonce == UserData.Nonce, POST to closed-source Tower, check {"valid": true}, and trust raw UserData without passing minerHotkey. NormalizeHost returns raw strings on SplitHostPort failure, allowing miners to trigger validator HTTP POSTs into internal Docker services (weights-api, mongo) or host.docker.internal:8080. |
High |
Unauthenticated weights-api holding hotkey on 0.0.0.0:80 + plaintext provisioning & once-per-72m checksweights-api/main.py:57–86 · internal/cli/vali/init.go:75 · docs/miner/installing-targonos.md:68 · callbacks/cvms.go:42–45 |
weights-api exposes POST /api/v1/set-weights unauthenticated on 0.0.0.0:80; sn4 vali init/update send HOTKEY_PHRASE over plaintext http://; installing-targonos.md puts BIP39 seeds on kernel cmdline over plaintext http://releases.targon.com; tvm/install is an 8.2 MB stripped binary in git; nodes attested once skip all further checks for the 72-min tempo; and nullable GPUCards/CPUCards dereferences panic validators before setWeights. |
High |
15. Oasis ROFL (oasisprotocol/oasis-sdk): in-enclave TDX TLS vs. flat KMS & zero-timelock governance
Audited read-only across oasisprotocol/oasis-sdk
(commit 8be7313, covering rofl-appd, rofl-containers,
rofl-proxy, rofl-scheduler, rofl-app-core, and
runtime-sdk/src/modules/{rofl,rofl-market}). Architecturally, Oasis ROFL is one of the strongest
TDX container runtimes in production, yet source inspection uncovered 5 HIGH and 5 MEDIUM/LOW
trust-boundary, governance, and isolation flaws.
What Oasis ROFL gets genuinely right:
- True in-enclave TLS termination & on-chain attested TLS identity: Host/scheduler proxy runs strictly in
Mode::ForwardOnly(SNI passthrough over WireGuard), whilerofl-proxyinside the TDX guest terminates TLS via ACME TLS-ALPN-01 using an enclave-generated P-256 key published as attested on-chainnet.oasis.tls.pk(rofl-proxy/src/http/tls.rs:27, 42–93). - Anti-TOCTOU LUKS2 validation & fail-closed EnclaveRPC: Copies the LUKS2 header into tmpfs before validating
aes-xts-plain64+hmac(sha256)and rejecting duplicate JSON keys (rofl-containers/src/storage/mod.rs:85–101,luks2.rs:17–110); verifies consensus state againstROFL_CONSENSUS_TRUST_ROOTfail-closed (rofl-app-core/src/client.rs:258–269, 361–416); runsrofl-scheduleritself inside TDX; uses context-separated X25519 + Deoxys-IISecretEnvelope; and validates custom domains via DoH + DNSSEC.
| Oasis ROFL Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Flat rofl-appd KMS namespace exposes VM LUKS2 disk key & ACME private key to any containerrofl-containers/src/storage/mod.rs:26–27, 53–59 · rofl-proxy/src/http/tls.rs:37, 142 · rofl-appd/src/routes/keys.rs:11–20 |
rofl-containers shares one OasisKmsService between storage encryption, ACME TLS, and rofl-appd with zero reserved key-ID prefix or domain separation. Any container mounting /run/rofl-appd.sock can POST to /rofl/v1/keys/generate to derive the VM's LUKS2 key and Let's Encrypt ACME private key directly. |
High |
Instant zero-timelock admin governance enables silent enclave-ID swap & full KMS/SEK extractionruntime-sdk/src/modules/rofl/mod.rs:260–269, 286–347, 526–584 · docs/rofl/features/secrets.md:31–32 |
Apps default to admin: Some(creator). rofl.Update overwrites cfg.policy.enclaves immediately in a single block with zero timelock, while derive_app_key_id binds keys only to (app_id, kind, scope, key_id)—never EnclaveIdentity. Any admin can register a rogue measurement, extract the identical KMS root key and SEK, and revert—contradicting docs claiming admins cannot read secrets. |
High |
AppAuthPolicy::validate performs zero QuotePolicy validation + 128/epoch expiry cap & missing read-time checksmodules/rofl/policy.rs:29–60, 259–262 · modules/rofl/mod.rs:142–154, 349–377, 506–508, 811–820 |
validate() ignores self.quotes (allowing debug enclaves, legacy IAS, stale TCBs, and vacuous And([])). Separately, end_block caps registration purges at 128 per epoch-change block only, while get_origin_registration and tx_derive_key never check registration.expiration > ctx.epoch() or whether the app still exists—leaving expired, removed, or deleted enclaves authorized. |
High |
Unconditional plaintext container log export to host + 0o666 secrets + eth0 firewall bypass & zero GPU attestationrofl-containers/src/containers.rs:58–78, 91–98 · utils.rs:86–97 · proxy/firewall.rs:48–52 · rofl-scheduler/src/manager.rs:1363–1422 |
podman-compose logs --follow streams all container stdout/stderr in plaintext to the host's log_manager; secrets are mirrored to /run/podman/env and 0o666 files; nftables accepts all inbound eth0 traffic (bypassing the proxy firewall on default Compose port bindings) while host-forged ProxyLabel injects env vars; LUKS2 silently reformats on tamper with no anti-rollback; zero NVIDIA GPU attestation exists and rofl-scheduler ignores tdx.resources.gpu; ProviderEndorsementPolicyEvaluator omits instance.node_id/status checks; and serverd SIWE login skips nonce/expiry checks. |
High |
16. LibertAI & Aleph Cloud (Libertai/* & aleph-vm): SEV-SNP V-PROGRAMs vs. attestation bypass & CRN isolation bugs
Audited read-only across Libertai/confidential-inference
(e8f403c), Libertai/libertai-api (e4b2ce9), Libertai/libertai-cli
(1cba333), and aleph-im/aleph-vm
(5baf4be), plus live probing of https://api.libertai.io/v1/models on 1 December 2026
(confirming only 2 / 15 live models—qwen3.8-27b-tee and
qwen3.8-27b-tee-thinking—carry a -tee designation).
What LibertAI & Aleph Cloud get genuinely right:
- Shared offline Rust/WASM/PyO3 SEV-SNP verification core: Pins AMD ARK/ASK roots, checks all VCEK X.509 extensions (
blSPL/teeSPL/snpSPL/ucodeSPL/TurinfmcSPL/hwID), and enforces domain-separated RA-TLS key binding (confidential-inference/core/src/chain.rs:150–207,binding.rs:13–66). - Reproducible measured V-PROGRAM pipeline & Trail-of-Bits LUKS2 hardening: Uses
kernel-hashes=on, deterministic Nixmkfs.ext4, fulldm-verityover rootfs + workload + up to 8 volumes, in-guest NVIDIAnvattest+gpu-policyboot gate, fail-closedpoweroff -f, tmpfs LUKS2 header backup againstcipher_nullTOCTOU (nix/init-instance.sh:37–97), EIP-191allocation_auth, and solid SSRF vetting inlibertai-cli/src/commands/fetch_tool.rs.
| LibertAI / Aleph Cloud Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Attestation trust-root bypass: fetch_message() skips item_hash check + sender=None in JS SDK & libertai-apiconfidential-inference/core/src/aleph.rs:33–55 · js/src/index.ts:88–95 · libertai-api/src/tee.py:68–70 · api_keys.py:142–154 |
verify_message() checks self-consistency (sha256(content) == message.item_hash) but never compares message.item_hash against the requested hash. Both JS connect() and libertai-api/src/tee.py:69 leave sender=None, allowing an untrusted/MITM Aleph API to return an attacker-signed message carrying attacker-chosen SEV-SNP measurements—and causing libertai-api to immediately POST the entire global plaintext customer API-key list ("encrypted_payload" is only base64 + RSA-PSS signed in cleartext) to the attacker's enclave. |
Critical |
CRN host-escape & cross-tenant volume hijacking in aleph-vm (QCOW2 backing_file/data_file + / path traversal)aleph-vm/src/aleph/vm/agent/vm/downloader.py:60–93 · backup.py:411–435 · storage.py:541, 740–762 · storage_pools.py:454–456 |
Neither instance launch nor operate_restore rejects QCOW2 images with backing_file or external data_file under root-privileged QEMU, allowing arbitrary host file read/write. Separately, storage.py:746 allows / in PersistentVolume.name (^[\w\-_/]+$), causing Python's parent / filename to discard parent and attach another tenant's .ext4 volume read-write or create root-owned volumes at arbitrary host paths. |
Critical |
Plaintext api.libertai.io proxy + zero-attestation libertai-cli + global plaintext API-key pushlibertai-cli/src/config.rs:6 · client.rs:100–106 · libertai-api/src/proxy.py:261–275, 464 · api_keys.py:104–154 |
libertai-cli has zero integration with confidential-inference (zero SEV-SNP/RA-TLS/GPU checks) and routes all requests—including -tee models—through centralized api.libertai.io, which terminates TLS and mutates prompts in plaintext RAM outside any TEE while storing and pushing all user API keys in cleartext to every upstream box. |
Critical |
Confidential VM & verifier gaps: aleph-tee skips debug_allowed(), unauth V-PROGRAM inject-secret, host serial logs & shared vLLM APCaleph-tee/src/sev_snp/verify.rs:98–155 · aleph-attest-agent/src/secrets.rs:431–441 · supervisor-controller/src/qemu.rs:683–690 · model.conf:16 |
aleph-tee never checks policy.debug_allowed() or VCEK X.509 extensions; confidential-inference defaults to no TCB floor, skips vmpl == 0 & MIGRATE_MA, and never verifies client-side GPU quotes or nonces; V-PROGRAMs run aleph-attest-agent without --owner leaving /confidential/inject-secret unauthenticated one-shot; QEMU attaches -serial stdio (streaming vLLM/uvicorn stdout to host journald) and org.qemu.guest_agent.0 (qga0) to SEV-SNP/TDX VMs; SNP instances use unauthenticated aes-xts-plain64 LUKS; vLLM runs APC ON with zero cache_salt; and CRN supervisor combines wildcard CORS with allow_credentials=True. |
High |
17. OpenGradient (tee-gateway, OpenGradient-SDK, inference-facilitator): AWS Nitro API proxy & x402 facilitator audit
Audited read-only across OpenGradient/tee-gateway
(f88cbc3), OpenGradient/OpenGradient-SDK (ac1e5ee), and
OpenGradient/inference-facilitator (f7a0cfc). While tee-gateway ships
reproducible AWS Nitro builds and clean RFC 9458 chunked OHTTP encryption between client and enclave, zero LLM
inference runs inside the TEE—and the payment/settlement facilitator contains severe unauthenticated
hot-wallet drain and on-chain execution vulnerabilities.
What OpenGradient gets genuinely right:
- Reproducible Nitro builds & fail-stop supervision: SHA-256-pinned base images, fixed
snapshot.debian.orgtimestamp, pinnednitriding-daemoncommit, frozenuvlockfiles, and fail-stop single-worker Gunicorn arbiter (tee-gateway/Dockerfile:1–97,gunicorn_conf.py:52–106). - Clean RFC 9458 chunked OHTTP & Permit2 witness binding: Ephemeral X25519 + ChaCha20-Poly1305 OHTTP with
AAD=b"final"truncation detection and outer header scrubbing (ohttp.py,ohttp_controller.py), pinned leaf-DER TLS context inRegistryTEEConnection, andReentrancyGuard+ EIP-712 witness binding inx402permit.sol.
| OpenGradient Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Unauthenticated native ETH/OG hot-wallet drain via uncapped ERC-20 approval gas sponsoring & skipped exact Permit2 validationinference-facilitator/all_networks_shared.ts:1168–1192 · exact/facilitator/permit2.ts:219–221, 346–348 |
POST /settle is unauthenticated and computes gasCost = parsed.gas * parsed.maxFeePerGas with zero upper cap, transferring native ETH/OG directly from the facilitator hot wallet to caller-controlled payerAddress before broadcasting. On exact Permit2, simulate defaults to false, causing verifyPermit2() to return early before validateErc20ApprovalForPayment() ever executes. |
Critical |
Unauthenticated arbitrary on-chain call execution from facilitator hot wallet via unvalidated EIP-6492 factory calldatainference-facilitator/all_networks_shared.ts:1395–1404 · exact/facilitator/eip3009.ts:130–170, 210, 275–290 |
With deployERC4337WithEIP6492: true and simulateInSettle: false on Base Mainnet and OG EVM, an undeployed payer with an ERC-6492 signature bypasses simulation and causes the facilitator hot wallet to execute signer.sendTransaction({ to: factoryAddress, data: factoryCalldata }) with up to 5M–9M gas on arbitrary targets. |
Critical |
Unauthenticated external POST /v1/keys boot-race hijack & missing onlyRole in SettlementRelay.soltee-gateway/tee_gateway/__main__.py:403–441, 652–656 · inference-facilitator/contracts/settlement.sol:530–550 |
tee-gateway calls signal_ready() at import time—exposing unauthenticated POST /v1/keys externally via nitriding before run-enclave.sh injects keys, allowing an external racer to inject an attacker facilitator_url (bypassing x402 payments + SSRF) and permanently lock out operators (HTTP 409). Separately, SettlementRelay.sol omits onlyRole(SETTLEMENT_RELAY_ROLE) on both batchSettle() and settleIndividual() despite comments stating “Only Relay”. |
Critical |
Zero local LLM execution (11 plaintext cloud APIs), zero Nitro quote/PCR verification in SDK, CLI-auth CORS hijack & plaintext search/Walrus/Redis leakstee-gateway/tee_gateway/llm_backend.py:116–194 · web_search.py:249–255 · OpenGradient-SDK/src/opengradient/client/{llm.py,chat_auth.py:239–261} · inference-facilitator/docker-compose.yml:83–87 |
All 93 models proxy decrypted plaintext prompts to 11 centralized cloud APIs (plus OpenAI Moderation & Exa); OpenGradient-SDK never verifies Nitro CBOR/COSE quotes or pcr_hash, primary og.LLM skips RSA response signatures and defaults to a devnet RPC, and loopback CLI auth reflects arbitrary Origin into CORS with no state nonce (hijacking ConfidentialLLM's relay/registry); web_search.py logs plaintext queries to stdout; and individual settlement uploads plaintext prompts to public Walrus while retaining them indefinitely in unauthenticated Redis (0.0.0.0:6379). |
High |
18. Blackbox AI (blackbox.ai, bb-cc-proxy & registry.blackboxgpu.com): ZDR contradictions, verify_signature: False & localhost Rekor
On 2 December 2026, we ran a read-only audit across Blackbox AI's public ZDR/privacy/legal docs
(blackbox.ai/{privacy,privacy-policy,terms-of-service,meta-ai-zdr},
docs.blackbox.ai/api-reference/{zdr,provider-routing,encrypted-model}), live encrypted endpoint
(encrypt.blackbox.ai), live signed-release registry (registry.blackboxgpu.com/releases/),
official open-source E2EE repos (blackboxai-dev/bb-cc-proxy@d9ac5c0,
blackboxai-dev/openclaw-docker-e2e-encrypted@c162507), and official npm CLI
(@blackbox_ai/blackbox-cli-core@1.0.2). While Blackbox's conceptual framing—that ZDR discards
prompt/response content while retaining billing metadata—is reasonable, and its public pages ship zero ad trackers
or cookies, the underlying docs, legal policies, live registry, and open-source E2EE client contradict its ZDR and
“100% attested” claims:
| Finding & Exact File / URL Citation | Verified Impact | Severity |
|---|---|---|
Zero hardware attestation verification: verify_signature: False on NVIDIA EAT JWTs & server-supplied noncebb-cc-proxy/cc_proxy/crypto.py:72–125 · cc_proxy/session.py:112–135 |
verify_attestation_full() decodes both platform_jwt and gpu_jwt with options={"verify_signature": False}—never verifying NVIDIA NRAS JWKS signatures, certificate chains, expiry, measres, secboot, dbgstat, or any CPU TDX/SEV-SNP quote. Worse, session.py:119 takes expected_nonce directly from the server's own unauthenticated att["nonce_b64"] response and verifies signature only against the server-supplied att["public_key"]—letting any non-TEE host pass attestation trivially. |
Critical |
Docker E2EE POC hardcodes --insecure-skip-attestation & exposes unauthenticated 0.0.0.0:8080 proxy with owner API-key fallbackopenclaw-docker-e2e-encrypted/openclaw/entrypoint.sh:65–71 · docker-compose.yml:38–42 · bb-cc-proxy/cc_proxy/session.py:194 |
The official container unconditionally passes --insecure-skip-attestation and publishes the plaintext OpenAI/Anthropic proxy on 0.0.0.0:8080 with PASSTHROUGH_API_KEY=1 and no --local-api-key; requests omitting an Authorization header fall back to the owner's BLACKBOX_API_KEY. Separately, docs.blackbox.ai/api-reference/encrypted-model Step 3 code samples skip attestation verification altogether. |
Critical |
No response nonce tracking, static HKDF info/salt, missing AEAD AAD & unauthenticated plaintext {"eos": true} stream truncationbb-cc-proxy/cc_proxy/crypto.py:43–50, 145–157 · cc_proxy/session.py:290, 570 |
decrypt_and_verify() never validates response nonce monotonicity or uniqueness (enabling server-response replay/reordering), derives session keys with static HKDF(salt=None, info=b"handshake data"), seals AES-256-GCM with aad=None, and terminates SSE streams on an unauthenticated plaintext {"eos": true} frame (allowing silent MITM truncation). |
High |
Direct ZDR contradictions across API docs, 2024 legal policies & hosted Meta ZDR termsdocs.blackbox.ai/api-reference/{provider-routing,zdr} · blackbox.ai/{privacy-policy,terms-of-service,meta-ai-zdr} |
Despite blog claims that ZDR is on by default on every request, live API docs list provider.data_collection defaulting to "allow" (“providers that may store or train on your data”), allow_fallbacks: true, and state ZDR applies “if enabled in your account.” Meanwhile, the Privacy Policy (Jan 7, 2024) and ToS (Nov 9, 2024) contain zero ZDR clause, zero subprocessor list, an Entire Agreement clause (§12), a 30-day post-termination User Data retrieval clause (§11), and explicitly forbid processing medical data (contradicting “healthcare records” Encrypted AI marketing). Blackbox's own hosted /meta-ai-zdr §2.6 excludes third-party gateways and §4 allows 30-day retention of flagged content. |
High |
Live “public transparency log” points to http://localhost:3000, broken encrypt.blackbox.ai TLS & CLI telemetryregistry.blackboxgpu.com/releases/*/rekor.json · encrypt.blackbox.ai:443 · @blackbox_ai/blackbox-cli-core@1.0.2 |
registry.blackboxgpu.com claims every release is “anchored in a public transparency log,” yet 7/9 live releases return HTTP 404 for rekor.json and the only 2 present (including Nov 28 deepseek-v41-flash-b300.3) point to private http://localhost:3000 with "identity": "", security_scan: not_run, and OutOfDate TDX TCBs allowed. Blog-advertised https://encrypt.blackbox.ai fails standard TLS verification (private UUID CA cert with a raw IP address as CN), /privacy's blackboxproxy.zip returns 404, and the official npm CLI fork ships logPrompts ?? true with Google's ClearcutLogger. Honest credit: zero ad trackers/cookies on blackbox.ai/app.blackbox.ai, and the Nov 28 TDX + 4× B300 release shows genuine dm-verity model.roothash + MRTD/RTMR1-2 engineering in progress. |
High |
19. Big Tech Reference Benchmark: Apple Private Cloud Compute (apple/security-pcc) & Google Project Oak (project-oak/oak)
To benchmark our 21 commercial and Web3 stacks against the highest-budget Confidential AI engineering in the
industry, we audited both Big Tech public runtimes read-only on 1 December 2026:
Apple Private Cloud Compute
(apple/security-pcc @ 785eeab, source-available under Apple's 90-day security-research license,
revealing both Apple Silicon v1 and a 2026 GCPv1 Bowcaster bare-metal backend combining dual
Intel TDX VMs + 8× NVIDIA Hopper/Blackwell GPUs + Google Titan DICE/TPM + Linux eBPF LSM) and
Google Project Oak
(project-oak/oak @ deb0d03, the Apache-2.0 Rust TEE runtime powering Google's Private AI Compute &
confidential federated workloads).
Where Big Tech genuinely raises the bar over all 21 commercial stacks:
- Apple PCC — Client-Keyed AEAD KV-Cache Encryption (
EnsembleWarden): Encrypts transferred/cached multi-turn KV IOSurfaces using client-supplied per-turn keys (turnKeys) and split prefill/decode transfers with per-request 256-bitftETKey(DaemonHandler+Crypto.swift:39–149)—cleanly solving cross-tenant KV bleed. - Apple PCC
GCPv1— Local 8-GPU SPDM v1.1 + Hardware Manifest Pinning: Verifies all 8 Hopper/Blackwell GPUs locally in Swift (SwiftNVAttestation) without trusting NRAS SaaS, enforces 8-GPU homogeneity (gcpv1/workload/gpus.rego:19–55), pins TDX PCK + GPU certs + Google Titan DeviceID in an Apple DCA Platform Cert, enforces SW/FW Transparency Logs, and applies AboveThreshold/Laplace differential privacy incloudmetricsd(MetricsFilter.swift:106–156) + strict format-string allowlisting insplunkloggingd. - Google Project Oak — Auditable Rust
stage0+ ImmediateVMPCK0Wiping: Replaces multi-million-line OVMF with#![no_std]Rust firmware that wipesVMPCK0immediately after the initial SEV-SNP report (stage0_sev/src/platform/dice_attestation.rs:41–54), zeroes physical DICE memory & 32 KiB stack across layers, binds attested Noise sessions (oak_session), and ships#![no_std]C2SP tlog-proofs with witness quorums (tr/c2sp).
| Big Tech Runtime Finding & Citation | Verified Behavior | Severity |
|---|---|---|
Apple PCC — Fail-open CT & enforceEnvironment in .production + Proxy-only inline client verificationCloudAttestation/Configuration/Configuration.swift:102–116 · Environment.swift:124–139 · PCC+ProxyNodeValidator.swift:87 · TrustedRequest.swift:2024 |
Configuration.swift sets certificateTransparencyVerifyFailClosed and enforceEnvironment to (environment > .production)—which is always false because .production is the maximum rank (5). On PCC.ProxyNodeValidator (the only node user devices verify inline), CT is disabled completely (certificateTransparency = false), and GCPv1 certificate.rego:62–69 passes opportunistically when CT log-head binding is omitted. Meanwhile Thimble currently checks minExpectedInlineAttestations = 2 with unvalidated UDID pre-selection (50% per-attempt targeted-routing detection) and logs backend compute attestations locally rather than verifying them pre-prompt. |
Medium |
Apple PCC — validateNonce() empty-bundle bypass, 20% .Partial crash reports & un-projected alert payloadsCloudAttestation.swift:784–818 · CoreDiagnostics/Reports.swift:117–135, 341–355 · EventHorizon/PCCFrontend+Privacy.swift:488 · customer.rego:73, 563–626 |
In challenge-response callers (CeremonyValidator/direct NodeValidator), validateNonce() hits case (.none, .none): break without checking desiredNonce == nil when a bundle omits SEP nonce & appData. On 20% of crashes (up to 3/hr), Reports.swift emits .Partial reports that skip redactExceptionMessage and redactNonCrashingStacks; PanicMonitor falls back to raw UTF-8 on parse error; EventHorizon AlertEngineEvent embeds raw pre-caster sourceEvent?.jsonString; and customer.rego permits arbitrary unvalidated pf firewall rules & broad CFPreferences domains (while TIECloudApp remains closed-source with 0 per-token logit proofs). |
Medium |
Google Oak — oak_attestation_gcp omits BasicConstraints/KeyUsage/issuer==subject AND skips hwmodel, secboot, env/args & all GPU claimsoak/oak_attestation_gcp/src/jwt/verification.rs:206–231, 322–328 · jwt/mod.rs:56–57, 65, 91, 149–151 · policy.rs:233–242 |
oak_attestation_gcp verifies only raw signature chaining and dates in x5c—missing BasicConstraints(ca=true), KeyUsage, pathLenConstraint, and issuer == subject (so any non-CA leaf cert under the GCP PKI can sign a forged leaf cert). Its claim verifier never checks hwmodel, secboot, iss, submods.container.env/args, or any NVIDIA GPU claims (even while oak_trusted_agent/model runs H100 Confidential Space VMs), and ContainerImageReferencePrefix lacks a delimiter boundary. |
High |
Google Oak — SEV-SNP mitigation-vector integer-> bitmask bug, TDX verifier gaps & zero GPU attestationoak_attestation_verification/src/platform.rs:195–235, 327–413 · oak_tdx_quote/src/lib.rs:185–206, 272 · compare.rs:177–179 |
AMD SEV-SNP verification ignores MIGRATE_MA & SMT and compares 64-bit bitmasks launch_mit_vector/current_mit_vector with integer > instead of (attested & expected) != expected (so requiring bit 0 falsely passes if only bit 1 is set). Intel TDX verification skips quote header checks, truncates away MIGRATABLE via from_bits_truncate, ignores CPUSVN/PCESVN/QE_ISVSVN & DCAP CRLs, legacy verify() drops mr_td, and oak_containers injects VFIO GPUs with zero NVIDIA attestation. |
High |
Google Oak — Default plaintext oak-syslogd OTLP log relay & ConditionKernelCommandLine=debug root shelloak_containers/syslogd/src/log_relay.rs:41–65 · journald.conf.d/override.conf:5–6 · root-passwd.service:3, 10 · compare.rs:227–240 |
Default-enabled oak-syslogd streams all INFO+ systemd journal entries (including runc container stdout/stderr and RUST_BACKTRACE=1) over unencrypted OTLP to the untrusted host alongside ForwardToConsole=yes and 60s procfs/RPC latency histograms. Separately, root-passwd.service deletes the root password when debug appears on the kernel cmdline, while compare.rs:230 documents skipping cmdline verification for cmdlines ≥256 bytes. |
High |
Adjacent Open-Source TEE Infrastructure, On-Chain Verifiers & Verifiable-Inference Benchmarks (1–2 December 2026)
Alongside the 21 commercial AI stacks and Big Tech benchmarks, we also audited seventeen foundational open-source TEE, upstream hardware-verifier, on-chain DCAP, software-LSH, and ZKML building blocks used across confidential AI and decentralized compute:
| Stack & Audited Commits | What It Gets Right | Verified Audit Findings & Citations |
|---|---|---|
Chutes Confidential VMs (pre-GA)chutes-attest@68b8c85 · chutes-tdx-gate@f95eefe · chutes-key-vault@3a0ba46 · chutes-tdx-measure@7abf397 |
0 critical confidentiality breaks; chutes-tdx-gate (0 actionable bugs) binds ephemeral X25519 keys into fresh per-request TDX REPORTDATA with authenticated SSE frames & strict Go/Python JSON parity; chutes-attest mitigates a dcap-qvl 0.5.3 TCB-signer bug and verifies full AMD KDS CRLs. |
1 High / 5 Med Unauthenticated /v1/wrap + global volume_id-only GCS approval path permits approval poisoning/bricking & receipt minting (policy.py:126–158, store.py:97–98); volatile 7-day CatalogStore rollback; missing server_id check on SEV-SNP release; platform-predictor metadata.json path traversal & inverted MR_EXTEND check (tdvf.rs:209–219). |
Flashbots Attested-TLSattested-tls@2e1a9f1 · attested-tls-proxy@bb4b638 |
0 critical breaks; TLS 1.3-only EXPORTER-Channel-Binding, exemplary Unix-socket hardening in attestation-provider-server, Ocp-Apim-Subscription-Key same-origin scoping, and regression-tested X-Flashbots-* anti-spoofing. |
5 High / 6 Med DCAP calls into_report_unchecked() accepting OutOfDate/ConfigurationNeeded TCBs (dcap.rs:222–231); pre-auth FMSPC PCCS amplification; expired CRLs accepted in get_collateral_sync (pccs/src/lib.rs:320–338); H2→H1 proxy leaves absolute-form URI & Version::HTTP_2; ProxyClient defaults to 0.0.0.0:0. |
Automata On-Chain DCAP & PCCSautomata-dcap-attestation@5962363 · automata-on-chain-pccs@fd799ed |
Strong V2 policy isolation (QuotePolicyV2 rejects debug/migratable/service TDs), canonical StrictPckExtension & X509CRLHelperV2 DER parsers, Intel Root CA pinning, and 3-hour timelocked PCCS dependency config. |
4 High / 7 Med Standalone dcap-rs pollutes TrustStore.trusted and omits TCB Signing CN/BasicConstraints checks, letting any unrevoked leaf PCK key forge TCBInfo/QEIdentity (trust_store.rs:148–157; mitigated on-chain in EVM V2); EVM ZK accepts unbounded prover timestamp bypassing collateral/PCK expiry; permissionless PckDao.upsertPckCert; V1 ZK else if breaks Processor CA quotes; P256Verifier reverts on RIP-7212 empty return bytes. |
Acurast Mobile-TEEacurast-substrate@bb1977a · acurast-cli@5a4fe1c |
On-chain Android Key Attestation & RKP chain verification with StrongBox/TEE security-level checks and P-256 MultiSignature runtime support; pallet_sudo removed on mainnet. |
1 Crit / 5 High Compute slashing bypassed when staked balance sits in non-conversion holds (staking.rs:2155–2166, 2025–2052); epoch-boundary reward front-running & slash burden-shifting; check_attestation never enforces expiry after submission (utils.rs:255–263); unauthenticated eval() RCE on acurast live & execSync command injection in acurast new. |
Prime Intellect TOPLOCPrimeIntellect-ai/toploc@7ab7bcd (v0.1.6, non-TEE software LSH) |
Compact 258-byte Newton polynomial activation proofs over F_65497 (0xFFD9) with clean long long divided-difference math in ndd.cpp and hardware-agnostic re-execution model. |
3 Crit / 3 High Constant-polynomial & attacker-chosen modulus = 1 / hidden_size forgery (92.2% exponent match with zero compute on repo test distribution, poly.cpp:360–367); remote verifier crashes (SIGFPE on modulus == 0, SIGSEGV on 2-byte proofs, std::terminate in std::thread); silent proofs = [] truncation bypass; Python verifier ignores proof.modulus (poly.py:133); sign bit stripped (utils.cpp:19–21); zero prompt/output confidentiality. |
Dstack CoreDstack-TEE/dstack@edff019 (upstream CVM OS, KMS & RA-TLS) |
0 critical breaks; epoch-separated v1 KDF, EmitEvent removed from guest-agent, strong sev-snp-qvl + MrConfigV3, netd privilege separation, and one-shot UpdateSealedEnv CAS window. |
4 High / 5 Med Unauthenticated plain-HTTP KMS onboarding listener on 0.0.0.0:8000 exposes source admin token & allows bootstrap hijack/SSRF (kms.toml:64–68); persistent LUKS2 (aes-xts-plain64) forbids dm-integrity (luks.rs:605–616); unmeasured host docker_registry mirror + unpinned compose tags allow host container substitution (system_setup.rs:3629–3655); single-owner zero-timelock DstackKms.sol UUPS upgrades; 10-year App-CA certs & AWS Nitro CRLs passed as None. |
Phala dcap-qvlPhala-Network/dcap-qvl@f56d9ff (upstream Intel TDX/SGX DCAP crate) |
0 critical breaks; confirms 0.5.3 PCK-as-TCB-signer bug is fixed in Rust & JS, enforces full Rust CRLs + TD_ATTRIBUTES, and denies unwrap_used / indexing_slicing / arithmetic_side_effects. |
2 High / 2 Med Unauthenticated CRL Distribution Point SSRF from unverified SGX-Enclave-Identity-Issuer-Chain header + unrestricted redirects + unbounded buffering + pre-verification FMSPC amplification (collateral.rs:527–541); primary verify() & JS/Go/Mobile bindings silently skip QuotePolicy (into_report_unchecked(), verify.rs:375–383), plus frozen self.now in QuotePolicy::strict; missing TCB-signer CN/KeyUsage pinning & C FFI null-pointer UB. |
EZKL (ZKML)zkonduit/ezkl@e196b11 (Halo2 / KZG verifiable inference) |
Sound lookup table default-row filling, Lagrange multi-column lookup selectors, Pigeonhole value-multiset permutation in shuffles, standard BN254 Poseidon-128 params, pinned SRS hashes, and #![deny(unsafe_code)]. |
2 Crit / 4 High layouts::einsum (Freivalds, enabled by default) discards constrained cells and returns raw unassigned ValType::Value outputs—cascading via decompose/recompose across sign/abs/ReLU/div/sqrt/output (layouts.rs:859–884); single-use Constant shortcut ignores c.pre_assigned_val, disconnecting Poseidon (Hashed) & KZG (KZGCommit) weight commitments (model.rs:1322–1340); abs allows negative -sqrt(x); boolean_identity range-checks a disconnected copy. |
CNCF CoCo Trusteeconfidential-containers/trustee@3624bb2 (KBS, Attestation Service & RVPS) |
Strong JWE secret wrapping (RSA-OAEP-256/ECDH-ES+A256KW/ML-KEM-768 + A256GCM + zeroize), 256-bit SysRng RCAR nonces + RFC 8785 canonicalization, strict 3-segment ResourceDesc path validation, and pinned AMD ARK/ASK/ASVK roots. |
5 Crit / 6 High Default KBS policy ignores ear_status and passes caller-supplied Tee::Tpm ak_public quotes with zero EK root (default.rego:78–87, tpm/mod.rs:241–244); vacuous CCEL compare_digests() bypasses TDX RTMR3 init_data (ccel/mod.rs:36–55); Azure vTPM indexes sparse pcrs[8] by vector slot instead of bitmask (az_snp_vtpm/mod.rs:173–177, 443–446); IBM SE PKCS#1 v1.5 padding oracle & unchecked image_hdr_tags; K8s base ships insecure_header_jwk = true; dead SEV-SNP HW_ID_OID check (common_name == "VCEK" vs real SEV-VCEK). |
NVIDIA nvtrustNVIDIA/nvtrust@78e7aa5 (GPU / NVSwitch / PPCIE Verifiers & Attestation SDK) |
Pinned P-384 roots (NVIDIA Device Identity CA, CoRIM signing Root CA), 256-bit CSPRNG nonces, explicit ES384 pinning on NRAS JWTs, resolve_entities=False on primary RIM.read(), and proactive deprecation of legacy Python verifiers in favor of C++ nvattest. |
4 Crit / 5 High Multi-device exception leaves overall_status = True, unlocks GPU Ready State, skips remaining GPUs, & leaks GPU 0 claims onto failing GPU 1 via shared singleton settings (cc_admin.py:590–625); unsigned <ds:KeyInfo> foreign-namespace decoy + off-by-one truncation bypasses RIM OCSP revocation (rim/__init__.py:85–90, 255–282); OCSP lacks CertID/freshness/EKU checks & lets intermediate CA self-sign (cc_admin_utils.py:223–338); SDK skips eat_nonce & submods binding and passes empty detached_claims (nras_utils.py:73–103); pre-verify XXE in get_manufacturer_id(); X.509 pathLenConstraint reset; PPCIE discards validate_token() inside logger.debug(). |
Google go-tdx-guest & go-sev-guestgo-tdx-guest@6df265d · go-sev-guest@d591100 |
Strict ABI & MBZ checks, P-256 IsOnCurve + qe_report_data[32:64] == 0, strict UpToDate-only TCB checks when collateral is enabled, pinned AMD roots, and fail-closed SEV-SNP GuestPolicy (Debug/MigrateMA/SMT off by default). |
1 Crit / 7 High go-tdx-guest signature-to-parse differential via Go encoding/json case-insensitive struct shadowing ("tcbInfo" vs "TCBINFO", verify.go:365–379, 423–436); fail-open DefaultOptions (GetCollateral: false) & DEBUG/MIGRATABLE TD defaults; SupportedTcbLevelsFromCollateral drops platform Revoked/OutOfDate status; unverified Root CRL CDP SSRF & caller *Options mutation races. go-sev-guest never checks NextUpdate on freshly fetched CRLs & panics on VLEK roots (verify.go:274–343); broken byte-shifted AMD Turin V1 TCB (kds.go:633); O(N²) CertTable.Unmarshal OOM (abi.go:872–881). |
Lit Protocol ChipotleLIT-Protocol/chipotle@95aa3b5 (dstack CVM KMS, Deno Lit Actions & Base Diamond) |
0 critical breaks; global first-owner PKP locks + WALLET_PATH_TAG domain separation, KMS-certified fresh /attestation/v2 & /v3, strict EIP-712 + SessionProof multisig auth, one-shot V8 isolates + SHA-384 CDN TOFU, and Argon2id + AAD-bound payment auth. |
3 High / 3 Med lit-actions egress SSRF & fetch-quota bypass via outbound raw TCP/TLS sockets (Deno.connect / TCPWrap bypassing fetch_dns_resolver, runtime.rs:557–561, 98_native_guards.js:38–55); ApiKey omits precomputed-hash check on GET /core/v1/cache_metadata, enabling cross-account enumeration & execution of private inline actions from global ipfs_cache (apikey.rs:31–36, accounts/mod.rs:1011–1019); revoked former admins retain BillingOwnerAuth post-transfer while lit-payments locks out new owners (owner.rs:40–57). |
VirTEE sev (Rust Crate)virtee/sev@feaf142 (v9.0.0, upstream Rust SEV-SNP library) |
Strict zero-checking ReadExt::skip_bytes on report gaps, compile-time ABI const_assert!, bundled AMD ARK/ASK certs for Milan/Genoa/Turin, and clean WrappedVlekHashstick MBZ checks. |
2 Crit / 3 High Unbounded raw-pointer OOB read, alignment UB, & safe-API unsoundness in hypervisor-supplied CertTableEntry::parse_table / vec_bytes_to_cert_table (linux/host/types/snp.rs:170–214, host/types/snp.rs:254–260); unpinned self-signed root acceptance & missing X.509 expiry/BasicConstraints/CRL checks in Chain::verify (ca/mod.rs:23–31); missing VCEK/VLEK OID binding & P-384 curve check; crypto_nossl vs openssl ECDSA r[48..72] truncation differential (ecdsa/mod.rs:159–161); re-serialization before hashing masks non-zero reserved TCB bytes. |
Intel Trust Authority Go SDKintel/trustauthority-client-for-go@8f1ca96 |
Explicit RS256/PS384 algorithm allowlist, DisallowUnknownFields() on JSON decoders, and io.LimitReader caps on GetNonce/GetToken. |
1 Crit / 3 High VerifyToken populates Roots from untrusted JWKS x5c (no pinned Intel Root CA) and verifies leafCert, then discards leafCert.PublicKey to verify the JWT with raw JWK n/e without equality binding—violating RFC 7517 §4.7 (go-connector/token.go:242–292); missing WithExpirationRequired(), iss/aud, nonce/user_data, & jwk.alg checks; pre-verify CRL CDP & TPM AIA SSRF; custom http.Transport wipes timeouts & redirects leak x-api-key. |
Oasis Core & SDK (ROFL)oasisprotocol/oasis-core@ffc0665 · oasis-sdk@8be7313 |
Raw-JSON-byte signature verification (immune to JSON key shadowing), hardened Ed25519 small-order/canonical checks, Deoxys-II MRAE + KMAC256 domain separation + ZeroizeOnDrop, and Noise XX RAK binding. |
2 Crit / 4 High Unbounded endorsing-node balance drain via unscoped EndorsedCapabilityTEE & default FeePolicy::EndorsingNodePays (rofl/mod.rs:724–750); non-deterministic host OS clock (insecure_posix_time) used inside on-chain rofl.Register quote verification (sgx/mod.rs:76–89); case-sensitive FMSPC allow/deny list bypass on lowercase TDX FMSPCs (pcs/tcb.go:273–281); TDX_%02d decimal formatting causes version 0x0A/0x10 TCB confusion (pcs/tcb.go:362); 128/epoch expiry queue starvation & missing revocation on rofl.Update/Remove; rofl-proxy TLS-fragmentation SNI smuggling (sni.rs:76–109). |
Marlin Oystermarlinprotocol/oyster-monorepo@8b5c221 (AWS Nitro Enclave CVM, Serverless & KMS) |
PCR16 locking before workload launch, refusing encrypted init-params in --debug-mode, sodium_memzero key zeroization, hardened vsock-to-ip-raw-outgoing CIDR blocklist, and explicit AWS_ROOT_KEY pinning in KMS root servers. |
2 Crit / 4 High Untrusted host can inject arbitrary unmeasured files via should_attest: false without changing PCR16—including hijacking derive-server-contract (init-params-decoder/src/main.rs:124–136, setup.sh:114–116); full host IMDS/VPC SSRF in vsock-to-ip-transparent & cross-tenant workerd invocation on shared loopback (vsock_to_ip_transparent.rs:75–85, workerd.rs:141, 165–167); Foundry VerifiedKeys permanent key squatting; single-connection ScallopListener HoL DoS; fail-open root_public_key: None default in Rust/TS SDKs & guaranteed panic in Go SDK. |
Tinfoil Confidential AI (Deep Stack)tinfoil-go@e8992cf · tinfoil-js@9229817 · confidential-model-router@0d8bd94 |
0 critical breaks; pure offline SEV-SNP/TDX/Sigstore verification against embedded roots, strict duplicate-key JSON & canonical DER checks, unconditional SEV/TDX debug/migratable/VMPL/CHIP_ID enforcement, TLS SPKI pinning, immutable router trust anchors, & compile-time-gated debug prompt logging. | 6 High / 4 Med Stripping optional config_base64 from untrusted v3 collateral on v2 endorsements silently skips SLSA container provenance (verify/config.go:243–253); missing SourceRepositoryURI & SAN-ref pinning in AuthenticateCode/freshness witness (provenance.go:130–140, 451–467); EHBP bodyless requests & responses pass through plaintext/unauthenticated (ehbp.ts:91–110); router scrapes /metrics with METRICS_API_KEY over unpinned TLS (metrics.go:79–87); deterministic >10 MiB billing bypass (proxy.go:469–484); unverified at+jwt quota bypass & cache_salt collision; NVIDIA GPU evidence is hash-bound only (not verified). |
20. Architectural synthesis, 4-engine log-leak study & audit boundaries
Looking across all 21 live confidential & private-AI stacks reveals three unambiguous structural lessons:
- Real confidential AI is demonstrably buildable—don't excuse “TEE theater”: Tinfoil, Maple AI,
Edgeless Privatemode, Confer, Confidential.ai (C8s), TrustedRouter, Oasis ROFL, and LibertAI/Aleph V-PROGRAMs
prove that RAM-only ephemeral keys, in-enclave TLS termination or RFC 9266
tls-exporterchannel binding, reproducible CVM/OCI images, in-enclave upstream TEE verification, anti-TOCTOU LUKS2 header checks, and kerneldm-veritymodel-weight pinning work on live hardware today. Claims that persistent KMS root keys, unmeasured container overlays, or shared unsalted KV caches are “unavoidable in production” are refuted by live code. - Two universal gaps remain open across
21 / 21commercial stacks:- Client-side NVIDIA GPU / NVSwitch quote & RIM verification: Not a single commercial provider's
default client SDK verifies hardware GPU quotes end-to-end—every top stack either omits GPU verification in
SDKs (Tinfoil, Maple, 0G, Nillion), verifies GPUs only inside the CVM/gateway without returning GPU proofs
to clients (Confer, Privatemode, Confidential.ai, TrustedRouter's Chutes/NEAR verifier, LibertAI
V-PROGRAMs), delegates to a closed-source oracle (Targon SN4), or uses no GPU/hardware TEEs (Oasis ROFL,
Marlin Oyster, OpenGradient, Proton Lumo, Darkbloom). Our
pure-browser WebCrypto verifier proves full offline verification across
all four silicon roots (
4/4)—AMD SEV-SNP + Intel TDX DCAP v4/v5 + NVIDIA Hopper/Blackwell SPDM & XML-DSig signed RIMs (34/34Hopper &19/19Blackwell registers) + AWS Nitro Enclaves CBOR/COSE_Sign1 P-384—runs in zero-dependency JS with zero external oracles. - Per-token sampling & logit receipts: Zero commercial stacks prove that a specific model
checkpoint actually sampled each emitted token honestly (without silent routing/quantization/bias)—the exact
property demonstrated live in our
llmverifySEV-SNP Demo.
- Client-side NVIDIA GPU / NVSwitch quote & RIM verification: Not a single commercial provider's
default client SDK verifies hardware GPU quotes end-to-end—every top stack either omits GPU verification in
SDKs (Tinfoil, Maple, 0G, Nillion), verifies GPUs only inside the CVM/gateway without returning GPU proofs
to clients (Confer, Privatemode, Confidential.ai, TrustedRouter's Chutes/NEAR verifier, LibertAI
V-PROGRAMs), delegates to a closed-source oracle (Targon SN4), or uses no GPU/hardware TEEs (Oasis ROFL,
Marlin Oyster, OpenGradient, Proton Lumo, Darkbloom). Our
pure-browser WebCrypto verifier proves full offline verification across
all four silicon roots (
- Every “last-mile” bug lives at a boundary between two good systems: Confer's
VLLM_ENABLE_PREFIX_CACHING=0omission andek=log path; Confidential.ai's shared SGLang RadixAttention +cached_tokensoracle, offline-default TDX checks, andkettle verifyreturning exit code0on failure; TrustedRouter's PayPal path traversal,/chatDOM XSS, creator earnings drain via workspace keys, 100% media disconnect refunds, and unsignedtrust.trustedrouter.compins; Privatemode's JS SDKmanifestBytesfallback andapi-keyshard-key oracle; Maple's AWS KMS offline seed decryption, unpinnedkmstoolhost injection, classifier blinding, untrusted-repoAGENTS.mdsymlink reads, and 178-entry PCR0 history; Oasis ROFL's flatrofl-appdKMS namespace, zero-timelock admin enclave swap, uncheckedQuotePolicy, and host log export; LibertAI's unverifieditem_hash+sender=Nonetrust bypass pushing global plaintext API keys andaleph-vm's root-QEMU QCOW2 &/volume traversal; OpenGradient's unauthenticated hot-wallet gas-sponsoring drain, arbitrary EIP-6492 execution, external/v1/keysrace, and 11 plaintext upstream APIs; Proton Lumo's Ghost Mode IndexedDB leak and brokenurlTransform; Darkbloom's observe-only TLS pins andoutput.contains("runtime")bypass; Marlin Oyster's127.0.0.1loopback collapse and unattested/init-params/.envinjection; Targon's un-deduplicated IP reward amplification; 0G's allowlist silently strippingcache_salt; and Nillion's textbook SEV-SNP +dm-verityhypervisor undermined byINFO-logged prompts exposed via unauthenticated/api/v1/containers/logsandverify=Falseinnilai-py. Security in confidential AI is won or lost in the glue code—not the silicon.
Sidebar — “Audited ZDR” vs. Verifiable TEEs & Our 4-Engine Silent Log-Leak & KV-Cache Trap Study (Full Standalone Report → · SGLang, vLLM, llama.cpp, Ollama · 1 Dec 2026):
Non-TEE cloud providers increasingly market point-in-time consulting audits as “Audited ZDR” (e.g., Modal's Nov 30, 2026 Doyensec audit at modal.com/zdr). Policy audits are not cryptographic verification—callers still cannot verify what binary runs today, and Modal's own ZDR definition explicitly exempts shared multi-tenant KV/prefix caching. Yet engine-level auditing across ALL FOUR major open-source inference engines proves that stock engines silently leak prompts, schemas, URLs, and KV prefixes even inside hardware TEEs:
- 1. Stock SGLang (85 files across Modal's 3 still-open upstream PRs): Even with
--log-requestsOFF, PRs#51356,#54176, and#54177show stock SGLang dumps full batchinput_ids/output_ids/schemas on watchdog stalls, raw client schemas/stop_regex/image URLs on errors, raw generated tool-call outputs across 47 parser files, and unredactedlogger.exceptiontracebacks. - 2. Stock vLLM (
vllm-project/vllm @ 02e6ff8— 95+ unguarded sites): Even with--no-enable-log-requests,enable_log_outputs=False, andlog_error_stack=False, stock vLLM has zero global log-redaction filter and unconditionally leaks full raw client media URLs (including presigned S3 tokens & Confer'sek=AES keys) atWARNING(vllm/connections.py:343, 352–361), speculative output token IDs + fullSamplingParams/schemas/torch.Tensorreprs viadump_engine_exception(dump_input.py:88–96), raw tool-call text across 54 sites invllm/tool_parsers/, client regexes/grammars, and 23 unguardedlogger.exceptionhandlers. - 3. Stock
llama.cpp(llama-server @ e5cd6e3): At default verbosity (3, no-v), dumps full GBNF grammar + generation prompt on sampler failure (common/sampling.cpp:315–318), unparsed assistant/tool-call output (common/chat.cpp:1971), full user tool JSON (common/parsers/parsers.cpp:9), full Anthropicsystemprompt (server-chat.cpp:370–388), and full remote media URLs (server-common.cpp:1359). Worse,common/json-schema-to-grammar.cpp:424, 1052writes rawfprintf(stderr, ...)bypassing--log-disable; zerocache_saltexists and--no-cache-promptis bypassable via client JSON"cache_prompt": true(server-schema.cpp:33, 500) while 8 GiBprompt_cachesaves idle slots unconditionally; default-onGET /slotsexposes integern_prompt_tokens_cache(and plaintext prompts if host setsLLAMA_SERVER_SLOTS_DEBUG=1); and global/v1/streambuffers up to 4 MiB of SSE output across tenants (server-stream.cpp:472–545). - 4. Stock
Ollama(ollama/ollama @ 97e8beb— powering Secret AI & Marlin Oyster): Now spawnsllama-serverunconditionally with--log-verbosity 4(TRACE) even atOLLAMA_DEBUG=0(ollama/llm/llama_server.go:639–646) and forwards all child stdout/stderr toos.Stderr(status.go:155–172), amplifying everyllama-serverleak above! A runner-global 8 KiBStatusWriter.lastErrMsgbuffer is never cleared between requests and leaks Tenant A errors into Tenant B's HTTP response (status.go:43–60, 174–193);CachePrompt: trueis hardcoded with zero opt-out (llama_server.go:1750, 2373) with exact integerprompt_eval_cached_countreturned in responses;POST /api/pull(insecure: true) enables unauthenticated SSRF (images.go:1767–1833);:cloudmodels silently proxy out of the TEE toollama.com(cloud_proxy.go:74–231); andOLLAMA_DEBUG_LOG_REQUESTS=1dumps full plaintext bodies + replay scripts to/tmp/. - Takeaway for TEE builders: Hardware RAM encryption does not stop an unpatched SGLang/vLLM/
llama-server/Ollama process from printing prompts, schemas, or URLs to stdout/stderr or sharing KV caches across tenants. Don't play whack-a-mole with 100+ engine loggers—use a RAM-only pipe output supervisor that discards raw engine stdout/stderr completely (like Confidential.ai'swait_for_model.py:287–400or our in-processllmverify/tee.pywith silenced handlers + per-request slot KV wipe).
Audit boundaries: All new findings across Tinfoil, Maple AI, Edgeless Privatemode, Confer,
Confidential.ai (confidential-dot-ai), TrustedRouter (Lore-Hex), Oasis ROFL
(oasisprotocol/oasis-sdk), LibertAI & Aleph Cloud (Libertai/*, aleph-vm),
OpenGradient (OpenGradient/*), 0G Private Computer, Secret AI / SecretVM, Nillion
(nilAI / nilcc), Proton Lumo, Darkbloom (Layr-Labs/d-inference), Marlin
Oyster, Bittensor SN4 Targon, the two Big Tech reference runtimes (Apple PCC & Google Project Oak), and the 4
stock engines are verified strictly from $0.00, zero-account, read-only inspection of public
GitHub repositories and public unauthenticated endpoints/manifests on 1 December 2026. We did not perform
active penetration testing or paid authenticated KV-bleed timing tests against those eighteen stacks. Exact
repo/file:line citations are included throughout so maintainers can verify and patch every bug
directly.
More standalone audits & live reference implementation
Verify live AMD SEV-SNP, Intel TDX DCAP v4/v5, NVIDIA Hopper/Blackwell SPDM + signed RIMs, and AWS Nitro COSE_Sign1 100% locally in your browser.
Play the untrusted cloud host across 6 real-world TEE failure modes from our 22 audits, toggle real defenses, and watch live attack traces.
AWS KMS offline seed decryption without passwords, zero-PCR0 host key injection, classifier blinding, untrusted-repo symlink reads & claims vs. code.
Strong TDX & RFC 9266 tls-exporter core alongside 18 verified control-plane, enclave, QuillCode/Cowork desktop & SDK bugs.
Legacy KMS root-key theft, Shadow-CVM threat model, live Ethereum/Base Safe audit, and $0.00 audit of rebuilt inference.phala.com.
Dynamic Cosign/Helm keys outside RTMR3, zero attestation checks in official E2EE SDK/proxy, and 97.8–99.5% Try-1 KV bleed.
4/4 live GPU TEE models bleed 94–99.9% cached tokens for ≥3 min idle; 100% blind timing-only ticker extraction for $0.0033.