---
title: "LiteLLM release pipeline hijacked to publish credential-stealing 1.107.0"
description: "0 with credential-stealing code on 21 October. LiteLLM says the rogue PyPI wheels and container images were quarantined or repointed the same day."
url: "https://shadowmap.com/threat-intel/litellm-release-pipeline-malicious-package/"
---

[All incident reports](https://shadowmap.com/threat-intel/) 

 Incident report 

#  LiteLLM release pipeline hijacked to publish credential-stealing 1.107.0 

 Attackers used a master key left in a public GitHub repository to take over LiteLLM's release pipeline and publish version 1.107.0 with credential-stealing code on 21 October. LiteLLM says the rogue PyPI wheels and container images were quarantined or repointed the same day. 

[ShadowMap Research](https://shadowmap.com/threat-intel/about/)  · First published 23 Oct 2026, 00:42 IST 

## The short version

- **The takeover.** _An Agent Platform_ master key committed to a public repository in May was never revoked. On 10 October someone used it to reach the platform and extract an unscoped GitHub token tied to the organisation owner's account.
- **The payload.** Version 1.107.0 shipped an altered installation package that ran code at Python startup and harvested cloud, AI, developer and browser credentials.
- **Exposure window.** _The PyPI_ wheels were live from 11:39 to 13:23 UTC on 21 October and the _Docker Hub_ tags until 14:20 UTC. Application security firms detected the package within six minutes of publication.
- **LiteLLM's account.** The project says private enterprise deployments were not affected, recommends returning to 1.106.2 and is revoking every token held by its internal systems and vendors.

## Timeline

| Date              | Event                                                                                                                                                                          |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 27 May            | A configuration file containing the master key for a _LiteLLM Agent Platform_ deployment is committed to the public LiteLLM-Labs/lite-harness repository.                      |
| 10 Oct            | An attacker using 69.48.229\[.\]143 reaches the _Agent Platform_ with the unrevoked key and extracts a _GitHub CLI OAuth_ token belonging to the organisation owner's account. |
| 10 Oct            | Two short-lived branches run workflows that collect _GitHub OAuth_ tokens from maintainers and send them to attacker-controlled endpoints.                                     |
| 12 Oct            | A second malicious workflow commit widens collection to AI provider keys, database and cache credentials and a secret-scanning tenant key.                                     |
| 21 Oct            | Between 10:08 and 11:08 UTC the attacker overrides branch protection and points the release pipeline at the lookalike repository Berri-AI/litellm.                             |
| 21 Oct, 11:39 UTC | LiteLLM 1.107.0 is published to PyPI with all seven wheels carrying the payload.                                                                                               |
| 21 Oct, 11:46 UTC | _Docker Hub and GHCR_ tags v1.107.0, latest, main-latest and main-stable are pointed at the compromised images.                                                                |
| 21 Oct, 12:06 UTC | Upwind researcher _Lidor Machluf_ reports the supply-chain attack.                                                                                                             |
| 21 Oct, 13:23 UTC | PyPI quarantines version 1.107.0.                                                                                                                                              |
| 21 Oct, 14:20 UTC | The affected _Docker Hub_ tags are removed or repointed to clean images.                                                                                                       |

## How the release pipeline was taken over

LiteLLM's post-mortem, reported by _The Hacker News_, traces the takeover to a file committed on 27 May 2026 to the public LiteLLM-Labs/lite-harness repository. It held the master key for a deployment of the _LiteLLM Agent Platform_, an open-source tool the project uses to orchestrate agents. The commit was force-pushed over and the exposed keys were identified as requiring revocation. In the project's words, "However, key revocation did not occur for the master key."

On 10 October an attacker working from 69.48.229\[.\]143 used the key to open the _Agent Platform_ and extract a _GitHub CLI OAuth_ token that let self-hosted cloud agents file pull requests. The token was not scoped down and was tied to the account of the organisation's GitHub owner, giving owner-level access to every repository. Commits pushed to short-lived branches on two internal repositories ran workflows that collected tokens from two maintainers with maintainer privileges.

Socket found a second commit on 12 October that widened collection to Anthropic, OpenAI, _AWS Bedrock_, Tavily, PostgreSQL, _Redis and GitGuardian's_ secret-scanning tenant. _Socket's Karlo Zanki_ said of the branches: "Neither commit was pushed to a branch that still exists." On 21 October the attacker overrode branch protection and repointed the release pipeline at the lookalike repository Berri-AI/litellm rather than BerriAI/litellm.

## What the malicious version did

The attacker left LiteLLM's application code alone and changed only the installation package, adding three files to Python's library directory. One was a .pth file and one a startup hook module that Python imports when it launches. _Socket and Endor Labs_ say the payload therefore ran before the application every time Python started, and also fired when Python or pip was run to investigate the installation.

The code collected cloud and deployment credentials for AWS, Azure, _Google Cloud_, _Kubernetes and Docker_; LiteLLM's stored provider credentials; Git, GitHub, npm, _PyPI and CI_/CD secrets; .env files; SSH, _GPG and TLS_ keys; browser logins, cookies and payment autofill data; and environment variables and shell history. Stolen data was encrypted with an AES-256-CBC key wrapped by an RSA-4096 key and sent to litellm\[.\]dev/healthcheck. A detached loader checked a GitHub-hosted pointer hourly and downloaded Python from an external server.

Several application security companies spotted the package within six minutes of publication. _After Machluf's_ report, PyPI quarantined the release at 13:23 UTC, GHCR images became unavailable by 13:51 UTC and the _Docker Hub_ tags were removed or repointed by 14:20 UTC. The malicious packages have been removed.

## Who is affected

_Every PyPI_ wheel of version 1.107.0 was affected, across Windows, Linux and macOS, along with the _Docker Hub and GHCR_ tags v1.107.0, latest, main-latest and main-stable. According to BleepingComputer, the project has 61,800 GitHub stars and 92 million monthly PyPI downloads, and is used by companies including NVIDIA, Netflix, AT&_T and Okta_. Potentially impacted users should stop affected deployments and inspect environments without launching the Python interpreter.

LiteLLM says customers running its private enterprise deployment were not affected, and names 1.106.2 as the recommended clean version. It says it is revoking every token associated with every internal system and vendor platform. BleepingComputer notes that deleting the package directory alone may leave startup files or an active loader in place.

LiteLLM had a previous release-pipeline breach in March, when the TeamPCP group published malicious versions on PyPI after breaching _Aqua Security's Trivy_ vulnerability scanner used in _LiteLLM's CI_/CD pipeline. No source connects that breach to the October incident.

## What is not known yet

- Who carried out the attack; no source names a group, individual or country.
- How many organisations downloaded or deployed version 1.107.0 during the roughly two-hour window.
- Whether the harvested cloud, AI, repository and database credentials have been used against LiteLLM or its users.
- Whether any downstream organisation has suffered a breach as a result.
- _Whether the October_ incident and the _March Trivy-linked_ breach involved the same actor.

## What to do

### If you run LiteLLM

1. Stop any deployment running 1.107.0 and isolate the host; do not run the Python interpreter or pip inside it to investigate.
2. Rebuild from clean backups rather than deleting the package directory, which may leave the startup hook and loader behind.
3. Rotate every credential reachable from that host, including cloud, Kubernetes, Docker, CI/CD, Git, npm, PyPI, SSH, GPG, _TLS and AI_ provider keys.
4. Return to version 1.106.2 and check for outbound connections to litellm\[.\]dev or to a GitHub-hosted pointer fetched hourly.

### If you publish or maintain software

1. Revoke any secret that has ever been committed to a public repository; force-pushing over the commit does not remove it.
2. _Scope CI_/CD tokens narrowly and keep release approval tied to a hardware-bound account rather than any two engineers.
3. Alert on new workflow files, short-lived branches and changes to the repository a release pipeline builds from.

### For everyone else

1. Treat credentials stored on any machine that installed the affected release as exposed, and check logs for traffic to litellm\[.\]dev and webhook\[.\]site addresses.

## When a secret becomes public

A credential or API key appearing in public code is an exposure even when there is no evidence it was used. The immediate questions are who owns it, what it can access and whether it is still valid.

ShadowMap monitors public code repositories and other leakage sources for secrets associated with an organisation. Those findings give teams a starting point for investigation and credential rotation. Discovery does not establish whether an attacker used the secret.

[Data exposure monitoring in ShadowMap](https://shadowmap.com/data-exposure-monitoring/)

## Update log

- 23 Oct 2026, 00:42 IST First published.

## Sources

- [Leaked LiteLLM Master Key Let Attackers Steal GitHub Tokens and Hijack Release Pipeline](https://thehackernews.com/2026/10/leaked-litellm-master-key-let-attackers.html) The Hacker News, 24 Oct 2026
- [LiteLLM release pipeline hacked to distribute info-stealer malware](https://www.bleepingcomputer.com/news/security/litellm-release-pipeline-hacked-to-distribute-info-stealer-malware/) BleepingComputer, 22 Oct 2026

### New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our [Privacy Policy](https://shadowmap.com/privacy-policy/).

You are on the list. The next weekly email will include you.

That did not go through. Please try again.

[Add ShadowMap as a preferred source on Google](https://www.google.com/preferences/source?q=shadowmap.com) 

##  Want us to look at your domain? 

 Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required. 

[ Get a free exposure snapshot ](https://shadowmap.com/resources/exposure-snapshot/?source=threat-intel-litellm-release-pipeline-malicious-package) [ Book a 30-minute demo ](https://shadowmap.com/contact/?source=demo&threat-intel=litellm-release-pipeline-malicious-package)
