Attacker publishes credential-stealing LiteLLM 1.107.0 through release pipeline

Attacker publishes credential-stealing LiteLLM 1.107.0 through release pipeline

Developer tokens that appear to have been written into the logs of an internal AI gateway were enough to override several release controls and publish a malicious version.

21 October 2026HappenedBreaches and supply chainNew
LiteLLM (open-source library and gateway that routes requests to AI model APIs), release 1.107.0 on PyPI, Docker Hub and GHCR · BerriAI (LiteLLM) · Global
What happened
On 21 October 2026 an attacker used stolen developer GitHub CLI credentials to change LiteLLM's private release workflow so that it built from a lookalike repository, Berri-AI/litellm, instead of BerriAI/litellm. Branch protection rejected the change at 10:08 UTC; five seconds later an organisation owner's token was used to override the protection. A second developer's credential passed the production approval gate and seven malicious litellm 1.107.0 wheels were on PyPI from 11:39 to about 13:23 UTC; container images on GHCR and Docker Hub were affected until 13:51 and 14:20 UTC. LiteLLM says the release contained compiled malware that 'steals credentials and loads remote-code execution tools'. A third developer's credentials were used to delete the workflow run records. LiteLLM found an unexpected user account on an internal LiteLLM deployment exposed to the internet and believes the attacker took the GitHub CLI tokens from that deployment's logs; it has not confirmed how the attacker got in.
Response
PyPI removed the release by 13:23 UTC and the affected Docker Hub and GHCR tags were removed or repointed by 14:20 UTC. LiteLLM revoked maintainer credentials, rotated its image signing key on 23 October and moved to keyless signing on 15 November. It told users to pin version 1.106.2, remove the malicious files, rebuild environments and rotate secrets. It also said to assume exfiltration succeeded on any host with outbound internet access. Enterprise customers on the private registry were not affected.
Discovered by
LiteLLM, which credits the GitHub user LidorMachluf with helping to detect the incident.
Who was affected
Users who installed litellm 1.107.0 from PyPI or pulled the affected container images on 21 October 2026; no count given
Patterns
Supply chainCredentials exposed
Confidence: high · checked 18 November 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 191 incidents →The Future Skills Lab

Learn with us

Learn the human skills that gain value

Future Skills 101: live online sessions of 90 minutes, open to anyone. Power Skills trainings for teams on request.