xAI staff API key for private models left on GitHub
A credential to unreleased, company-specific models stayed usable for about two months after the first automated warning.
- What happened
- An xAI technical staff member committed a private xAI API key to a public GitHub repository. GitGuardian's automated scanning alerted the employee on 2 March 2025, but the key stayed valid. The key gave access to at least 60 fine-tuned and private language models, including unreleased Grok versions and models built for SpaceX and Tesla. On 30 April 2025 GitGuardian notified xAI's security team directly, and the repository was removed within hours.
- Response
- xAI asked GitGuardian to report through its HackerOne programme and did not comment publicly. The repository was taken down after the April notification.
- Discovered by
- GitGuardian secret-scanning; publicised by Philippe Caturegli of Seralys.
- Who was affected
- At least 60 private or unreleased models, including models fine-tuned on SpaceX, Tesla and X data (e.g. 'grok-spacex-2024-11-04', 'tweet-rejector')
- Patterns
- Sources
- xAI Dev Leaks API Key for Private SpaceX, Tesla LLMsKrebs on Security, 1 May 2025
- xAI Developer Accidentally Leaks API Key Granting Access to SpaceX, Tesla, and X LLMsGBHackers, 5 May 2025
Related
Incidents with the same pattern
What does this ask of people?
Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.