Phala's cloud KMS called a centralized policy backend; OpenRouter verification gap

zoan37 · x · 2026-11-23

@zoan37 argues that once dstack decouples the KMS from the TEE, the root of trust moves to whoever controls the KMS authorization policy. Phala's cloud KMS uses a centralized policy backend—where the breach occurred—and DstackKms.sol's onlyOwner controls measurement whitelisting and UUPS upgrades, requiring no TEE exploit to authorize a key-receiving binary. He also flags an OpenRouter gap: actually verifying the gateway and receipts requires running private-ai-proxy locally, which OpenRouter doesn't do.

Related event: Debate over Phala TEE trust model: root key control at center of developer dispute(12 posts)→

Original post →