AI news

A researcher hid 2 million fake passwords in AI prompts. Here's where they leaked, and how to keep your secrets out

· 6 min read · Drafted with AI help, reviewed by Kepler Oates

Illustration for: A researcher hid 2 million fake passwords in AI prompts. Here's where they leaked, and how to keep your secrets out

What happens to a prompt after you hit send? A security researcher just ran the biggest test yet, and the answer should change how anyone uses AI tools for work.

HD Moore, chief research officer at the industrial security firm Dragos, spent five months, July through November 2026, sending about two million prompts to widely used AI services. Each prompt carried a fake secret that existed nowhere else: a never-used AWS access key, an SSH password, a unique web link or a private code repository address. Then his team watched where those secrets turned up.

They turned up in a lot of places they shouldn't have. Dragos published the findings on November 19, and Ars Technica and others picked them up over the following days.

What the test found

1. Hackers were already inside at least three AI hosting providers. None of the providers knew until Dragos told them, and the earliest break-in dates to mid-July.

  • In the biggest case, every request sent during a few short windows in late October was stolen, including requests the provider rejected before any model ran. That suggests the data was copied at the front door.
  • About 200 fake AWS keys were taken. Attackers tested them, sometimes within hours, then searched for stored data and tried to create their own accounts. The keys drove tens of thousands of AWS API calls.
  • On November 1, one attacker even used an AI-driven hacking tool called ARTEX.

2. Some resellers simply read people's prompts. On one AI marketplace, some sellers listed a model at the lowest price, switched on request logging, and waited.

  • These turned out to be individuals on home internet connections. They tried the passwords they found in prompts against Dragos's test servers. In one case, a Mac in France tried passwords from two prompts as the server's root password.
  • The same model bought through a different seller stayed clean, so the leak followed the seller, not the marketplace.
  • One router was quietly forwarding some traffic to that marketplace. It stopped after Dragos notified it.

3. Privacy settings were often ignored.

  • One Chinese AI lab fetched the secret links in more than half of the prompts sent to its models from July to October, including about two-thirds of requests marked "no data collection" or Zero Data Retention (ZDR).
  • U.S. companies reselling that lab's models triggered the same scraper, so prompts flowed back to the lab anyway.
  • A secret link from a ZDR-flagged prompt sent to a U.S.-based provider showed up 24 days later in a Feishu company chat, and was opened from six devices in Beijing and Shanghai within two minutes.
  • One large U.S. provider kept visiting a secret link for more than two months after a single request.

Who's been named so far. Dragos didn't name the three breached hosts. AI Weekly, summarizing Ars Technica, reports that resellers AtlasCloud, Novita and StreamLake forwarded requests to the Chinese provider MiniMax between September 23 and October 19. OpenRouter, a popular AI router, told customers that third parties may have read prompts on affected endpoints labeled ZDR, and removed the ZDR label from those MiniMax endpoints while it investigates. Separate disclosures also came from Phala and Together AI, each with a different cause.

Why a "no retention" checkbox isn't a lock

Here's the core problem. Today, a single AI request can pass through several companies before a model ever sees it:

InteractiveWhere a prompt can travelTap each hop. Every one can read the prompt in plain text.
  1. Your app or tool The chatbot, coding agent or plugin you use. It sends whatever it can read, including files and pasted credentials.
  2. Router A service that picks a provider by price or speed. It can retry or fall back to providers you never chose.
  3. Reseller A marketplace seller offering a model cheaply. Some in the study logged prompts and read them.
  4. Hosting provider The company running the model's servers. Three were breached without knowing it.
  5. Model lab The company that made the model. One lab scraped links even from 'no data collection' requests.

Based on Dragos and CCTest.

A ZDR or "no data collection" setting is a request to the next company in line, not a lock. Dragos puts it this way: a privacy flag "only binds the first hop." And as AI Weekly notes, no setting can protect data from an attacker who already controls a provider's systems.

That's also why AI agents raise the stakes. Dragos warns that agents will send anything they can read, including credentials sitting in a project folder or a config file.

Your options, from safest to riskiest

Dragos's recommendations line up into a clear ladder:

OptionWho can read your promptsEffort and costMain risk
Self-host the modelOnly youHigh: hardware is expensiveYour own security
Go direct to a first-tier providerOne company, one privacy policyLowThat provider's breach or data-sharing
Router with providers you pin yourselfRouter plus the providers you choseMedium: you must set and check routingSilent fallbacks to other providers
Open reseller marketplace, cheapest sellerUnknown sellers, hosts and labsLowest priceSellers logging and reading prompts

Dragos's top advice:- Self-host if you can afford it. It's the only option where no one else can read your prompts.- Otherwise, go direct to a first-tier provider.- If you use a router, choose upstream providers yourself and confirm your privacy settings actually change the routing.- Avoid reseller marketplaces.- Turn on secret filtering where it's offered.- Plant your own fake credentials and treat any use of them as an incident.

Dragos is also clear that the answer isn't to stop using AI. It's to decide where your prompts go.

A worked example: is the cheap route worth it?

Say you run a small business chatbot or a side-project coding agent that spends about $100 a month on AI through a router. A reseller offers the same model 30% cheaper. These numbers are our own illustration, not from the study.

  • Savings: 30% of $100 = $30 a month, or $360 a year (our arithmetic).
  • What's now in the chain: your app, the router, an unknown seller, a host and the model lab. That's up to four outside parties that can read each prompt, versus one if you go direct.
  • What could leak: customer messages, your source code, and any key an agent picks up from your files. In the study, stolen cloud keys were being tested within hours.

One leaked cloud key or a breach of customer data can cost far more than $360 to clean up: rotating credentials, checking accounts, telling customers. For most small users, paying full price to go direct is the cheaper choice once you count the risk.

What it means for you

  • If you just use ChatGPT, Claude or Gemini in their own apps: this study was about the plumbing behind AI services, especially routers, resellers and hosts. Using a big provider's own app is the "go direct" option, with one company and one privacy policy. Still, never paste real passwords, API keys or recovery codes into any chatbot.
  • If you build with AI (apps, bots, agents):
  • List every company your requests pass through, and pin providers instead of accepting a default pool.
  • Switch off automatic fallbacks you didn't choose.
  • Scrub keys and passwords from prompts in your own code before requests leave your network.
  • Keep real credentials out of folders your agents can read.
  • If you ever pasted a key into a prompt: rotate it now. The dev.to guide also suggests checking cloud logs for the ARTEX user agents Dragos published.
  • If you're shopping on price: the cheapest AI endpoint can be cheap because someone is collecting your data. The leak followed the seller, so who you buy from matters more than the model name.

Who this affects

  • Developers and small businesses using AI routers or marketplaces are most exposed. Check whether your traffic touched the affected providers between July and November 2026.
  • Companies with "zero retention" contracts should confirm what happens past the first company in the chain.
  • Everyday chatbot users are least affected, but the habit still holds: secrets never go in prompts.

Sources

Not financial advice. This summarizes public reporting for information only. It is not investment, tax or legal advice. Do your own research or talk to a licensed professional.