Together AI Prompt Leak: Who’s Affected and What to Do

How the Together AI prompt leak happened: AI coding agent commits a credential to a public repo, attacker downloads stored prompt samples, then tests credentials found in them

The Solo Toolbox · Software Help for One-Person Businesses

Together AI disclosed on November 21, 2026 that an unauthorized party downloaded stored samples of prompts sent to its serverless inference service, mainly on June 24, July 4, July 8 and July 14, 2026, for the MiniMax M3, GLM-5.2 and Kimi K2.6 models. The attacker then searched those prompts for credentials to other services and tried them. If you called those models through Together around those dates, rotate any secret that could have been inside a prompt and turn on zero data retention (ZDR).

This guide covers how the leak happened, how to tell whether your traffic is in scope, what to rotate, and where the ZDR setting lives.

Before you start

  • Applies to: developers and teams that send requests to Together AI’s serverless inference API, especially for MiniMax M3, GLM-5.2 or Kimi K2.6.
  • You’ll need: your own request logs or usage records for June and July 2026, and admin access to your Together organization settings.
  • How we checked this: on November 23, 2026 we read Together AI’s security notice signed by CEO Vipul Ved Prakash and a November 22 analysis by Sulat that compares the notice with Together’s documentation. Together hasn’t said how many customers or prompts are involved, or exactly when the download happened.
How the Together AI prompt leak happened: AI coding agent commits a credential to a public repo, attacker downloads stored prompt samples, then tests credentials found in them

How the Together AI prompt leak happened

According to Together’s notice, the company kept samples of serverless prompts in a private Hugging Face repository for routine software testing. While developing xorl, a public GitHub repository, an AI coding agent committed a credential that gave access to that private repository. Together’s automated scanning flagged the credential and the commit was reverted, but in the window before that, someone used it to download the stored samples.

The attacker then went through the prompts looking for credentials to other services and tested whether they worked. According to the notice, five of the credentials they tried were canaries tied to a Dragos security experiment.

DetailWhat Together has said
ServiceServerless inference
ModelsMiniMax M3, GLM-5.2, Kimi K2.6
Dates of affected requestsPrimarily June 24, July 4, July 8 and July 14, 2026
Data takenStored prompt samples; review of their contents is ongoing
Customer countNot disclosed
Further leakageNo evidence of other prompt leakage, per Together

Are you affected?

You’re in scope if your application sent requests to one of those three models on Together’s serverless API during June or July 2026, and most likely if any of them landed on the four listed dates. Dedicated endpoints and other models aren’t mentioned in the notice.

  1. Check your own application logs or Together usage records for calls to MiniMax M3, GLM-5.2 or Kimi K2.6 in June and July 2026.
  2. For any matching traffic, work out what your prompts could have contained: system prompts, retrieved documents, user messages, tool outputs and anything a coding agent pasted in from your environment.
  3. Watch your inbox for a message from Together. The notice says affected customers will be contacted directly as needed.

What to rotate right now

The attacker specifically hunted for credentials inside prompts, so treat any secret that could have appeared in those requests as exposed:

  • API keys for other services passed through an agent or tool call, such as cloud, payment, email or database keys.
  • Tokens from .env files or config that a coding agent read and included in context.
  • Database connection strings and webhook URLs with embedded secrets.
  • Customer data in prompts, which may trigger your own breach-notification obligations depending on where you and your users are.

Sulat notes that Together’s notice doesn’t tell customers to rotate keys. We’d do it anyway for anything that could plausibly have been in an affected prompt: rotation is cheap compared with finding out later. The same playbook applied after the OpenRouter prompt leak, and our Northflank breach guide has a checklist for rotating secrets without breaking production.

How to turn on zero data retention

Together’s notice says customers handling sensitive prompt data should enable ZDR in their account settings, and that ZDR is now the default for new accounts. It doesn’t give a menu path. Sulat, citing Together’s documentation, describes it like this:

  1. Open your Together organization’s settings.
  2. Go to the Privacy section.
  3. Turn off prompt storage. That turns ZDR on.

Two caveats from the same reporting: ZDR only covers requests sent after you turn it on, and turning off prompt storage also turns off passthrough models that forward requests to third-party providers. Check that your app doesn’t rely on one of those before you switch. We couldn’t verify the exact label in Together’s dashboard ourselves; if it differs, email security@together.ai.

Lessons for teams using AI coding agents

The root cause here was a coding agent committing a credential to a public repository. Together says it is moving to scoped or short-lived credentials, keyless access where supported, credential checks on every pull request and new rules for how AI coding agents are used. The same controls are worth copying:

  • Turn on secret scanning and push protection in GitHub or your Git host, so a credential is blocked before it lands in a public repo.
  • Give agents short-lived, narrowly scoped tokens instead of long-lived personal ones.
  • Keep agents out of .env files and production config unless the task needs them.
  • Review agent-written commits before they’re pushed to public repositories.

We covered a similar chain of events in the OpenCode breach, where exposed API keys were the main risk.

Frequently asked questions

Was my Together AI API key leaked?

Together’s notice describes stored prompt samples, not customer API keys. The risk is anything you put inside a prompt, including keys or tokens that an app or coding agent pasted in. The attacker searched the samples for exactly that kind of credential.

Is this the same as the OpenRouter prompt leak?

No. According to Sulat, OpenRouter emailed customers on November 21 about prompts sent to MiniMax models through third-party providers, and that email named AtlasCloud, Novita and StreamLake, not Together. Both incidents involve MiniMax traffic, so if you used MiniMax through either route, check both.

Does zero data retention delete prompts that were already stored?

Reporting on Together’s documentation says zero data retention applies to requests sent after you turn it on. It is not described as deleting older samples. Ask security@together.ai if you need confirmation about data already stored.

Will Together contact me if I’m affected?

The notice says Together will contact affected customers directly as needed. Its review of what the prompts contained is still ongoing.

What to do next

Search your logs for June and July 2026 traffic to MiniMax M3, GLM-5.2 and Kimi K2.6 on Together, rotate any secret that could have been in those prompts, then switch on ZDR if your account still stores prompts. Questions go to security@together.ai.

Related guides

Sources

Last checked: November 23, 2026. If something here is out of date, let us know.

Get smarter software tips in your inbox

Clear tutorials, honest software recommendations, productivity tips and the tech updates that matter to one-person businesses.

Free. We’ll email you a link to confirm. Unsubscribe anytime with one click. We never share your address. Privacy policy

Get smarter software tips in your inbox

Free. Confirm by email, unsubscribe anytime. Privacy policy

Similar Posts