Security researcher HD Moore planted two million digital tracking tokens into prompts sent through the sprawling network of modern artificial intelligence services. He discovered an ecosystem that routinely leaks sensitive data, resulting in compromised hosting providers and stolen credentials.
The experiment reveals severe security gaps within the intermediary networks that modern applications use to route user queries to various artificial intelligence models. The findings show that attackers are actively exploiting these chokepoints to harvest sensitive data.
What happened
Many modern artificial intelligence applications do not connect directly to a single provider like OpenAI or Anthropic. Instead, developers hire intermediary brokers known as AI routers or gateways, such as OpenRouter or Vercel. These routers evaluate incoming prompts from users and direct them to the most suitable or least expensive inference engine available.
To test how securely data moves through this chain, Moore assembled a collection of unused AWS access keys, passwords, unique URLs, and private git repository references. These acted as digital canaries, which are trackable tokens designed to alert the controller if they are accessed or leaked. Moore seeded each secret into exactly one prompt sent to a single provider.
The results revealed widespread security failures. Although prompts are encrypted while traveling across the internet, they must be decrypted at each intermediate hop so the router can read the plaintext and choose an appropriate model. Each intermediary is capable of logging and storing these prompts.
Moore identified breaches at three separate hosting providers. Attackers compromised these systems and stole hundreds of the bait AWS keys shortly after they were sent in late October. In some instances, the requests were stolen at the front door of the provider before a model even ran, and some were marked with privacy flags meant to prevent logging. Parties behind the breaches immediately tested the stolen keys to search for secrets managers, S3 buckets, and parameter stores. They used the bait keys tens of thousands of times in API calls. Additionally, Moore identified certain resellers that intentionally lowered their prices, turned on request logging, and harvested the prompts themselves.
Why it matters
This experiment exposes fundamental vulnerabilities in how artificial intelligence intermediaries handle confidential corporate and personal data. When developers and users send private code, passwords, or proprietary information into an AI application, that data passes through a chain of third-party brokers and hosting providers that may log, store, or inadequately protect it.
The exposure of functional cloud credentials allows malicious actors to instantly infiltrate enterprise cloud infrastructure. Attackers demonstrated that they can immediately weaponize stolen keys to harvest further data, create new user accounts, and hijack cloud resources. This undercuts the security guarantees promised by privacy flags and zero-data-retention policies.
The background
Artificial intelligence models require significant computing power and specialized infrastructure to run, which has led to a complex ecosystem of intermediaries. AI routers and inference resellers emerged to help developers optimize costs and switch dynamically between different underlying models. These services sit between the end user and the final hosting provider.
Canaries have long been used in cybersecurity and safety engineering, named after the birds once carried into coal mines to detect invisible toxic gases. In this context, they serve as unique, trackable pieces of data that reveal precisely which link in a supply chain fails or leaks information.
What happens next
The reports do not specify what legal or remediation steps the affected hosting providers and AI routers are taking, nor whether the broader industry will implement standardized restrictions on prompt logging.
Key takeaways
- Security researcher HD Moore planted two million trackable secrets into AI service requests to test how sensitive information is handled.
- Intermediary AI routers and inference resellers must decrypt prompts to read them, creating multiple opportunities for data logging and interception.
- Attackers compromised three separate hosting providers and stole hundreds of AWS access keys shortly after they were seeded.
- Stolen credentials were used tens of thousands of times in API calls as attackers searched cloud infrastructure for further secrets.