Digital canaries expose security breaches across AI supply chain

AI intermediaries are creating unexpected routes for data leakage

A security researcher has uncovered widespread privacy failures across the AI supply chain after planting nearly two million digital tripwires in prompts sent through AI services.

The experiment identified breaches at three AI hosting providers, prompt logging by inference resellers and provider access to supposedly private data.

"We sent nearly two million AI prompts containing unique, trackable secrets to AI providers, then watched where those secrets surfaced," said HD Moore, chief research officer at cybersecurity firm Dragos, who conducted the research.

"What we found revealed security breaches, prompt theft, and widespread failures to protect customer data."

Digital tripwires expose security breaches

Moore designed the experiment using unique credentials and references that had never previously been used.

These included Amazon Web Services (AWS) access keys linked to empty accounts, SSH passwords, private Git repository references, and unique URLs and domain names.

Each secret was embedded in a single prompt and sent to one AI provider. Moore controlled the infrastructure behind the credentials, so - like the eponymous canary in the coalmine - they warned of danger by allowing Moore to see where and when they were accessed.

That enabled him to identify which companies in the supply chain had exposed the information.

The investigation found evidence that attackers had compromised at least three hosting providers and used their access to steal prompts.

In one case, attackers reused hundreds of AWS access keys within a short period in late October.

Every request sent during the affected windows was reportedly stolen, including some that the provider had rejected before an AI model processed them.

This suggested the attackers were intercepting requests at the provider's entry point rather than accessing them further down the AI processing chain.

In two other breaches, some stolen prompts carried Zero Data Retention (ZDR) labels, which are intended to prevent providers from storing customer requests.

AI resellers accused of logging private prompts

The research also revealed risks associated with AI routers, sometimes called AI gateways.

Services like OpenRouter and Vercel allow developers to send prompts through intermediary platforms, which then select an appropriate AI model based on factors such as cost, availability and performance.

Although prompts are encrypted while travelling between systems, they must be decrypted at each stage so intermediaries can process and route them.

This means multiple companies may have access to the original text, including potentially sensitive information supplied by users.

Moore found several inference resellers that appeared to be logging prompts and subsequently exposing credentials to unauthorised parties.

The researcher identified the resellers by sending identical requests to the same AI model through different intermediaries and tracking where the planted credentials later appeared.

The investigation also found providers accessing secret URLs embedded in prompts, sometimes days or months after the original requests were submitted.

In one example, a Chinese AI laboratory's systems accessed secret URLs in more than half of the prompts sent to its models between July and October.

Around two-thirds of the affected requests had been marked as either ZDR or "no data collection."

OpenRouter removes privacy label from affected models

OpenRouter has emailed customers warning that some of their prompts might have been accessed.

The company said it had received a report concerning potential exposure involving prompts sent to MiniMax, a China-based AI model provider.

OpenRouter subsequently removed its Zero Data Retention label from MiniMax model endpoints.

Moore said organisations seeking to reduce the risk of exposure should consider hosting AI models on their own infrastructure, although this can be expensive.

For those unable to do so, he recommended working directly with a first-tier AI provider (OpenAI, Anthropic, Microsoft, etc) under a single contract with clearly defined privacy terms.