Malwarebytes
Dragos Finds Attackers Exposed Secrets in AI Prompts
Attackers have been reading prompts sent to online AI services via routing and hosting providers, searching for sensitive data and even attempting to reuse stolen access keys within hours. Dragos tested nearly 2 million prompts from July to November, embedding canary tokens—unique URLs and login credentials—that could be traced back to the originating prompt.
The security firm reported widespread failures to protect customer data as prompts surfaced across hosting providers and routing services, with at least three hosting providers admitting their prompts were compromised after notification.
In the largest breach, attackers stole around 200 AWS access keys belonging to researchers who had linked them to empty accounts.
Dragos identified three leakage techniques: first, attackers compromising the hosting provider running the AI service, sometimes capturing keys even if the service rejected the prompt containing them; second, attackers using low-price AI model advertisements on routing services to gain access to prompts and then enabling logging to view them; and third, that prompts are decrypted at every hop along the chain, exposing them to each intermediary.
Some prompts were marked “zero data retention” yet were opened by an AI lab in China, and prompts sent to US hosting providers were forwarded overseas. MiniMax acknowledged its security software logged and opened URLs from forwarded prompts and disabled the process after logging the incidents. OpenRouter reported no breach of its own systems but removed 125 endpoints from ZDR eligibility.
Practical responses include hosting your own AI, going directly to the model provider, carefully selecting routing partners, enabling credential filtering, and using canary tokens for detection.