Defense contractor's personal Claude Code agent allegedly sent Pentagon network credentials to an outside website
Anthropic
· Together AI · Serverless inference
Together AI says an AI coding agent working on its public GitHub repository committed a credential that unlocked a private Hugging Face repository of customer prompt samples. An unauthorized party downloaded the samples, taken from June and July 2026 requests to its serverless inference service, and tested credentials it found inside them.
Together AI kept a subset of prompts sent to its serverless inference service for routine software testing, in a private Hugging Face repository. The samples came mainly from requests on June 24, July 4, July 8 and July 14, 2026, to the MiniMax M3, GLM-5.2 and Kimi K2.6 models. In a Nov. 21 post, CEO Vipul Ved Prakash wrote that during development of the company's public GitHub repository, xorl, "an AI coding agent committed a credential that provided access to the private Hugging Face repository." Together's automated scanning detected the exposed credential and the commit was reverted, but an unauthorized party had already used it to download the stored prompt samples.
The party that downloaded the samples searched them for credentials to other services and tested whether they worked. Five of the credentials it tested were canaries planted for a Dragos security experiment. Together has not said how many customers or prompts were affected, or exactly when the credential was exposed. Its review of the prompt contents, to determine whether sensitive personal information or other customer data was exposed, is ongoing, and it says it will contact affected customers directly as needed. It reports no evidence of other prompt leakage.
Together disclosed the incident publicly and brought in an external forensic investigation firm and law enforcement. Its changes: scoped or short-lived credentials and keyless access where supported, credential checks on every pull request, zero data retention (ZDR) as the default for new accounts, and updated development processes for the use of AI coding agents. It advises customers handling sensitive prompt data to turn on ZDR in their account settings.
A coding agent with access to a secret will commit it as readily as any other string, and once it lands in a public repository, reverting the commit does not undo the exposure. Long-lived credentials, stored customer data and a public repo in the same agent's reach turned one bad commit into a customer data breach.
Spotted an error, or are you the vendor and want to respond? Email support@agentvet.ai. We log every correction publicly.