Reverting a public commit does not revoke a credential or erase a copy already taken.
Together AI disclosed on November 21 that an AI coding agent committed a credential for a private Hugging Face repository to the company's public XoRL code repository. Together's automated scanning detected the exposed credential and the commit was reverted. An unauthorized party nevertheless obtained the credential during the exposure window, downloaded stored prompt samples, searched those samples for credentials to other services, and tested whether some credentials worked.
The incident creates a practical liability question: when an internal coding agent moves a live secret into public code and that secret opens a store of customer prompts, which losses sit with the AI service, its customers, the coding-agent supplier, and their insurers?
The public record does not answer that question. Together has not identified the coding agent, the unauthorized party, the number of customers or prompts affected, the duration of the credential exposure, or the contents of the downloaded samples. It has not announced a lawsuit, regulatory finding, insurance claim, or coverage decision. Those limits matter.
What the disclosure does establish is a useful control chain: an agent produced a credential-bearing artifact, detection occurred after the credential reached public code, a third party used the credential, and a private prompt store was downloaded.
Verified facts
The facts below come primarily from Together AI's November 21 security notice, signed by its CEO and co-founder. Together says it worked with an external forensic investigation firm and law enforcement. The forensic report, relevant logs, agent instructions, repository review history, customer agreements, and insurance policies are not public.
Together says it collected prompt samples for authorized routine software testing and stored them in a private Hugging Face repository. The samples came from requests to the MiniMax M3, GLM-5.2, and Kimi K2.6 models through Together's serverless inference service, primarily on June 24 and July 4, 8, and 14, 2026.
During development of Together's public XoRL repository, an AI coding agent committed a credential that could access the private Hugging Face repository. XoRL is publicly described by Together as a distributed training framework. The security notice does not identify the coding-agent product, explain why the agent could access the credential, describe the task it was performing, or say whether a person approved the commit.
Together says automated scanning detected the exposed credential and the company reverted the commit. During the exposure window, an unauthorized party obtained the credential and used it to download the stored prompt samples.
The unauthorized party then searched the samples for credentials to other services and tested credentials for validity. Together says five of the tested credentials were canary credentials associated with a Dragos security experiment. The notice does not say that only five credentials were tested, identify any non-canary credentials, or report downstream compromise of a customer service.
Together says it has not identified evidence of prompt leakage beyond this incident. Its review of the affected prompt contents remains ongoing to determine whether sensitive personal information or other customer data was exposed. The company says it will contact affected customers directly as needed.
The notice lists four changes:
- use scoped or short-lived credentials, and keyless access where supported;
- check every pull request for credentials;
- make zero data retention, or ZDR, the default for new accounts; and
- update development processes governing AI coding agents.
Together advises customers handling sensitive prompts to enable ZDR in their account settings. Its current privacy policy and standard terms say that ZDR applies prospectively after a customer enables it and that covered prompts and outputs are removed when processing concludes. The incident notice does not say whether any affected customer had requested ZDR, and the sampled prompts were stored for an authorized testing use. No ZDR breach should be inferred from the public record.
Those are the verified facts and stated limitations. The disclosure confirms unauthorized acquisition and download of prompt samples. It does not establish the number of affected people, whether personal data was present, whether any real customer credential was successfully reused, who bears legal responsibility, or what any insurer must pay.
Klaimee's analysis: detection after publication was too late for this secret
The coding agent is the unusual part of the story, but the loss mechanism is familiar. A usable credential reached a public source repository. The credential carried enough authority to read a separate store containing customer-derived data. A third party obtained it during the exposure window and used it to download the samples. The disclosure does not identify the credential's origin, owner, or revocation timing.
Together's scanner worked as a detection control. It did not work as a prevention control for this event.
That distinction is central. Reverting a commit removes it from the ordinary tip of a branch; it does not prove that nobody fetched, indexed, mirrored, or copied the secret while it was public. Revoking or rotating the credential is what ends its authority. The public notice does not provide the exact scanning, revocation, or access timeline, so it would be wrong to claim how long the window lasted. The confirmed download shows that the window was long enough.
GitHub documents push protection as a control designed to block supported secrets before they reach a repository. Hugging Face recommends fine-grained production tokens, one token per application or use, and immediate revocation of exposed tokens. Those materials do not prove which features or token type were available or configured in this case. They show the control objective: stop publication where possible, and make any credential that escapes narrow and easy to kill.
The deeper issue is authority concentration. A development workflow for a public training framework had access, directly or indirectly, to a credential for a private prompt-sample store. The public record does not reveal whether the agent read the credential from a file, environment variable, tool result, generated text, or another source. Whatever the path, a public-code task and a customer-derived data store became connected through one usable secret.
NIST's Secure Software Development Framework recommends protecting software components from unauthorized access and integrating security checks into development toolchains. For an agentic workflow, that means applying the same controls to machine-generated changes as to human changes, while assuming that an agent can copy context into an artifact faster and with less intuitive awareness of why the context is sensitive.
The lesson is not “add a prompt telling the agent not to leak keys.” The enforceable boundary belongs in the environment: do not expose unneeded production secrets to the coding task, use narrowly scoped and short-lived identities, block detectable secrets before publication, require review for external writes, and revoke exposed authority immediately.
Where liability may sit
No public record resolves liability. The result would depend on jurisdiction, contracts, the affected data, security representations, causation, damages, and the conduct of each party.
Together AI as service and data custodian. Together collected the prompt samples, selected their storage location, and operated the development workflow in which the credential was published. Its current standard terms say the company will maintain an industry-standard security program designed to protect customer content and prevent unauthorized access. A customer, regulator, or insurer could examine whether credential scope, environment separation, code review, secret prevention, revocation, and data minimization met applicable duties.
Together's public terms also assign customers responsibility for their content, describe ZDR as a customer setting, restrict submission of certain sensitive data, exclude several categories of damages, and ordinarily cap aggregate liability at fees paid in the preceding 12 months, with stated exceptions. Those provisions may shape a contract dispute. They do not establish which terms governed an affected enterprise customer, whether an exception applies, whether a limitation is enforceable, or what duties exist under privacy or security law.
Affected customers. Customers decide what information to place in prompts and whether available retention settings fit their use. Their own rules may prohibit sending production credentials or regulated data to a model. Those choices can affect causation, mitigation, and contractual arguments. They do not authorize an outside party to download stored prompts, and they do not eliminate the provider's obligations for data it chose to retain.
The coding-agent provider. The disclosure does not identify the agent, its supplier, its instructions, or any product defect. It is therefore premature to assign the provider responsibility. A later investigation might ask whether the tool ignored an enforced boundary, whether it merely followed access and write permissions supplied by Together, or whether a human or automated review approved the change. Those facts would materially change any product, contract, or negligence analysis.
The unauthorized party. The person or group that used the credential and downloaded the samples is the direct intentional actor on Together's account. Attribution, jurisdiction, and collectability may make that party a poor source of practical recovery, pushing affected organizations toward contracts and insurance even when the attacker caused the immediate loss.
GitHub and Hugging Face. The public record identifies no failure by either platform. GitHub hosted the public repository, and Hugging Face honored a credential that Together says granted access to the private repository. Whether a preventive scan supported that credential type, whether provider-side notification occurred, and how quickly the token was revoked are not disclosed. Platform involvement alone is not evidence of liability.
Responsibility may be shared across different losses. The party that pays forensic costs may not be the party that answers a privacy claim. A customer that rotates a leaked credential may have a different claim from a person whose personal data was present in a prompt. A contractual cap may affect a customer dispute without controlling regulatory remedies or insurance coverage.
The relevant Klaimee risk domains
This incident maps most directly to four Klaimee risk domains.
Operational control failure. A coding workflow could place a credential for a private prompt store into public code. The scanner detected the exposure, and an unauthorized party still obtained and used the secret; the disclosure does not establish the ordering of detection, acquisition, reversion, and use. Credential scope, environment separation, pre-publication blocking, human review, and revocation speed all belong in the control analysis.
Data exfiltration. The exposed credential was used to download stored prompt samples. Together has not established whether those samples contained sensitive personal information, but unauthorized acquisition of the prompt data itself is confirmed.
Scope violation. A coding agent working on a public repository included a secret connected to a separate private repository. The disclosure does not reveal the agent's exact task or permissions, so model intent cannot be inferred. The committed artifact still crossed the apparent data boundary of the public-code task.
Unauthorized action. The agent's commit was made inside Together's development process, but publishing the credential was not an authorized business outcome. The third party's use of that credential and download of the samples were plainly unauthorized in Together's account.
Output integrity is adjacent rather than the main domain. The agent produced an unsafe code artifact, but the disclosed loss came from the artifact's embedded authority and the later download, not from a false factual answer reaching a user.
Controls that failed, and controls that worked
The public disclosure supports several control observations without proving the unpublished technical details.
Controls that failed or were insufficient for this event included:
- a usable private-repository credential was available to, or entered, the coding workflow;
- the credential's authority included access to stored customer-derived prompts;
- the agent-generated change could reach public code before the secret was blocked;
- the public disclosure confirms both commit reversion and credential use, but not their order; and
- stored prompt samples were valuable enough for the unauthorized party to search for further credentials.
Controls that worked or reduced uncertainty included:
- automated scanning detected the committed credential;
- Together reverted the public commit;
- canary credentials created evidence that the downloaded samples were searched and tested;
- external forensics and law-enforcement involvement supported the investigation;
- Together says it found no evidence of additional prompt leakage; and
- the company published specific remediation measures covering credential scope, keyless access, pull-request checks, retention defaults, and coding-agent development processes.
Canaries were useful detection evidence, not prevention. Likewise, reverting the commit removed the exposed change but did not itself invalidate the credential or reverse the confirmed download; the public record does not reveal the event order. The stronger control stack prevents the secret from entering the agent's context, limits what any exposed token can read, blocks publication, revokes automatically on detection, and keeps enough logs to identify every affected object and customer.
How insurance might respond
There is not enough public information to determine whether any policy responds. Coverage depends on the insured, policy period, insuring agreement, definitions, exclusions, retention, sublimits, causation, contracts, and the loss being claimed.
Cyber coverage is the most direct starting point for Together and affected customers. Depending on wording, it may address forensic investigation, breach counsel, notification, data review, credential rotation, restoration, crisis communications, regulatory defense, or third-party privacy and network-security claims. A prompt download may qualify differently depending on whether the policy requires personal data, confidential information, or any electronic data.
Technology E&O coverage may be relevant if a customer alleges that Together's inference, storage, security, or development services failed to perform as promised and caused financial loss. Contractual-liability provisions, damage exclusions, service definitions, cyber exclusions, and liability caps could change the result. A security representation in public terms is not itself a coverage determination.
Crime or computer-fraud coverage could be considered if an affected prompt contained a working credential that was later used to take money, services, or other property. The public disclosure confirms credential testing but not a non-canary downstream theft. Many crime forms also require a direct loss of covered property, which may not fit investigation costs or loss of data confidentiality.
Privacy and regulatory coverage may matter if the ongoing review finds personal data and notification or regulatory duties follow. The relevant controller, processor, jurisdiction, affected individuals, and executed data-processing terms would need to be established first.
Purpose-built AI agent coverage should be analyzed by certified scope, not by the presence of an agent in the headline. If Together insured this specific coding agent, repository task, tool access, and development environment, a scope violation or unauthorized action trigger might be relevant. An affected customer's own AI-agent policy would not automatically cover a breach caused by a vendor's internal agent. The scheduled agent, insured role, covered loss, and interaction with cyber insurance would control.
One event may reach several policies without producing duplicate recovery or guaranteed payment. The prompt-store breach, a customer's credential rotation, a later fraud loss, a privacy claim, and a service-failure claim are different losses with different triggers.
Questions operators and underwriters should ask now
- Can a coding agent see any credential that is not required for its exact task?
- Can the agent publish externally without a preventive secret check and independent approval?
- Are repository tokens limited to one resource, one action, and a short lifetime?
- Does detection automatically revoke the exposed credential, or only create an alert and revert code?
- Can a prompt-sample store be reached with a credential present in a separate public-code workflow?
- Are stored prompts minimized, redacted, encrypted, access-logged, and deleted on a defined schedule?
- Can the organization identify which customers and records a compromised token accessed?
- Do customer contracts and retention settings match the actual testing and sampling pipeline?
- Does the incident plan distinguish exposure of prompts from proven exposure of personal data or downstream credentials?
- Is the coding agent, its task, its repository access, and its data boundary included in the insured and certified scope?
The durable lesson is simple: treat agent-produced commits as executable external actions, not drafts. A scanner that notices a leaked key is valuable. A system that never gives the agent the key, blocks the push, and limits the token's reach is better.
Sources
- Together AI: Security event, prompt leakage for requests in June and July of 2026, November 21, 2026.
- Together AI: Terms of Service, updated May 19, 2026.
- Together AI: Privacy Policy, accessed November 25, 2026.
- Together AI: XoRL public repository, accessed November 25, 2026.
- GitHub Docs: Push protection, accessed November 25, 2026.
- Hugging Face: User access tokens, accessed November 25, 2026.
- NIST SP 800-218: Secure Software Development Framework Version 1.1, February 2022.
This article provides risk and insurance analysis for general information. It is not legal advice, an offer of insurance, or a coverage determination. Consult qualified counsel and your broker about specific facts, contracts, and policy language.