Together AI reports prompt leakage in serverless inference
An unauthorized party accessed prompt samples from Together AI's serverless service in mid-2026 due to a credential exposure. Learn how it happened.
Source: Hacker News — front pageTogether AI has disclosed a security incident where an unauthorized party accessed prompt samples from its serverless inference service during June and July 2026. The breach occurred because a credential for a private repository was inadvertently exposed in a public code repository.
How did the prompt leakage occur?
According to a statement from Together AI CEO and Co-founder Vipul Ved Prakash, the incident originated during routine software testing. The company had been collecting authorized prompt samples to aid development and storing them in a private Hugging Face repository.
During the development of a public GitHub repository named "xorl," an AI coding agent committed a credential that granted access to this private Hugging Face repository. While the company's automated scanning systems eventually detected the exposure and reverted the commit, an unauthorized party had already obtained the credential during the exposure window. This party used the access to download the stored prompt samples and subsequently attempted to validate other credentials found within the data. Among the tested credentials were five "canary" credentials used in a Dragos security experiment.
Which models were affected by this incident?
The leaked prompt samples were primarily associated with requests made to specific models: MiniMax M3, GLM-5.2, and Kimi K2.6. The data collection occurred around several key dates in 2026, specifically June 24, July 4, July 8, and July 14.
Together AI is currently conducting an ongoing review of the affected prompt contents. The goal of this investigation is to determine if any sensitive personal information or specific customer data was contained within those samples. The company has stated it will contact customers directly if the findings indicate their data was compromised.
What is Together AI doing to prevent future leaks?
In response to the event, Together AI has implemented several technical and procedural changes to harden its development workflows and protect customer data. According to the company, these improvements include:
- Transitioning to the use of scoped or short-lived credentials, as well as keyless access where possible, to minimize the impact if a credential is ever exposed.
- Implementing mandatory checks for credentials on all pull requests.
- Setting Zero Data Retention (ZDR) as the default configuration for all new accounts.
- Updating internal development protocols specifically regarding the deployment and use of AI coding agents.
How can users protect their sensitive data?
For organizations and developers who handle highly sensitive prompt data, Together AI recommends manually enabling the Zero Data Retention (ZDR) setting within their account settings. This measure is intended to ensure that prompts are not stored in a way that could be subject to future repository exposures.
For those seeking more information regarding the specific impact on their organization, the company has directed inquiries to their security department via email.
How to manage AI research and data privacy
While this incident highlights the risks of data retention in cloud-based inference, researchers and developers can maintain high standards of data hygiene by being selective about what information is processed.
If you are working with sensitive research papers or proprietary datasets, you can use Grafy Reader to interact with your documents. By utilizing tools designed for deep analysis, you can focus on extracting insights from your own uploaded files while maintaining a structured workflow. For those managing complex prompt histories and model outputs, using a branching system like Grafy Graph can help track the evolution of your work without relying on unmanaged storage repositories.
Frequently asked questions
What caused the credential exposure at Together AI?
The exposure was caused by an AI coding agent that committed a credential to a public GitHub repository named xorl. This credential provided unauthorized access to a private Hugging Face repository where prompt samples used for software testing were stored.
Which models had their prompt samples downloaded?
The unauthorized party downloaded prompt samples that were primarily linked to requests made to the MiniMax M3, GLM-5.2, and Kimi K2.6 models during the summer of 2026.
How can customers enable Zero Data Retention?
Customers can protect their sensitive data by navigating to their account settings within the Together AI platform and enabling the Zero Data Retention (ZDR) option, which is now the default for new accounts.
Source: Hacker News — front page — Together.ai: Prompt Leakage for Requests


