Mind the Trust Gap: Fast, Private Local-to-Cloud LLM Chat · Hazy Research
TL;DR: The messages we send to and receive from LLMs can often be quite private. Right now, these messages sit as plain text in the cloud, open to inspection or storage. We show it doesn’t have to be that way: inference can happen securely, with messages decrypted only inside the trusted zone of NVIDIA’s Hopper H100—sealed off even from the cloud provider. Specifically, we implemented a Trusted Execution Environment (TEE) protocol that securely connects a trusted local client with the confidential GPU. Our approach includes: (1) an ephemeral key exchange between the client and GPU enclave to derive a shared secret; (2) attestation, where the enclave proves it’s a genuine H100 running in Confidential Computing mode; (3) encrypted, signed, and nonce-protected message passing; and (4) inference entirely within the enclave, where prompts are decrypted and processed securely—never exposed to the cloud. While traditional security measures often add significant performance overhead, our TEE p
Mind the Trust Gap: Fast, Private Local-to-Cloud LLM Chat · Hazy Research May 12, 2025 · 12 min read Mind the Trust Gap: Fast, Private Local-to-Cloud LLM Chat Dan Biderman* , Avanika Narayan* , and Chris Ré . TL;DR : The messages we send to and receive from LLMs can often be quite private . Right now, these messages sit as plain text in the cloud, open to inspection or storage. Current privacy techniques either degrade quality or are several orders of magnitude slower. We explore an alternative Trusted-Execution-Environment (TEE) protocol with messages decrypted only inside a remote confidenti
Explore this link on the map →related reading
- My self-sovereign / local / private / secure LLM setup, April 2026vitalik.eth.limo
- Defeating Nondeterminism in LLM Inference - Thinking Machines Labthinkingmachines.ai
- Confidential AI From GPU Enclavesblog.blyss.dev
- Private Post-Training and Inference for Frontier Modelsworkshoplabs.ai
- LLM Inference Performance Engineering: Best Practices | Databricks Blogdatabricks.com
- How is LLaMa.cpp possible?finbarr.ca
- ⭐️ Fast LLM Inference From Scratchandrewkchan.dev
- Guardian Angels: LLM Personalization for Productivity and Security · Gwern.netgwern.net
- Private Cloud Compute: A new frontier for AI privacy in the cloud - Apple Security Researchsecurity.apple.com
- The lethal trifecta for AI agents: private data, untrusted content, and external communicationsimonwillison.net
- 2025: The year in LLMssimonwillison.net
- How LLM Inference Worksarpitbhayani.me