AI services that promise cheaper access to powerful language models may expose users to security and privacy risks that are difficult to detect. A five-month investigation by cybersecurity company Dragos found evidence that attackers had compromised at least three AI inference hosting providers, while some marketplace resellers were independently collecting customer prompts and attempting to use credentials contained inside them.
The investigation, led by Dragos Chief Research Officer HD Moore, involved approximately two million AI requests containing unique, trackable credentials and secret URLs. Conducted between July and November 2026, the experiment revealed that sensitive information could travel through multiple intermediaries, reach organisations users never intended to share it with and, in some cases, be accessed by attackers. The findings also raised questions about whether providers were honouring privacy promises such as Zero Data Retention (ZDR).
Key Takeaways
- Two million test prompts: Dragos planted unique credentials and secret URLs in approximately two million AI requests between July and November 2026.
- Three compromised providers: Researchers found evidence that attackers had accessed data passing through at least three AI hosting providers.
- AWS credentials stolen: Hundreds of test AWS keys were harvested in the largest incident, with attackers subsequently making tens of thousands of AWS API calls.
- Cheap resellers exposed prompts: Some marketplace sellers allegedly used ordinary request logging to collect customer information without exploiting a technical vulnerability.
- Privacy promises failed: A Chinese AI lab accessed secret test URLs in more than half of the prompts sent to its models during a particular testing period, including many marked for Zero Data Retention.
- OpenRouter responded: The AI marketplace removed three providers and revoked ZDR approval for 125 endpoints, according to reporting on its response.
How Security Researchers Tested the AI Supply Chain
The investigation was designed to answer a straightforward question: What happens to information after a user sends a prompt to an AI model through an inference provider or marketplace?
To investigate, Moore created unique digital credentials and URLs that had never been used before. These included AWS access keys, SSH passwords, DNS names, private Git repository references and secret web addresses.
Each secret was inserted into a specific AI request sent through a particular provider. The researchers controlled the infrastructure associated with those credentials and monitored it for unexpected activity.
This technique is known as using a canary token. A canary is a unique piece of information that acts as a digital tripwire. If someone accesses it unexpectedly, researchers can identify that the information has travelled beyond its intended destination.
Because every test secret was unique, the team could connect suspicious activity to the exact prompt, model, provider and routing path involved.
The experiment covered approximately two million prompts and around 2,000 traced inference routes.
Three AI Hosting Providers Were Compromised
The most serious discovery involved attackers who had gained access to three separate AI hosting providers.
Dragos said the earliest incident dated back to the middle of July 2026. None of the three providers knew about the compromise until researchers notified them.
The largest incident involved hundreds of AWS credentials planted in test prompts. Every test request sent through the affected provider during several short periods in late October was stolen.
Some credentials were taken from requests that the provider had rejected before a model was even executed. This suggested that the attacker was copying incoming requests at the provider’s entry point rather than extracting information from the model’s processing environment.
The stolen credentials were subsequently tested to determine whether they were active.
According to Dragos, attackers used the credentials to:
- Inspect Amazon S3 storage buckets.
- Search AWS Secrets Manager and Systems Manager Parameter Store.
- Attempt to activate hosted models through Amazon Bedrock.
- Create additional API credentials.
- Add their own AWS identity and access management users to maintain access.
The researchers recorded tens of thousands of AWS API calls involving their planted credentials.
One test AWS key was first used the day after it was planted and remained active in suspicious activity three weeks later.
Dragos also found evidence suggesting that the same adversary had compromised two providers. Credentials sent through both services were used almost immediately from the same rented server.
The findings demonstrate how a compromised inference provider can become an entry point into systems beyond the AI application itself.
Cheap AI Resellers Could Read Prompts Without Hacking Anything
Another important discovery involved AI inference marketplaces.
Services such as OpenRouter allow developers to access different AI models through a common API. Instead of managing separate accounts with multiple model developers, customers can route requests through an intermediary that selects an available provider.
Some marketplaces allow different sellers to offer access to the same model at competing prices.
Dragos found that certain resellers could access customer prompts through ordinary request logging. They did not need to exploit a software vulnerability or bypass the marketplace’s security controls.
The process was relatively simple: list a popular model at a competitive price, attract customer requests, enable logging and retain the information passing through the service.
The researchers identified suspicious activity by sending similar requests for the same model through different sellers. When planted credentials were accessed after passing through one seller but remained untouched after passing through another, the researchers could isolate the source of the leak.
In one incident, someone using a residential internet connection opened secret URLs from two test prompts approximately a day and a half after they were submitted.
In another case, an individual operating from a Mac on a residential connection in France attempted to use passwords from test prompts to log in as root over SSH. The same computer later tested several AWS keys.
These findings raise concerns about marketplaces where customers select providers primarily on price without knowing who ultimately processes their requests.
Zero Data Retention Settings Did Not Always Protect Users
The investigation also uncovered cases where providers appeared to disregard privacy settings or published data-handling commitments.
Zero Data Retention is a privacy arrangement under which a provider agrees not to retain customer prompts and responses after processing them, subject to the specific service terms and exceptions.
Dragos found that some providers appeared to access or retain information even when requests were marked with ZDR or no-data-collection settings.
The clearest example involved a Chinese AI laboratory. Its systems accessed secret URLs contained in more than half of the test prompts sent to its models between July and October.
Approximately two-thirds of the affected requests carried ZDR or no-data-collection flags.
The activity was not limited to requests sent directly to the laboratory. Several US-based hosting providers resold its models, and prompts sent through those providers triggered the same URL-access activity.
This meant that a customer choosing a US-based intermediary to keep information within the United States could still have prompts accessed by another organisation further along the supply chain.
Dragos also reported that a secret URL from one prompt appeared in a Feishu workplace chat 24 days after the original request. The link was then opened on three computers and three phones in Beijing and Shanghai within two minutes.
In another case, a US provider continued crawling a secret URL more than two months after a single inference request.
The findings show why a privacy label at the first service in an AI routing chain does not necessarily guarantee that every organisation handling the request follows the same restrictions.
How AI Routers Create Additional Security Risks
AI routers are designed to make model access easier and sometimes cheaper. They provide a common interface that can send prompts to different model developers and hosting providers.
However, each additional intermediary creates another point where sensitive information may be exposed.
A typical request can travel through several stages:
- A user submits a prompt through an AI application.
- The application sends the request to an AI gateway or router.
- The router selects an inference provider.
- The provider forwards the request to a model hosted on its infrastructure.
- The model generates a response, which travels back through the same chain.
Each organisation handling the request may be able to read its contents after the encrypted connection is terminated at that stage.
The risk increases when marketplaces add undisclosed providers or intermediaries to the routing process.
Dragos traced approximately 2,000 routes and found examples of systems that were not clearly identified in the advertised path. In one case, a router quietly forwarded some traffic to an additional marketplace.
This makes it difficult for customers to understand exactly where their information goes.
The problem is particularly serious for AI agents and coding assistants, which may have access to source code, environment variables, database credentials, customer information and internal business documents.
OpenRouter Removes Providers After the Findings
The research prompted action from OpenRouter, one of the AI inference marketplaces mentioned in the investigation.
According to reporting by Ars Technica, OpenRouter notified affected customers that some prompts sent to MiniMax models may have been read by third parties.
The company said the researchers’ planted URLs were accessed whether requests went directly to MiniMax or through three resellers: AtlasCloud, Novita and StreamLake.
OpenRouter removed three providers from its platform and removed the Zero Data Retention label from 125 endpoints as part of its response and precautionary measures.
The marketplace also emailed affected users.
These actions highlight the challenge of managing privacy across a marketplace where the model developer, hosting provider and reseller may be separate organisations.
A customer may believe that a request is going to one provider when the actual processing path involves several businesses.
What Dragos Recommends to Protect AI Data
Dragos said the findings do not mean organisations should stop using AI services. Instead, businesses need to understand where their prompts are being sent and which companies can access them.
The researchers recommended several measures.
Choose providers directly: Organisations should avoid automatically accepting default reseller pools and select upstream providers themselves whenever possible.
Avoid sending credentials in prompts: API keys, passwords, access tokens and other secrets should not be included in ordinary AI requests.
Review privacy policies: Businesses should understand the data-retention policies of every organisation involved in processing their prompts.
Use controlled routing: Companies should know which providers handle their requests and avoid undisclosed intermediaries.
Deploy canary tokens: Unique test credentials and URLs can help security teams detect unexpected access to information sent through AI services.
Consider self-hosting: Running models on infrastructure controlled by the organisation can reduce exposure to third-party inference providers, although it involves additional costs and operational responsibilities.
Dragos also recommended using a direct relationship with a first-tier provider rather than relying on a long chain of resellers when self-hosting is not practical.
The Bigger Picture
The investigation exposes a growing security challenge in the AI industry: the supply chain behind a model can be as important as the model itself.
Businesses increasingly use AI tools to analyse source code, process internal documents, answer customer questions and automate operations. These applications may contain information that is commercially sensitive or capable of granting access to company systems.
However, the data does not necessarily remain with the AI company that customers recognise. It can pass through gateways, hosting providers, marketplace sellers and other intermediaries, each with its own security practices and data-retention policies.
The findings also show that lower prices can come with hidden trade-offs. A cheap inference service may offer attractive access to powerful models, but customers need to understand how the provider delivers that service and whether it can be trusted with confidential information.
What Happens Next?
The immediate challenge for AI marketplaces and inference providers will be to demonstrate that their security and privacy controls extend across every organisation involved in processing a request. Providers will also need clearer disclosure of routing paths, stronger oversight of resellers and faster incident notification when customer information may have been exposed. The response from OpenRouter and preliminary security reports from affected providers indicate that the investigation is already prompting changes, although the full extent of the exposure remains uncertain.
For businesses using AI tools, the research makes one point particularly important: a privacy promise is only as strong as the weakest organisation handling the data. Companies should review their AI providers, avoid placing production credentials in prompts and treat third-party inference services as part of their security attack surface. As AI adoption expands, controlling where prompts travel could become as important as choosing which model generates the answer.
Frequently Asked Questions
1. What did security researchers discover about AI inference providers?
Researchers at Dragos found evidence of attackers stealing test credentials from at least three compromised AI hosting providers. They also identified marketplace resellers collecting prompts and providers apparently accessing information despite privacy settings.
2. How many AI requests did Dragos test?
The company submitted approximately two million prompts containing unique credentials and trackable URLs between July and November 2026.
3. What is an AI inference provider?
An AI inference provider supplies the computing infrastructure needed to run an AI model and process user requests. Some services operate as intermediaries between customers and model developers.
4. What is Zero Data Retention?
Zero Data Retention is a privacy arrangement under which a provider agrees not to retain customer prompts and responses after processing, subject to the applicable service terms and exceptions.
5. Were AWS credentials stolen during the investigation?
Attackers accessed hundreds of test AWS keys planted by researchers. They subsequently used the credentials in tens of thousands of AWS API calls, including attempts to inspect storage and create persistent access.
6. Which AI marketplace responded to the findings?
OpenRouter removed three providers and revoked ZDR approval for 125 endpoints, according to reporting about its response. It also notified affected users about potential prompt exposure involving MiniMax models.
7. Should businesses stop using third-party AI services?
The researchers did not recommend abandoning AI services. They advised organisations to select providers carefully, control routing, review privacy commitments and avoid placing sensitive credentials in prompts.
8. How can companies detect whether AI prompts have leaked?
One method is using canary tokens: unique credentials or URLs created specifically to detect unauthorised access. If someone accesses a token, security teams can investigate which prompt and service were involved.
Get the day’s top stories in your inbox
One concise email. No spam, unsubscribe anytime.



