top of page

Your Prompts Are Leaking Into AWS: What the Dragos Canary Research Means for Your AI Supply Chain

Writer: Aman Bansal
Aman Bansal
11 minutes ago
7 min read

Between July and November 2026, researchers at Dragos ran a simple test. They sent roughly two million AI prompts to widely used AI inference services. Each prompt carried a unique, trackable secret: a fake AWS key, a unique URL, or a unique DNS name. Then they watched what happened to those secrets.

The secrets got used. Attackers tested stolen AWS keys within hours. They used them to list S3 buckets and to search Secrets Manager and Parameter Store. Then they tried to create Bedrock API keys and IAM users. In total, the stolen keys drove tens of thousands of AWS API calls.

Three hosting providers were breached. None of them knew until Dragos told them. And the privacy setting most teams rely on, Zero Data Retention, did not hold.

If your engineers, your agents, or your pipelines send prompts to hosted models, this is your problem now.


What Dragos found

The method is the oldest trick in detection engineering: a canary. The idea is simple. Put a secret in exactly one place. If anyone uses it, that place leaked.

Dragos, led by Chief Research Officer HD Moore, seeded every prompt with a unique AWS key, DNS name, and URL. They ran the services those credentials point to with full logging turned on. So every touch traced back to the exact prompt, model, router, and privacy setting that carried it.

Three findings came out of it.

1. Three providers were compromised, and the theft happened at the front door. The earliest breach dates to mid-July. In the largest one, a couple hundred canary AWS keys were stolen during a few short windows in late October. Every request sent during those windows was taken. That includes requests the provider had rejected before any model ran.

The attacker was not deep inside the inference stack. They were copying requests as they arrived, right at the provider's front door.

In the other two breaches, some stolen requests were marked Zero Data Retention. A privacy flag does not help when the attacker is already inside.

2. Marketplace resellers read prompts with nothing more than standard logging. On open-marketplace routers, anyone can list a model for sale, and the lowest price wins the request. Dragos caught individual sellers opening secret URLs in browsers and guessing usernames by hand. The sellers looked like they were working from home internet connections.

In one case, a seller on a Mac in France took passwords from two prompts and tried to log in as root over SSH. He typed each attempt by hand. No exploit. No bypassed control. List the model cheap, turn on request logging, and wait.

3. Privacy settings were ignored at scale. A Chinese AI lab's systems fetched the secret URLs from more than half of the prompts sent to its models between July and October. That includes roughly two-thirds of the requests marked "no data collection" or Zero Data Retention. The fetches usually came two or three days after the request.

There is a catch for U.S. customers. Several U.S. hosting providers resell that lab's models. So prompts sent to a U.S. provider triggered the same scraper. A customer who picked a U.S. provider to keep data in the U.S. did not get what they paid for.

The strangest incident came last. A secret link from a prompt was posted into a Feishu (Lark) company chat 24 days later. Within two minutes, it was opened from six devices in Beijing and Shanghai. Dragos had only shared the first eight characters of that link when they disclosed the research. So whoever posted it was reading from a stored copy of the full prompt.

The fallout landed fast. On November 22, OpenRouter off-boarded three providers and removed 125 endpoints from Zero Data Retention eligibility, some as a precaution. It also notified customers who may have been affected. BleepingComputer identified the three providers as Together AI, Phala, and Novita, as reported via SC World.

Each provider then explained its part. Phala said an attacker took control of an inference VM. It said DeepSeek V4 Flash requests routed by OpenRouter between October 21 and November 8 should be treated as exposed. Together AI said an AI coding agent committed a credential to a public GitHub repository, and an unauthorized party downloaded stored prompt samples from June and July. Novita said a routing misconfiguration sent some MiniMax requests to MiniMax's official API between May 28 and November 11.

Then, on November 24, MiniMax admitted its own security monitoring had pulled URLs from forwarded requests into logs and probed some of them. That included requests labeled Zero Data Retention. The system was enabled by default.

Why this is a cloud security story

Look at the attacker path again. It has three steps.

First, validate the key. One key seeded on October 21 was used the next day, and it was still in use three weeks later.

Second, enumerate storage and secrets: `ListBuckets` on S3, then searches of Secrets Manager and Systems Manager Parameter Store.

Third, set up persistence: attempts to enable Bedrock models, create Bedrock API keys, and add IAM users.

The lesson is simple. The prompt delivered the credential. The credential opened the cloud account.

The tooling changed over the three weeks Dragos watched. It started as a script posing as Chrome on Windows. Then it was Boto3 running inside OrbStack. Then it was the AWS CLI from Kali Linux.

On November 1, the attacker added ARTEX, an LLM-driven penetration-testing framework, to check whether stolen keys were still live. Two of its user agents, `artex-agent` and `artex-judge-r121`, do not appear in any public indicator list Dragos could find. Add them to your detections.

The attacker did announce themselves. Kali and ARTEX both showed up in the user agent field AWS records in CloudTrail. But that self-identification appeared in only a small fraction of the traffic. If our detection for stolen-credential abuse depends on a known-bad user agent, we are catching only the careless minority.

Your prompts are a data egress channel

Most of us still think about AI inference as a question and a response. Text goes in. Text comes back.

The Dragos research is a reminder that the request path is a supply chain. Every hop can see the full prompt and the full response. A router forwards your request to a pool of models. Sometimes it goes through more than one router. Sometimes it lands with a reseller. Sometimes it lands with a model lab in another country. The path you were sold is not always the path your data took.

Dragos traced about two thousand routes. Several hundred included a system it could not identify. A handful sent data to a company that was not on the advertised path at all.

Our prompts hold the same things our exfiltration controls are supposed to protect: source code, internal communications, strategic plans, customer information, and credentials. AI agents make this worse. An agent will happily send whatever it can read into a prompt, including credentials.

And Zero Data Retention, the setting we point to in risk assessments, only binds the first hop. The router promises not to store your prompt. It cannot make the same promise for the provider it forwards to, the lab that provider resells, or the attacker already inside that provider.

Dragos put it bluntly: "In practice, these prompts were retained, shared with other companies, and read by people."

What to do this week

1. Find out where your prompts actually go. Inventory every path by which prompts leave your environment: direct provider APIs, routers like OpenRouter, AI coding tools, agents, and any internal gateway. For each path, name the upstream provider. Not just the brand on the API key - name who actually serves the model. If we cannot name the company hosting the GPU, we do not have a data-processing inventory. We have a hope.

2. Pin your providers and stop accepting the default pool. If you use a router, set it to route only to specific providers you have vetted. Do not let price or availability pick for you. Stay away from open reseller marketplaces entirely. Some of that capacity is billed to stolen credentials. Treat the "cheapest model endpoint" the way we treat an unvetted third-party dependency. It is not a bargain. It is an unreviewed supply chain.

3. Assume prompts have leaked and hunt accordingly. If your teams used any of the affected providers, treat any secret that could have been in a prompt during those windows as exposed. The windows are: OpenRouter's November 22 notice; Phala's DeepSeek V4 Flash window, October 21 - November 8; Together AI's June-July samples; and Novita's MiniMax routing, May 28 - November 11. Rotate those secrets.

Then hunt in CloudTrail for the abuse pattern: `GetCallerIdentity` and `ListBuckets` from unfamiliar user agents, Secrets Manager and SSM Parameter Store enumeration, `CreateUser`, `CreateAccessKey`, and Bedrock API key creation from IPs with no business reason to be there. Add `artex-agent` and `artex-judge-r121` to your detections.

4. Seed your own canaries. This is the cheapest control in the whole post. Add a fake credential to the context your agents and pipelines already send. Treat any use of it as an incident. A free Canarytoken from Thinkst is enough to start today.

If we run AI agents with broad read access, canaries are the only way we will ever know what those agents are actually exfiltrating. The agent will not tell us. The provider's privacy policy will not either.

5. Scrub secrets, and stop treating ZDR as a control. Turn on any provider setting that scrubs known credential formats from prompt data. But the durable fix is architectural. Keep credentials out of agent context. Give agents scoped, short-lived credentials that are useless outside the task they were issued for.

And stop writing "ZDR" in your risk assessment as if it were a control. Zero Data Retention is a contractual promise from one company about its own storage. It is not a technical guarantee. It does not survive the next hop. This week proved it does not survive a breach or a misconfiguration either.

If your data classification says a prompt cannot leave your environment, you have two compliant options: self-hosting, or a first-party provider under a contract you can actually enforce. Even then, verify.

None of this means stop using AI services. It means where your prompts go is a decision. If we do not make it, the lowest price will make it for us.

Sources

Recent Posts

See All

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

Stay informed with the latest trends and insights in cybersecurity. 

    © 2023 by BansalOnSecurity. All rights reserved.

    bottom of page