News · AI API security

Together AI’s leak started with an AI coding agent committing a credential

A private Hugging Face repository held prompt samples. A coding agent committed the key that opened it. The incident is a workflow failure, not a model failure.

A glowing key passing from a code editor into a repository
Illustration: credentials moving through development workflows. Plugsky Newsroom.

Together AI disclosed on 21 November 2026 that prompt samples from June and July had been downloaded from a private Hugging Face repository after a credential for that repository was exposed in a public GitHub repository. The samples came from requests to MiniMax M3, GLM-5.2 and Kimi K2.6.

The exposure path is the part every engineering team should read: an AI coding agent working on the public repository committed the credential. Automated scanning caught it and the commit was reverted, but the credential had already been copied.

Key facts

Publication dates and figures as reported in the linked sources
Disclosed21 November 2026
ExposurePrivate Hugging Face repository with prompt samples
Models sampledMiniMax M3, GLM-5.2, Kimi K2.6
Sample dates24 June, 4 July, 8 July and 14 July 2026
Change madeZero Data Retention default for new accounts; scoped/short-lived credentials; PR secret checks

The agent did what it was asked

An AI coding agent does not have a security model. It has a task. If the task requires a configuration file, an environment variable or a deployment script, the agent may write the credential into the repository because that is the shortest path to a working build. The failure is not that the agent is malicious. The failure is that the workflow allowed a secret to be a valid input.

The same pattern appears in several November incidents: an AI-assisted workflow moves faster than the controls around it. The answer is not to ban the agent. It is to make the secret unusable if it leaks: short-lived, scoped, and bound to a workload identity rather than a static string.

Prompt samples are sensitive data

Together collected prompt samples for routine software testing and stored them in a private repository. That is a normal practice and a dangerous one. Prompts contain customer data, internal URLs, code, credentials pasted for debugging and sometimes personal information. A “sample” dataset is a production data store with a friendlier name.

If you keep prompt samples, treat them like production data: encrypt at rest, restrict access, set a retention period, redact secrets before storage and log every read. The fact that the repository was private is not a control; it is a permission.

What Together changed

The company says it is using scoped or short-lived credentials, checking all pull requests for credentials, making ZDR the default for new accounts and updating its development process for AI coding agents. Those are the right direction. The missing item is the one buyers should ask about: how existing accounts are migrated to ZDR, and how the customer can verify it.

Plugsky’s controls are documented rather than assumed: per-key access, RBAC and SSO, audit-log export, spend controls, BYOK and private deployment. The company also sells API access, so it has a commercial interest in this story; the facts above come from Together’s own disclosure.

What to watch

  • Whether the exposed prompts included customer secrets beyond the five canary credentials reported.
  • Whether ZDR becomes the default for existing accounts, not just new ones.
  • Whether coding-agent vendors add secret detection before a commit, not after.

Sources

  1. Together AI, security event disclosure · 21 Nov 2026
Cite this page

Plugsky Newsroom (2026). “Together AI’s leak started with an AI coding agent committing a credential.” Plugsky News, 23 November 2026. https://plugsky.com/news/together-ai-prompt-leak-ai-coding-agent-credential-2026