Skip to main content
TECH MUSEINDEPENDENT TECH JOURNAL

Full Article

Useful ideas. Zero noise.

An AI Coding Agent Leaked the Keys — 2 Million Fake Prompts Just Caught AI Firms Copying Your Prompts. Was Yours One of Them?

📌 Key Facts

What: Together AI has disclosed that an unauthorized party downloaded stored samples of customer prompts after an AI coding agent committed a credential to a public code repository. Separately, security researchers at Dragos planted about 2 million fake prompts as tripwires — and caught three AI inference providers copying customer prompts, including ones marked Zero Data Retention. OpenRouter has since removed three providers from its platform.

When: Together AI published its security notice on 21 November 2026. OpenRouter announced its provider removals on 22 November. The sampled prompts date from June and July 2026; Dragos seeded its canary prompts between July and November 2026.

Who: Together AI (CEO Vipul Ved Prakash signed the notice), Dragos researchers led by chief research officer HD Moore, OpenRouter, and providers Phala and Novita — which have both published their own notices. Dragos and OpenRouter have not named all three breached or removed providers.

Why: While building its public GitHub repository xorl, an AI coding agent committed a credential that unlocked a private Hugging Face repository holding prompt samples. More broadly, the Dragos research found cheap inference providers and marketplace resellers logging and copying prompts — and even reading them by hand.

Source: Together AI security notice (21 November 2026, original disclosure); The Hacker News (22 November 2026); Notebookcheck (23 November 2026); Dragos canary-token research via The Hacker News.

⚡ Top Line

Your AI prompts were supposed to vanish the moment they were answered. Instead, they were copied, stored, searched for passwords — and in one case, the leak was caused by the very AI agent hired to write code. Researchers planted 2 million fake prompts as bait, and the trap caught an entire corner of the AI industry reading what you type.

Together AI prompt leak hero image — AI coding agent leaked keys, 2 million canary prompts caught AI firms copying prompts, 125 endpoints cut from zero data retention
An AI coding agent committed a credential to a public repo — and the keys unlocked months of stored customer prompts. Researchers' 2 million fake prompts then caught three AI firms copying what users typed.

🔥 What Happened?

On 21 November 2026, Together AI published a security notice with an uncomfortable root cause. As part of routine software testing, the company had collected prompt samples — authorized for that use — and stored them in a private Hugging Face repository. The samples came from requests to three models on its serverless inference service: MiniMax M3, GLM-5.2, and Kimi K2.6, primarily from June 24, July 4, July 8, and July 14, 2026.

While developing its public GitHub repository, xorl, an AI coding agent committed a credential that provided access to that private repository. Together AI says its automated scanning detected the exposed credential and the commit was reverted. But the exposure window was long enough: during it, an unauthorized party obtained the credential and used it to download the stored prompt samples.

What the intruder did next is the part that should worry anyone who uses AI tools. The party did not just take the prompts and leave. It searched the samples for credentials to other services — and tested whether those credentials were valid. Five of the credentials it tested turned out to be canary credentials planted as part of a security experiment by Dragos, an industrial cybersecurity firm. The canaries did their job: they proved, beyond doubt, that someone was reading the prompts.

That experiment is the bigger story. Dragos seeded about 2 million prompts with unique web links and credentials between July and November 2026, then watched for anyone using them. A planted secret can only be learned in one place — so any use of it means someone read the prompt that carried it. The findings, published this week, showed attackers had been stealing data from inside three AI inference providers for months, and none of the three knew until researchers told them.

OpenRouter, the gateway that routes customers' AI requests to a pool of third-party providers, said on 22 November that it has removed three providers from its platform, removed 125 endpoints from eligibility for Zero Data Retention, and notified all potentially affected customers. The findings showed no breach of OpenRouter itself, the company said.

🎯 Breakdown

  1. An AI agent committed the keys.

    The credential did not leak because someone pasted a secret into a public repo by hand. It leaked because an autonomous coding agent, given enough access to do useful work, committed it while building Together AI's public xorl repository. The company's own scanning caught the exposure and reverted the commit — but someone had already picked the credential up and downloaded the stored prompt samples. Together AI has now changed its rules: scoped or short-lived credentials, credential checks on every pull request, and updated processes governing AI coding agents. The lesson is blunt — if you give an agent the keys to do its job, you have to watch what it does with them.

  2. The thief went hunting for passwords inside your prompts.

    After downloading the samples, the intruder searched them for credentials to other services and tested whether they worked. Five of the credentials tested were Dragos canaries — proof the prompts were being actively mined, not just copied. Together AI says its review of the affected prompt contents is still ongoing, to determine whether sensitive personal information or other customer data was exposed, and it will contact affected customers directly. What is not yet known is whether the intruder found any real customer secrets beyond the five canaries.

  3. The canary trap: 2 million fake prompts.

    Dragos's method is what makes this story provable rather than speculative. The firm planted about 2 million prompts carrying unique secret links and credentials, then watched for anyone using them. The earliest of the three breaches began in mid-July. The planted prompts were processed alongside real customer requests — and those real requests were almost certainly copied too, the firm said. As Dragos chief research officer HD Moore put it: "A privacy flag doesn't help when the attacker is already inside."

  4. Three providers dropped, 125 endpoints cut.

    OpenRouter's response was swift: three providers removed, 125 endpoints stripped of Zero Data Retention eligibility, and every potentially affected customer notified. The 125 endpoints cover providers flagged by the researchers plus others cut as a precaution, and any endpoint removed will need assurances and validation before its status is returned. OpenRouter is now adapting the researchers' testing approach so the checks can run on an ongoing basis. But here is the gap: Dragos has not named the three breached providers, OpenRouter has not named the three it removed, and neither has said publicly whether they are the same three.

  5. The worst breach stole hundreds of AWS keys.

    The largest of the three breaches involved a couple hundred planted AWS keys, each sent in exactly one request to one provider during a few short windows in late October. Every request sent during those windows was stolen — including some the provider had rejected before a model ever ran, indicating the attacker was copying traffic at the first point of arrival. The thief tested keys within hours, listed S3 buckets, searched Secrets Manager and Parameter Store, and tried to create Bedrock API keys and add IAM users to keep access, driving tens of thousands of AWS API calls. One attacker appears to have compromised two providers at once from a single rented server, and on November 1 used ARTEX, an AI-driven penetration testing framework, to confirm keys it already held were still live.

  6. "Zero Data Retention" did not stop anyone.

    The most damning finding is that the privacy settings did not work. A Chinese AI lab, which the research does not name, fetched the secret links from more than half of the seeded prompts sent to its models between July and October — including about two-thirds of the requests marked no data collection or Zero Data Retention. One stolen link was posted into a Feishu chat 24 days after the prompt was sent, then opened within two minutes from three desktops and three phones in Beijing and Shanghai. Elsewhere, marketplace sellers listed models at the lowest prices, enabled request logging, and collected what flowed through — one person working from a Mac on home broadband in France took passwords from two prompts and typed root SSH login attempts by hand. Phala, another provider, said an attacker took control of an inference server and could view request data while it was being processed; requests to DeepSeek V4 Flash through OpenRouter between October 21 and November 8 should be treated as exposed. And Novita confirmed a routing configuration issue sent some MiniMax requests on to MiniMax's official API, beyond what was intended.

📊 By the Numbers

MetricFigure
Canary prompts planted by Dragos researchers~2 million
Providers removed from OpenRouter3
Endpoints stripped of Zero Data Retention eligibility125
Together AI prompt-sample dates24 Jun, 4 / 8 / 14 Jul 2026
Models whose prompts were sampledMiniMax M3, GLM-5.2, Kimi K2.6
Canary credentials the intruder tested at Together AI5
Planted AWS keys stolen in the largest breachA couple hundred
AWS API calls driven by the thiefTens of thousands
Days before a stolen link surfaced in a Feishu chat24
Phala exposure window (DeepSeek V4 Flash via OpenRouter)21 Oct – 8 Nov 2026
Together AI disclosure published21 Nov 2026
OpenRouter provider removals announced22 Nov 2026

⚠️ The Catch

There are real limits to what is confirmed. Together AI says its review of the affected prompt contents is ongoing — so whether real customer secrets beyond the five canaries were found is still unconfirmed, and the number of affected customers is unknown. Dragos and OpenRouter have not named the three breached or removed providers, and have not said whether they are the same three — so do not assume every provider named in this story was breached. One provider behind the mid-July breach still has not disclosed the incident publicly as of this week. Together AI says it has no reason to believe the downloaded data went further and understands it has now been deleted — that is the company's understanding, not independently verified proof. And the "2 million" figure counts the researchers' planted canary prompts, not stolen customer prompts — the real number of copied customer requests is unknown, because the canaries only prove the copying happened.

⏱️ Brief Summary

Together AI has disclosed that an AI coding agent committed a credential to a public repo, letting an unauthorized party download stored prompt samples from June and July 2026 — and the intruder then searched those prompts for other services' credentials. Separately, Dragos researchers planted about 2 million fake prompts and caught three AI inference providers copying customer prompts, including ones marked Zero Data Retention; the largest breach stole hundreds of planted AWS keys and drove tens of thousands of API calls. OpenRouter has removed three providers and cut 125 endpoints from Zero Data Retention eligibility. The privacy flag on your AI chat turns out to bind only the first company that receives it — not everyone downstream.

🌍 Why It Matters

Almost everyone now pastes real work into AI tools — code with API keys, documents with passwords, business plans, medical notes, private conversations. The deal was always that the prompt goes to one provider and disappears. This week proved the deal is broken in two directions at once: an AI agent inside a trusted company leaked the keys to the vault, and a whole layer of cheap inference providers was quietly copying, storing and even hand-reading what flowed through. "Zero Data Retention" sounds like a guarantee. The research shows it is, at best, a request — one that some providers ignored entirely. If your prompt can end up in a stranger's hands, every password, key and secret you ever typed into an AI chat is a live credential until you rotate it. That is not a hypothetical risk any more. It is a demonstrated one, with timestamps.

💡 TechMuse Insight — Verdict

Stop pasting secrets into AI chats — and stop trusting the privacy toggle to save you. The Together AI leak is embarrassing, but it is also fixable: scoped credentials, PR checks, and zero retention by default are the right moves, and the company disclosed it. The Dragos findings are the deeper problem. They show that the cheapest way to run AI models is often the leakiest — resellers, marketplaces and no-name hosts that treat your prompts as inventory. The researchers' advice is the only honest rule left: self-hosting is the only setup where no third party reads a prompt, and going directly to a first-tier provider leaves one company, one contract, and one privacy policy to check. Until then, treat every AI chat box like a public forum: never paste a live password, key, or token into it, rotate anything you already did, and plant a canary of your own — a fake credential that only exists inside your prompts — so you will know the moment someone reads them.

🔮 What's Next

Three things to watch. First, Together AI says it will contact affected customers directly as its review of the prompt contents concludes — watch for that notification if you used MiniMax M3, GLM-5.2 or Kimi K2.6 through its serverless service in June or July. Second, OpenRouter is turning the researchers' canary testing into ongoing checks and verifying network paths to find where requests get forwarded to third parties — expect more providers to be named or removed. Third, the providers that have not disclosed yet: one breach from mid-July still has no public disclosure, and Dragos is now working with about a dozen providers while planted keys and secret links are still being accessed months after the first thefts. If you used DeepSeek V4 Flash through OpenRouter between October 21 and November 8, or sent requests to the three affected models at Together AI in June or July, rotate every key, token and password that appeared in a request — now, not later.

🚀 Stay Ahead With TechMuse

Your AI chats are only as private as the weakest company in the chain — and this week, that chain broke in three places at once. Follow TechMuse for the security stories that actually change what you should do, before your credentials show up somewhere they should not.

TechMuse — Discover Tomorrow. Today.
https://techmuse-global.blogspot.com/

Sources

Together AI — "Security event: Prompt leakage for requests in June and July of 2026" (21 November 2026, original disclosure): https://www.together.ai/blog/security-event-prompt-leakage-for-requests-in-june-and-july-of-2026

The Hacker News — "OpenRouter Drops 3 Providers After Researchers Catch Months of Prompt Theft at AI Hosting Firms" (22 November 2026): https://thehackernews.com/2026/11/openrouter-drops-3-providers-after.html

Notebookcheck — "OpenRouter cuts three AI providers: Who needs to rotate API keys now" (23 November 2026): https://www.notebookcheck.net/OpenRouter-cuts-three-AI-providers-Who-needs-to-rotate-API-keys-now.1457670.0.html

DEV Community — "2M canary prompts caught 3 providers stealing data" (cross-checked against The Hacker News and Ars Technica): https://dev.to/frankchu/2m-canary-prompts-caught-3-providers-stealing-data-2n01

#TechMuse #TechNews #FutureTechnology #TogetherAI #OpenRouter #Dragos #AI #DataBreach #CyberSecurity #Privacy #ZeroDataRetention #ArtificialIntelligence

Comments

Share this article