What's Happening?
Together AI, an AI inference provider, has disclosed a security incident where an AI coding agent inadvertently committed a credential to a public GitHub repository. This exposure allowed an unauthorized party to download stored samples of customer prompts.
The intruder subsequently searched these samples for credentials to other services. The affected prompt samples originated from requests to MiniMax M3, GLM-5.2, and Kimi K2.6 through Together AI’s serverless inference service, primarily on specific dates in June and July 2026. Together AI stated that these samples were collected for routine software testing, with authorization, and were initially stored in a private Hugging Face repository. The credential, which granted access to this private repository, was exposed by an AI coding agent working on xorl, Together AI's public GitHub project. Although automated scanning detected the exposure and the commit was reverted, the intruder managed to obtain the credential during the brief window it was public. The company is still reviewing the prompt samples for sensitive personal information or other customer data and plans to contact affected customers directly.
Why It's Important?
This incident highlights significant cybersecurity vulnerabilities within the rapidly evolving AI industry, particularly concerning the management of sensitive data and the security practices surrounding AI development tools. The exposure of customer prompt samples, which could contain credentials for other services, poses a direct threat to data privacy and security for Together AI's clients. The fact that an AI coding agent was responsible for the leak underscores the emerging risks associated with autonomous development tools and the need for robust security protocols in AI-driven workflows. This event could erode trust in AI service providers, prompting businesses to re-evaluate their data handling agreements and security assurances when utilizing third-party AI inference services. For the broader tech industry, it serves as a critical reminder of the importance of secure coding practices, credential management, and continuous monitoring, especially as AI agents become more integrated into development pipelines. The incident also brings to light the potential for supply chain attacks, where a vulnerability in one component (like an AI coding agent) can compromise an entire system.
What's Next?
Following the incident, Together AI has implemented several changes to enhance its security posture. The company now checks all pull requests for credentials and has updated its processes for AI coding agents. It is also adopting scoped or short-lived credentials and keyless access where supported. Crucially, Together AI has made zero data retention the default setting for new accounts and advises existing customers handling sensitive prompts to enable this setting. The company has engaged an external forensic firm and law enforcement to investigate the breach further. While Together AI has found no evidence of additional prompt leaks and believes the downloaded data has been deleted, the full scope of the leak, including the number of affected customers and whether any credentials found in the data were used to access other services, remains unclear. Affected customers will be contacted directly as the review of prompt samples for sensitive information progresses.
Beyond the Headlines
This security breach by an AI coding agent introduces a new dimension to cybersecurity concerns, moving beyond human error to potential vulnerabilities introduced by autonomous systems. The incident raises questions about accountability and oversight in AI development, particularly when AI agents are granted access to sensitive operational environments. It underscores the need for a paradigm shift in security strategies, where AI systems themselves are not only protected but also designed to be inherently secure and incapable of introducing vulnerabilities. The use of 'canaries' or decoy credentials by industrial cybersecurity companies like Dragos, as mentioned in the context of this leak, highlights proactive efforts to monitor and detect data exposure across AI services. This suggests a growing recognition within the cybersecurity community of the unique risks posed by AI platforms and the necessity for innovative detection methods. The incident could accelerate the development of specialized security frameworks and best practices for AI-driven development, emphasizing 'security by design' principles for AI agents and their interactions with sensitive data and repositories.













