Tree News

Phala · 2026-11-24 18:18 UTC

TEEs exist to make zero data retention a verifiable proof, not a promise. This fall an attacker could read requests on one of our inference servers and took the root key of our legacy KMS. The TEE hardware worked as designed. We didn't. In late October, an experimental DeepSeek V4 Flash 0731 server took live OpenRouter traffic without attestation checks. An attacker got into it, and from Oct 21 to Nov 1 could read the request bodies passing through. On Nov 5 the same attacker reached Phala Cloud. The allowlist check on our legacy KMS had been turned off, so it released its root key to code it had never verified. Both times, the cause was a path that skipped the proof. If you run a Phala Cloud app deployed before Nov 6 that uses getKey(), you need to move what those keys protect to new keys. Redeploying won't fix this, because the attacker still holds a copy of the old root key. If you sent requests to that DeepSeek route in that window, please treat anything in them as exposed and rotate it. If you self-host dstack, you need to upgrade and check your configuration. The report has the exact steps for each. We've emailed every affected Phala Cloud team, and OpenRouter has notified affected inference users. Emails get missed, so we're saying it here too. (On-chain KMS users, apps deployed after Nov 6, all other OpenRouter traffic, and direct inference customers are unaffected.) These were our mistakes. We ran an experiment on live traffic. We put off known security fixes to avoid downtime. Our monitoring caught neither attack, and we heard about them from a customer and an independent researcher. A proof only protects you if every path checks it. We rebuilt around that. Our gateway now forwards only to attested backends. A new TEE-backed KMS with a new root key releases keys only to verified code. Management interfaces require authentication. Security fixes ship ahead of uptime. An external penetration test of production is under way. We learned this the hard way. "Don't trust, verify" applies to us too. The full report is in the reply. It replaces our Nov 10 preliminary one, and it is our own account, with no independent audit behind it yet. Check it, and tell us where we're still weak.

Loading the story on Tree News…