Poisoned LiteLLM releases steal credentials; AI data firm Mercor breached

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.

24 March 2026HappenedBreaches and supply chain
LiteLLM Python package (PyPI v1.82.7 and v1.82.8), an LLM API gateway library · LiteLLM (BerriAI); Mercor · Global
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
Supply chainCredentials exposedData left the system
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

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.

All 177 incidents →The Future Skills Lab