Skip to content

Security Alert | Together AI's Coding Agent Committed a Leaked Credential, Letting an Intruder Download Real User Prompts and Test Other Keys

Nov 23, 20266 min
TL;DROn 2026-11-21, Together AI CEO Vipul Ved Prakash disclosed that an AI coding agent working on the public GitHub repo 'xorl' committed a credential that granted access to a private Hugging Face repo holding real user prompt samples from MiniMax M3, GLM-5.2, and Kimi K2.6. Automated scanning reverted the commit, but an unauthorized party had already used the credential during the exposure window to download the samples and test other credentials found inside them, including 5 Dragos canary credentials. Together AI has added PR-level credential checks and made zero data retention the default; the root cause was that the agent's commit was never treated as an action needing extra review.

Look up & save

Loading dictionary…

中文版

Incident Overview

On 2026-11-21, Together AI CEO Vipul Ved Prakash disclosed that an AI coding agent working on the public GitHub repo xorl committed a credential for a private Hugging Face repo alongside its code changes. That private repo held prompt samples kept for routine software testing, drawn from real user requests to MiniMax M3, GLM-5.2, and Kimi K2.6 on June 24, July 4, July 8, and July 14, 2026. Together AI's automated scanning caught the exposed credential and reverted the commit, but during the window it was publicly exposed, an unauthorized party had already used it to download the stored samples and search their contents for other services' credentials — testing each one, with 5 identified as canary credentials planted by the security firm Dragos (decoy credentials used to detect unauthorized access). Together AI has engaged an external forensics firm and law enforcement; the review is ongoing, and it has not yet confirmed whether sensitive customer data was exposed.

Key Facts

FieldValue
Incident TypeAI coding agent credential leak → data download → credential harvesting (Data Exfiltration)
ScopePrompt samples from MiniMax M3, GLM-5.2, and Kimi K2.6 on four specific days in June–July 2026 on the Together AI platform; the exact number of affected customers is undisclosed
SeverityHigh
CVENone (a process/permissions design gap, not a single software flaw)
SourcesTogether AI's official disclosure, Futurum Group, VectorWire

Attack Surface Analysis

The attack path itself was unremarkable: while working on the public repo xorl, an AI coding agent wrote a credential that should have stayed secret directly into a commit. That credential granted access to a separate private Hugging Face repo holding real user prompt samples retained for routine testing. Once the commit went public, automated scanning caught the exposed credential and reverted it — but there was a gap between "detected" and "revoked." An unauthorized party had already used the credential to download the private repo's contents, then searched the sample text for strings that looked like credentials and tested each one for validity. Five turned out to be canary credentials planted by Dragos.

How one coding-agent commit turned into a customer data leak
How one coding-agent commit turned into a customer data leakTogether AI's AI coding agent accidentally committed a credential while developing a public repo. Automated scanning reverted it in time, but an unauthorized party had already downloaded real user prompt samples from a private repo during the exposure window and searched them for other services' credentials. Agent commits a leaked credential while developing public repo "xorl" Scanning detects it, commit reverted but the exposure window was already used Intruder downloads the private HF repo repo held prompt samples kept for testing Samples held real requests from June–July 2026 MiniMax M3, GLM-5.2, Kimi K2.6 Intruder searches the samples and tests other credentials 5 of them were Dragos canary credentials 11/21 — disclosure and remediation PR-level credential checks, default ZDR
  1. AI agent commits a leaked credential while developing the public repo "xorl"
  2. Automated scanning detects the exposure; the commit is reverted
  3. But within the exposure window, an unauthorized party already used the credential to download a private HF repo
  4. That repo held real user prompt samples from June–July 2026
  5. The intruder searched the samples for other credentials and tested them, including 5 Dragos canary credentials
  6. 11/21 — official disclosure and remediation rollout

Based on Together AI's official disclosure and Futurum Group's analysis.

The root cause is what deserves attention. Together AI's own analysis frames the commit as an authorization decision that should have been flagged — a human developer submitting the same content would likely have been stopped by code review, but the agent's output wasn't treated as a high-risk action warranting extra review. Retaining real user prompt samples long-term in a test repo also widened the blast radius: a single credential leak turned into a potential second-order leak, since the samples themselves could contain other credentials or sensitive content.

Mapped to the OWASP LLM Top 10: the root cause is LLM06 Excessive Agency — the agent held commit privileges equivalent to a human developer's without a matching review gate. A variant of LLM02 Insecure Output Handling also applies: the agent's code changes were trusted and published directly, with no distinction drawn between agent output and human output.

Defense Recommendations

Immediate actions

  • Inventory every repo where an AI coding agent has commit/push access, and confirm automated credential scanning runs at the pull-request level — one of Together AI's own fixes was moving credential checks into every PR instead of relying only on post-merge background scans
  • Review any repo or storage that retains real user prompts or request content for testing or debugging, and assess whether long-term retention is actually necessary; if it's kept, treat it as sensitive data under the same access controls as production data
  • If your team also uses the affected models (MiniMax M3, GLM-5.2, Kimi K2.6) on Together AI, enable zero data retention (ZDR) and check whether you've received an individual notice from Together AI

Long-term architecture

  • Treat AI agents as distinct identities with least-privilege, short-lived credentials — an agent shouldn't hold the same broad, long-lived credentials as a human developer; prefer keyless access that rotates automatically and avoids storing long-lived secrets at all
  • Before an agent's code changes reach CI/CD, add a "high-risk action" check — adding a credential, changing access control settings, publishing externally — that forces human approval instead of following the same auto-merge path as routine changes
  • For systematic governance over what actions AI agents can take and where approval gates sit, consider watchlist vendor Zenity, which focuses on agent action governance and high-risk approval workflows; for scanning and auditing credentials and sensitive data embedded in ML development pipelines, consider Protect AI's ML supply-chain scanning

Impact

Together AI hasn't disclosed exactly how many customers' prompt samples fall within the exposure scope — its official line is that review is ongoing, and affected customers will be contacted directly if sensitive data is confirmed. What is confirmed: the intruder actually downloaded the samples and tested credentials found inside them, including the 5 Dragos canary credentials — this wasn't a theoretical risk but an incident where someone actively attempted to use leaked data to pivot toward other systems. The official investigation also hasn't ruled out whether other undiscovered credentials remain in the samples. Together AI's disclosed timeline itself has gaps: the exact commit date and the length of the exposure window were never stated, and all that's known is that the sample data (from 6/24, 7/4, 7/8, 7/14) predates the 11/21 disclosure by more than four months. If your team also gives AI coding agents write access to your repos, the lesson here isn't that agents are unsafe — it's that treating an agent's output with the same default trust as a human's is itself the risk.

Today's Takeaway

This incident has no flashy exploit chain or CVE, yet it's more worth worrying about than many technical vulnerabilities — it happened at a mature team that is itself an AI infrastructure provider, and the root cause was just an ordinary commit that nobody looked at twice. It's a reminder that giving an agent the same operating permissions as a human developer implicitly assumes the agent also carries the same judgment and risk awareness — but code review exists precisely because humans make this kind of mistake too, and we tend to remember why a gate existed only after we've already removed it.

References