Your AI Prompts May Be Leaking: What 2 Million Canary Tokens Revealed

A five-month experiment by Dragos researcher HD Moore found compromised AI providers, resellers logging prompts, and privacy flags being ignored. Here is what IT teams should do now.

If your team pastes API keys, passwords or internal links into AI prompts, new research suggests those secrets may travel much further than you think. Security researcher HD Moore, chief research officer at Dragos, spent five months tracking what happens to prompt data after it leaves the user. The results were published this week.

What the experiment did

Moore’s team sent nearly two million prompts to AI services. Each one contained a unique “canary”: a fake but trackable credential or link, such as an unused AWS access key, an SSH password or a private repository URL. If a canary was ever used, the team could trace exactly which link in the chain had exposed it.

What they found

  • Three compromised providers. Attackers appeared to be taking prompt data from three AI hosting providers. In the largest incident, around 200 planted AWS credentials were exposed during several windows in late October.
  • Resellers logging prompts. Some resellers in the AI marketplace captured customer prompts through built-in logging and passed the contents to other parties.
  • Privacy settings not honored. Some providers ignored user privacy flags, including Zero Data Retention (ZDR) settings.

The key lesson is that a prompt is not only seen by the model provider. It can pass through routers, gateways, resellers and hosting providers, and any of them can become a leak point.

What IT teams should do now

  1. Never put live secrets in prompts. Use placeholders for keys, passwords and tokens.
  2. Know your AI supply chain. List every router, gateway and reseller your tools use, and prefer direct, reputable providers for sensitive work.
  3. Do not rely on ZDR labels alone. Treat them as a promise to verify, not a guarantee.
  4. Rotate exposed credentials. If a key has ever appeared in a prompt, replace it and review its access logs.
  5. Try canaries yourself. Planting unique fake credentials in test prompts is a cheap way to detect leaks.
  6. Add secret scanning. Filter prompts for credentials before they leave your network.

Using AI safely in your business

None of this means you should avoid AI. It means AI tools should be set up with care. When we build AI automation and AI solutions for clients, we think about where data goes, which services touch it and what should never be sent at all. The same care applies to the websites and apps we develop, especially when they connect to AI services.

You can see the kind of work we deliver on our projects page, browse our full list of services, or read more practical guides on the Hansh Digital blog.

The bottom line

As AI tools move into daily IT work, prompts have become a new place where sensitive data can leak. Treat every prompt as something that may be stored, logged or read by someone you never chose. If you want a second opinion on how your business uses AI, contact our team for a free consultation.

Source: research by Dragos, led by HD Moore, published in November 2026.

Facebook
X
LinkedIn