Optimus Labs logo
All briefings
Optimus Labs · CivilizationsCRITICAL · AGENT CREDENTIAL LEAK

Live incident, as of Nov 25, 2026. Together AI is still reviewing the affected prompts and will contact affected customers directly.

An AI Coding Agent Leaked Together AI's Stored Customer Prompts

Together AI kept samples of real June and July inference prompts in a private Hugging Face repo. Its own AI coding agent committed the key to that repo in public code, and an attacker downloaded the samples and hunted them for secrets.

AgentCredentialInference

Full advisory deck

Organizations in this briefing

Together AITogether AI
Hugging FaceHugging Face
GitHubGitHub
DragosDragos

Key takeaways

2 min read
  • As of Nov 25, 2026. On Nov 21, Together AI disclosed that it had stored prompt samples from its serverless inference service, from requests to MiniMax M3, GLM-5.2 and Kimi K2.6 mostly on June 24, July 4, July 8 and July 14, 2026, in a private Hugging Face repository. While building its public GitHub repo xorl, an AI coding agent committed a credential for that repository. Together AI's scanning caught it and the commit was reverted, but an unauthorized party had already used the key to download the samples, search them for credentials to other services and test them. Five of those credentials were Dragos canaries. Together AI says it has found no prompt leakage beyond this incident; its review of what the prompts contained is ongoing.
  • Blast radius: Every customer whose prompts to Together AI serverless inference for MiniMax M3, GLM-5.2 or Kimi K2.6 landed in the June and July samples. Any secret, source code or customer record inside those prompts should be treated as read by the attacker. Together AI has not yet said which customers are affected, so the known exposure is a floor, not the total.
  • CRITICAL · AGENT CREDENTIAL LEAK

Timeline

  1. Prompt samples collected

    Primarily June 24, July 4, July 8 and July 14, 2026.

  2. Dragos begins sending canary prompts

    About two million prompts through November.

  3. Dragos publishes canary findings

  4. Together AI discloses the prompt sample leak

    AI coding agent committed the Hugging Face key to public repo xorl.

  5. OpenRouter off-boards three providers

    SC Media names Together AI among them.

Blast radius
Every customer whose prompts to Together AI serverless inference for MiniMax M3, GLM-5.2 or Kimi K2.6 landed in the June and July samples. Any secret, source code or customer record inside those prompts should be treated as read by the attacker. Together AI has not yet said which customers are affected, so the known exposure is a floor, not the total.

Summary

Two lessons sit inside one incident. First, inference is not a stateless pipe: Together AI kept samples of real customer prompts for software testing. Second, the key to those samples leaked through an AI coding agent, which committed it to the company's public xorl repository. An attacker used it to download the prompts, search them for credentials and test what it found, including five Dragos canary keys. Our view: your coding agents hold credentials and push code, and your inference providers hold your prompts. Both are part of your attack surface, and most inventories list neither. For the wider router story, see our companion briefing on OpenRouter and Zero Data Retention.

Am I affected?

Any single yes means treat this as an incident.

  • Did any workload call Together AI serverless inference for MiniMax M3, GLM-5.2 or Kimi K2.6 in June or July 2026, directly or through a router?
  • Did those prompts carry AWS keys, API tokens, .env files, source code or regulated customer data?
  • Do your own AI coding agents have write access to public repositories, and which secrets can they read while they work?
  • Has Together AI contacted you directly, and is Zero Data Retention turned on for your account?

Not affected if

  • Together AI states it has not identified evidence of prompt leakage beyond this incident.
  • The leaked samples were stored test samples from three models on specific dates, not all Together AI traffic.

These are Together AI's own statements as of Nov 25, 2026. Its review of the prompt contents is ongoing.

What happened

Prompt samples kept for testing. Together AI collected prompt samples, which it says were authorized for software testing, and stored them in a private Hugging Face repository. They came from requests to MiniMax M3, GLM-5.2 and Kimi K2.6, primarily on June 24, July 4, July 8 and July 14, 2026.

The coding agent committed the key. During development of Together AI's public GitHub repository xorl, an AI coding agent committed a credential that opened the private Hugging Face repository. Together AI's automated scanning detected it and the commit was reverted.

The attacker was faster. During the exposure window, an unauthorized party obtained the Hugging Face access token, downloaded the stored prompt samples from Hugging Face, searched them for credentials to other services and tested whether they worked. The cited reports do not show any breach of Hugging Face itself. Five of the credentials tested were canaries from a Dragos experiment that seeded about two million prompts with trap keys.

Response (Nov 21). Together AI worked with an external forensic firm and law enforcement. It moved to scoped, short-lived or keyless credentials, now checks all pull requests for credentials, made Zero Data Retention the default for new accounts and updated its rules for using AI coding agents. SC Media reported that OpenRouter removed Together AI from its provider pool; OpenRouter itself did not name the providers.

Why this is the agent story inside the inference story

Developers hand coding agents broad access to repositories, terminals and credentials. One routine commit by an agent turned a private store of customer prompts into a public download. The same thing can happen inside any company that runs coding agents, including yours.

Inference providers are also storage. Prompts from coding agents and enterprise apps carry AWS keys, .env files, source code and customer data. Once a provider keeps samples, a single leaked key exposes all of them, and the attacker's first move was to hunt those prompts for more keys.

For regulated industries, a leaked AWS key can be rotated in minutes. Leaked patient, client or trial data cannot be revoked.

Defense in depth for agentic infrastructure

This incident crossed five layers of a modern AI stack, and each layer needs its own control:

1. Source (laptop, IDE, CI): the coding agent, its SKILLs and MCPs, and the local tokens it can read. Optimus Labs maps and governs this layer, stopping credentials from leaving in commits or prompts.

2. Code host: GitHub push protection blocks commits that contain known secret formats before they land. It is free on public repositories (off by default) and sold as GitHub Secret Protection, part of GitHub Advanced Security, for private and internal repositories.

3. Data platform: Hugging Face Enterprise Nightwatch watches Hub activity in real time and flags or revokes a stolen token used from an unfamiliar location or mass-cloning private repos.

4. Inference provider: retention and capture settings, including Zero Data Retention controls and whether test captures are stored.

5. Detection: canary keys, as Dragos used, catch stolen secrets when an attacker tests them against live services.

Where the platform tools stop. Both GitHub and Hugging Face now sell a fix at their own door. Nightwatch sees a stolen token being used on Hugging Face; GitHub blocks a known secret at push time. Neither sees the coding agent on the developer's laptop that read the token, nor a secret pasted into an inference prompt or written in a format the scanner misses. Platform controls belong in your stack, but they do not replace source-side governance of the agents themselves.

Sources

Sourcing & confidence

Confirmed by the vendor

  • Together AI (Nov 21, 2026): prompt samples from MiniMax M3, GLM-5.2 and Kimi K2.6, primarily June 24, July 4, July 8 and July 14, 2026, stored in a private Hugging Face repository.
  • Together AI (Nov 21, 2026): an AI coding agent committed a credential for that repository to public GitHub repo xorl; scanning detected it and the commit was reverted.
  • Together AI (Nov 21, 2026): an unauthorized party downloaded the samples, searched them for credentials and tested them; five were Dragos canary credentials.
  • Together AI (Nov 21, 2026): no evidence of additional prompt leakage found; review of prompt contents ongoing; ZDR now default for new accounts.

Assessed by Civilizations

  • SC Media (citing BleepingComputer) named Together AI among the three providers OpenRouter removed; OpenRouter itself did not name them.
  • Which customers' prompts were in the samples has not been disclosed. Treat the known exposure as a floor.

Vendor perspective · Optimus Labs

How Optimus Labs helps

Optimus Labs maps this attack surface and governs it. We discover every coding agent, SKILL, MCP and plugin on your endpoints and in the cloud, along with the inference providers they send prompts to (Discover). We inspect what each agent can reach, including repository write access and the credentials in its environment (Inspect). We alert on and block secrets leaving in prompts or commits (Defend). And we tie every agent and integration to an accountable owner, so you can answer customers and regulators the same day (Trust).

See it on your own stack

Related briefings

Full advisory

Download the briefing PDF

The complete advisory deck for this incident, with the attack chain diagram, indicators, and remediation bands in one file.

Optimus Labs · Civilizations

Get the next briefing first

Threat research, disclosures, and practical tips on enterprise Agentic AI attack surface management, directly in you or your agent's inbox.

Subscribe