Poisoned LiteLLM releases steal credentials; AI data firm Mercor breached
A compromised security scanner in the build pipeline led to a trojanised AI gateway library, which then exposed a data vendor used by frontier AI labs.
- What happened
- On 24 March 2026 two malicious versions of LiteLLM, a widely used library that routes requests to AI model APIs, were uploaded directly to PyPI, bypassing the project's CI/CD. LiteLLM traced the compromise to the Trivy security scanner used in its build pipeline, which the TeamPCP group had compromised on 19 March. The payload collected environment variables, SSH keys, cloud credentials, Kubernetes tokens and database passwords, and sent them to a lookalike domain. On 31 March Mercor confirmed it had been affected. The extortion group Lapsus$ claimed responsibility and posted samples it said were Mercor Slack data, tickets and videos of AI interviews with contractors.
- Response
- The malicious versions were removed from PyPI within hours. LiteLLM engaged Google Mandiant and published remediation steps, including credential rotation and removing a persistence file. Mercor engaged third-party forensics. On 25-26 June 2026 it notified affected experts and offered TransUnion identity protection.
- Discovered by
- The open-source security community and LiteLLM maintainers on the day of publication; Mercor detected unauthorised activity in its own systems.
- Who was affected
- Systems that installed the malicious versions ('thousands of companies' per Mercor); Mercor, an AI training-data contractor platform serving OpenAI and Anthropic, with a limited group of its ~5 million experts' data compromised
- Patterns
- Sources
- Security Update: Suspected Supply Chain IncidentLiteLLM, Mar 2026
- LiteLLM PyPI packages compromised in expanding TeamPCP supply chain attacksHelp Net Security, 25 Mar 2026
- Mercor says it was hit by cyberattack tied to compromise of open source LiteLLM projectTechCrunch, 31 Mar 2026
- Mercor Data Breach: Investigation Findings and UpdatesMercor, 25 Jun 2026
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.