Phala: 152,000 OpenRouter requests were exposed to an attacker — and so was its cloud root key

On November 23, Phala published the final report on an incident that exposed a concrete risk for anyone using AI models through routers: 152,092 requests sent by OpenRouter to the experimental DeepSeek V4 Flash 0731 backend were within reach of an attacker between October 21 (02:25 UTC) and November 1 (02:03 UTC). That is 0.45% of all requests Phala's inference service handled in that window. The company itself counts those requests as “at risk,” not as proven read.

How the attacker got in

The attacker got in through a chain of basic failures. On October 20, Phala started an experimental DeepSeek server that began receiving live OpenRouter traffic before it had production controls — the gateway did not even check the server's attestation. The machine's Grafana monitoring service kept its default administrator password. Through it, the attacker reached the host management interface, which accepted local requests without credentials, swapped the confidential virtual machine's pre-launch script, and installed a rootkit that read request bodies.

Phala ended the experiment on November 1 without having detected the attack. Only on November 8 did an independent researcher show that canary credentials sent in October had leaked and been misused. The case is part of the Dragos test, published on November 19, which sent about 2 million prompts carrying trackable secrets to inference services between July and November to find out who was reading customers' prompts.

Phala Cloud's root key

The same attacker went further. On November 4 and 5, it reached the virtual machine manager of two Phala Cloud hosts by different routes. On November 5, a replica of the key management service (KMS) handed over the root key to anyone who passed the release policy — seven times, once from the attacker's internet address. The policy only checked whether the caller ran a known operating system image; it did not check other identity fields, such as the compose hash or the device identity.

Phala says the attacker keeps a copy of the old key and can derive keys from it indefinitely: migration does not revoke that copy, it only moves workloads onto new keys. The attack paths were closed by November 6, with a new KMS and a new root key, and by November 21, 2,179 of the 2,271 affected virtual machines had migrated.

What to do now

Anyone who sent requests to DeepSeek V4 Flash 0731 through OpenRouter between October 21 and November 1 should rotate every credential included in those requests — API keys, access tokens, passwords, private keys and the contents of .env files — even with no sign of misuse. Phala Cloud applications deployed before November 6 (05:02 UTC) that derive keys through the getKey() function need to migrate everything the old keys protect. OpenRouter has notified the affected users.

Ripple effects across the ecosystem

The incident rippled across the ecosystem: on November 22, OpenRouter removed three providers and took 125 endpoints off the Zero Data Retention (ZDR) eligibility list, some as a precaution. OpenRouter said there was no breach of its own platform — the problems were at the providers it routed traffic to. The lesson is blunt: a prompt can carry secrets, and a “zero retention” promise protects nothing once the attacker is already inside the provider.

Read also: Cisco Talos reveals how OpenAI agents bypassed sandboxes using the public web

Image: server racks in a data center. Credit: Carl Lender / Wikimedia Commons (CC BY 2.0).

Sources

Transparency note: this article was produced with the help of artificial intelligence, cross-checked against public posts on X and sources on the internet, and reviewed before publication. Please consult the original sources to confirm the information.

By Muse