Skip to main content
Back
ExposureSaaS
2 min read

A credential in Together AI’s public code exposed private customer prompts

Owner
Together AI and customers of its serverless AI service
When
Date of the credential exposure unknownDisclosed Nov 21, 2026
Entry
A coding agent put a private repository credential in public code.

Someone downloaded private samples of what customers had asked Together AI’s models after a coding agent published a repository credential on GitHub. Together AI had saved the prompts for authorized software testing. The person who took them then tested credentials found in the text. Together AI has not said how many customers were affected.

What was exposed

Outside the repositories
Coding agent
Unauthorized party
Internet
GitHub
Hugging Face
Public commit
Prompt samples

Two repositories / Public code and a private collection of prompts

  1. 1

    Credential made public

    Before the November 21 disclosure

    A coding agent committed a credential for Together AI’s private Hugging Face repository to public code on GitHub. Automated scanning flagged it, and Together AI reverted the change.

  2. 2

    Private prompts downloaded

    Before the November 21 disclosure

    During the exposure, someone copied the credential and downloaded the prompt samples. They then tested credentials found in the prompts, including five that researchers had planted to trace misuse.

Impact

An unauthorized party downloaded prompt samples from three models and tested credentials in them. Five of the tested credentials were research canaries. Together AI was still assessing how many customers were affected and whether sensitive personal information was present.

Could this have been prevented?

Catch stored credentials before public code ships

GitHub push protection could have blocked the push if the credential matched a supported pattern and the push was not bypassed. Once someone copied a credential with permission to read the samples, reverting the commit could not undo the download.

Incident control assessments

0
Prevented
1
Contained
1
Not covered

How it could have been prevented

The same replay with the controls in place. Green marks where a step is refused, blue where it is bounded, and red where no control reaches it. Open a row to read the control, why it acts, and its caveat.

Outside the repositories
Coding agent
Unauthorized party
Internet
GitHub
Hugging Face
Public commit
Prompt samples

Two repositories / Public code and a private collection of prompts

1 · Credential made public

1 Contained

2 · Private prompts downloaded

1 Not covered

Key facts

  • The samples came mainly from requests to three AI models on June 24, July 4, July 8 and July 14, 2026. Together AI has not said when the credential was exposed.
  • The credential granted access to the private Hugging Face repository containing the samples. Together AI’s own scanning flagged its publication and the company reverted the commit.
  • The person who downloaded the prompts tested credentials they found in them. Five belonged to a Dragos research experiment. These were canaries, unique test credentials that let researchers see when someone tried to use them.
  • On November 21, Together AI said it had found no evidence of further prompt leakage. It was still assessing the affected customers and whether any sensitive personal information was present.

Sources

Every fact in this breakdown comes from the public reporting below. The replay is a model of that reporting, not a reconstruction of the environment it describes.

  1. 1.
    Security event: Prompt leakage for requests in June and July of 2026Together AI · Nov 21, 2026 · Vendor reportHow the credential became public, which prompt samples were downloaded, the credential tests and the company’s response.
  2. 2.
    AI Supply Chain Security: What Canary Tokens FoundDragos · Nov 19, 2026 · ResearchHow unique test credentials let the researchers observe when someone used information from their prompts.
  3. 3.
    Push protectionGitHub · undated · Vendor reportHow GitHub blocks publication of supported secrets and when a contributor can bypass that check.
  4. 4.
    Supported secret scanning patternsGitHub · undated · Vendor reportWhich Hugging Face credential types have push protection.
  5. 5.
    User access tokensHugging Face · undated · Vendor reportHow fine-grained permissions limit a token to specified repositories and operations.

The estate in the replay is illustrative and drawn at the level of the exposure; the owner's real environment is not public. Verdicts describe what a control does when it is in place before the data is exposed. They are not an assessment of the owner's security program.

More cloud attack breakdowns

All breakdowns