What happened, according to Together AI
In a post signed by its CEO, Together AI explains that, for routine software testing, it kept some prompt samples authorized for that use in a private Hugging Face repository. While work was going on in a public GitHub project, an AI coding agent committed the credential for that private repository.
The company's automated scanning caught the credential and the commit was reverted. By then, however, someone had already obtained it and used it to download the samples: requests sent to the serverless inference service, on the MiniMax M3, GLM-5.2 and Kimi K2.6 models, mostly from a few days in June and July 2026.
According to the company, whoever downloaded the data then searched it for credentials to other services and tested them; five of the ones tested were decoy credentials from a Dragos security experiment. Together AI says it is working with an external forensic firm and law enforcement, has found no other prompt leakage, and is still reviewing whether personal or sensitive data was exposed. Affected customers will be contacted directly.
The next day OpenRouter, a platform that routes requests to several model providers, published a page about incidents researchers had reported at a number of providers, with a list of their announcements: Together AI's is among them.
What Together AI changed after the incident
The company listed four measures. They are worth a look because they are the same ones you can ask for on your own projects, on a smaller scale.
- Scoped or short-lived credentials, and keyless access where supported, to limit the damage if a key gets out.
- A check on every pull request to catch credentials before the code is merged.
- Zero data retention as the default setting for new accounts.
- Updated rules on how AI coding agents are used in development.
Why it matters to a small business too
An access key is a password for machines: it connects your website to your management software, your online shop to payments, your contact form to your CRM, an automation to your invoicing tool. Whoever has the key can do whatever that key allows, without going through any login.
AI coding tools are useful and I use them too, but they write fast and don't know on their own what is confidential. A key pasted into a test file, a config file uploaded by mistake, a repository made public: these are simple mistakes, and the Together AI case shows they can happen even with automated checks in place.
The point is not to fear AI, but to remember that responsibility stays with whoever publishes the code. In the case Together AI described, reverting the commit was not enough: the credential had already been seen and used.
Five practical checks
You don't need expensive tools. These are the checks I consider basic for any project with access keys, whether written by hand or with AI help.
- Automatic secret checks: GitHub looks for credentials in repositories with secret scanning, free on public repositories, and open source tools like Betterleaks, maintained by the people who made Gitleaks, can block them before the commit or in the pipeline.
- Keys out of the code: they belong in environment variables or a secrets manager, and files like .env should be in .gitignore so they never reach the repository.
- Minimum permissions and expiry: each key should only do what that integration needs and, where the service allows it, expire after a set period.
- Rotation after a leak: if a key ended up where it shouldn't, revoke it and replace it right away. Deleting it from the code is not enough, because it stays in the history and someone may already have copied it.
- Human review of AI-generated code: before it goes live, someone has to read it, paying special attention to configuration, credentials and permissions.

What to ask your developer
You don't have to become a security expert. A few calm questions to whoever looks after your website or integrations are enough:
- Where are the access keys for connected services stored, and who can see them?
- Is the project repository private? Is there an automatic secret check?
- Does each key have only the permissions it needs? Is there any key that never expires?
- If a key leaked online, what would you do and how fast could you replace it?
- Is code written with AI tools reviewed by a person before it goes live?
How I can help
Integrations are a big part of my work, and access keys are the most delicate part of them. In the automation for Defined Body by Alebis, for example, the online shop, Zapier and fattureincloud.it talk to each other through access credentials: that is why I treat them as confidential data from day one.
If you want a check of your project, where the keys are, what permissions they have and what would happen if one leaked, write to me through the banner below or the contact form. I'll tell you what to fix, in order of importance.
Sources
References consulted for this article. Always check official sources before making decisions.
- Together AI: Security event, prompt leakage for requests in June and July of 2026 (21 novembre 2026) ↗
- GitHub Docs: About secret scanning ↗
- OWASP Cheat Sheet Series: Secrets Management Cheat Sheet ↗
- Betterleaks su GitHub ↗
- OpenRouter: Data processing incidents on inference providers (22 novembre 2026) ↗
- Unite.AI: Together AI Discloses Prompt Leak After Coding Agent Exposed Credential (21 novembre 2026) ↗






