Insights AI News AI Prompt Data Leakage Risks: How to Protect Secrets
AI Prompt Data Leakage Risks: How to Protect Secrets (AI-generated)AI-generated

AI News

03 Dec 2026

Read 12 min

AI Prompt Data Leakage Risks: How to Protect Secrets

AI prompt data leakage risks expose secrets across service chains; learn how to protect sensitive data.

AI prompt data leakage risks extend beyond the chatbot you use. Researcher HD Moore sent nearly two million prompts containing trackable secrets through AI services and found evidence of stolen credentials, prompt logging, and privacy failures. Reducing exposure starts with keeping secrets out of prompts and knowing which providers handle your data.

Key takeaways

  • HD Moore traced leaked secrets by placing unique credentials and URLs in nearly two million AI prompts.
  • The research found evidence that attackers compromised at least three AI providers.
  • Some prompts marked Zero Data Retention still triggered credential misuse or delayed URL access.
  • Moore recommends self-hosting or working directly with a first-tier provider to reduce exposure.

An AI app may look like a single service, but your request can pass through several companies before you receive an answer. Each handoff adds another place where someone could read, store, or steal your information. Moore’s experiment made that hidden path easier to track.

How do AI routers create AI prompt data leakage risks?

AI routers add exposure points because they pass readable prompts between apps, model providers, and hosting services.

Services such as OpenRouter or Vercel can act as brokers. Rather than connect directly to Anthropic, OpenAI, or another provider, an app developer asks a router to find a suitable inference service. The router may choose based on price, availability, or the task.

A request can then pass through another router or a hosting provider. Encryption protects the prompt during transit, but services handling it decrypt it along the way. That means encrypted transport does not keep the content hidden from every company in the chain.

Each service may also keep logs under its own policies. A user who trusts the app’s privacy promise may not know which other businesses receive the same information.

How did the digital tripwires reveal leaked prompts?

Moore placed a unique, trackable secret in each test prompt and monitored whether anyone later used it.

Moore, the chief research officer of security firm Dragos, used working Amazon Web Services access keys tied to empty accounts. He also planted SSH passwords, unique URLs, DNS names, and private git repository references.

These secrets had never been used before. Moore controlled the infrastructure that would receive requests involving them, and each secret appeared in exactly one prompt sent to one provider.

These digital “canaries” connected later activity to a specific request. If someone tested an AWS key or visited a hidden URL, Moore could trace where he had sent it. Comparing the same model across different sellers also helped separate reseller problems from model-provider problems.

What happened after attackers obtained the credentials?

Attackers tested stolen keys, searched cloud accounts, and tried to create lasting access.

The research found evidence of compromises at at least three AI providers. At one provider, attackers reused “a couple hundred” AWS keys from requests sent during short windows in late October. Moore reported that every test request sent during those windows was stolen.

Some stolen keys came from requests the provider rejected before a model ran. That finding pointed to theft at the provider’s entry point rather than deeper in the model system.

The activity went well beyond opening a link. Parties using the bait credentials:

  • Searched S3 buckets, secrets managers, and parameter stores for more credentials.
  • Tried to enable hosted models in AWS Bedrock.
  • Added IAM users to maintain access.
  • Made tens of thousands of AWS API calls.

Secrets sent to two compromised providers were quickly used together from the same rented server. Moore considered that strong evidence of a shared attacker.

Did resellers and privacy labels fail users?

The findings linked some exposure to resellers and showed that privacy labels did not prevent every misuse.

Moore identified resellers that offered low prices, logged requests, and somehow passed credentials to people who used them. He tested the same model through different sellers. When only one seller’s prompts led to credential reuse, the evidence pointed to that reseller.

Other findings involved delayed access to secret URLs. A Chinese AI lab’s systems fetched URLs from more than half of the prompts sent to its models between July and October. This included roughly two-thirds of requests marked “no data collection” or Zero Data Retention.

The same scraper appeared after requests went through several US hosting providers selling that lab’s models. According to Moore, those prompts flowed back to the lab despite the customer choosing a US provider.

One US hosting provider accessed a secret URL more than two months after a single request to its search endpoint. These findings show why AI prompt data leakage risks cannot be judged from privacy labels alone.

What did OpenRouter disclose in the November 21 update?

The November 21 update reported that OpenRouter notified customers that some prompts may have been read.

According to posts on Hacker News and X cited in the source, OpenRouter’s email connected the potential exposure to prompts sent to MiniMax, a China-based model provider.

OpenRouter said the planted URLs were accessed after prompts reached MiniMax directly or through AtlasCloud, Novita, and StreamLake. It also removed the “Zero Data Retention” label from MiniMax-model endpoints.

This notice concerned potential prompt exposure. It should not be read as identifying MiniMax as one of the three providers Moore said attackers had compromised.

How can you reduce exposure when using AI services?

You can reduce exposure by limiting sensitive prompt content and shortening the chain of companies that handles it.

Keep working secrets out of prompts

Use placeholders instead of live access keys, passwords, or private repository details whenever possible. Moore’s bait accounts were empty, but real credentials could give an intruder access to valuable systems. Removing those credentials reduces what a leaked prompt can expose.

Choose providers instead of accepting default pools

Moore advises users to select upstream providers themselves rather than accept default reseller pools. Developers should identify who receives requests and check what the applicable privacy policies promise.

Price alone does not reveal how a service handles data. The experiment showed that low-cost resellers could become a route for prompt theft.

Consider direct service or self-hosting

Moore described on-premises model hosting as the strongest option for preventing this kind of leakage, though it is expensive. His next-best choice is direct service from a first-tier provider, with one contract and privacy policy to review.

Neither choice makes security automatic. However, reducing intermediary access can reduce AI prompt data leakage risks and make responsibility clearer.

Our take

The main advance is traceable evidence of what happens after prompts leave an app, rather than another privacy promise to evaluate. In our view, the credential reuse is especially important because it shows active exploitation, not just possible exposure.

Companies and developers should examine their full provider chain. Consumers should avoid assuming that a familiar app controls every downstream service. Readers in Germany and the EU face the same practical question: which companies actually receive their prompts? Choosing a provider in one country did not always keep processing there in this experiment.

One open question is how much URL fetching reflects automated security checks rather than unrelated data collection. A URL visit alone cannot establish intent, although that uncertainty does not explain the reported AWS credential abuse.

In the coming weeks, watch for provider disclosures, clearer routing information, and changes to retention labels. OpenRouter’s reported MiniMax notice makes those updates worth checking.

AI prompt data leakage risks make provider choice and prompt content part of the same security decision. Keep live secrets out of requests, identify the companies handling them, and prefer fewer handoffs when sensitive data is involved.

(Source: https://arstechnica.com/security/2026/11/a-leaky-ai-supply-chain-is-exposing-secret-user-data-at-an-alarming-rate/)

For more news: Click Here

FAQ

Q: What are AI prompt data leakage risks? A: They arise when prompts containing sensitive information pass through apps, AI routers, model providers, and hosting services that may read, log, or expose them. HD Moore’s research found evidence of stolen credentials, prompt logging, and privacy failures across this chain. Q: Why can AI routers expose prompt data? A: Routers decrypt prompts to select and route them, and requests may then pass through additional routers or hosting providers. Each service can potentially access or log readable content under its own policies. Q: How did the researcher identify which services leaked information? A: HD Moore placed unique AWS keys, SSH passwords, URLs, DNS names, and private repository references into individual prompts, then monitored for later use. Because each secret was sent to one provider, observed activity could be linked to a specific request and compared across sellers. Q: What did attackers do with credentials from the test prompts? A: They tested AWS keys, searched cloud storage and secret-management services, tried to enable hosted models, and added IAM users to maintain access. The research reported tens of thousands of AWS API calls using the bait credentials. Q: Does a Zero Data Retention setting guarantee prompt privacy? A: No; some requests marked Zero Data Retention or “no data collection” were still associated with credential misuse or delayed URL access. A privacy flag also cannot prevent theft if a provider is already compromised. Q: What did the OpenRouter update say about MiniMax? A: The November 21 update said OpenRouter notified customers that some prompts may have been read and connected the potential exposure to MiniMax, directly or through AtlasCloud, Novita, and StreamLake. OpenRouter also removed the Zero Data Retention label from MiniMax-model endpoints. Q: How can users reduce AI prompt data leakage risks? A: Keep live credentials and other secrets out of prompts, using placeholders when possible, and choose upstream providers instead of default reseller pools. Check which companies receive prompts and review their privacy terms. Q: Is self-hosting the only way to prevent prompt exposure? A: No, but Moore described on-premises hosting as the most effective option for preventing this kind of leakage and noted that it can be expensive. Direct service from a first-tier provider may reduce intermediary access, though it cannot guarantee that no data will leak.

Keep reading, keep building

Three things from our own workshop that fit this topic:

Our own products. Tech Moments is our newsletter on AI and tech in plain language, one email, no noise. Subscribe below.

Tech Moments newsletter

A weekly dose of actionable AI knowledge. The sign-up form is provided by Beehiiv and only loads once you accept marketing cookies.

Contents