Python

Malicious LiteLLM 1.107.0 release steals credentials and installs a backdoor

A compromised LiteLLM 1.107.0 release was distributed through PyPI and Docker images on October 21, carrying malware that can run during Python startup. The payload was designed to steal cloud, developer and AI-service credentials; reporting also describes a backdoor capable of remote code execution. PyPI quarantined the package, and the affected Docker image was removed from registries. Organizations that ran the release should treat exposed secrets as compromised and rotate credentials.

AI-written summary, checked against the cited sources. How summaries work

Image: Microsoft Security Blog

Why it matters

Teams that ran LiteLLM 1.107.0 or its affected Docker image should assume credentials may have been exposed, rotate secrets, and investigate affected environments. The reported latest safe version is 1.106.2.

Primary source

Inside the LiteLLM 1.107.0 supply chain compromise: Credential theft through Python startup hooks Microsoft Security Blog

What we know

Confirmed by several sources

Reported by one source

  • Microsoft identified Python startup execution paths involving a credential collector and a Unix-oriented loader, and observed matching endpoint behavior on Windows and macOS. — Microsoft Security Blog
  • Compromised GitHub CLI OAuth tokens were used to push and approve malicious packages on PyPI and Docker. — SecurityWeek
  • The incident was LiteLLM's second supply-chain attack that year. — Help Net Security
  • The most recent safe version was v1.106.2. — The Register
  • The implant used a .pth credential stealer and sitecustomize.py backdoor. — Hacker News

Open questions

  • The scale of the latest attack and the number of affected organizations are not yet clear. — The Register

Coverage 7 publishers

  1. Hacker NewsFirst report

    Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

    LiteLLM 1.107.0 on PyPI ships a .pth credential stealer and a sitecustomize.py backdoor that run on every Python start. How the implant got in, what it steals, and indicators of compromise.

  2. Lobsters

    Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

    LiteLLM 1.107.0 on PyPI ships a .pth credential stealer and a sitecustomize.py backdoor that run on every Python start. How the implant got in, what it steals, and indicators of compromise.

  3. The Hacker News

    LiteLLM Compromised in Supply Chain Attack Delivering Credential Stealer and Backdoor

    The popular LiteLLM Python package has been compromised as part of a software supply chain attack that delivered a credential stealer and a backdoor, according to reports from SafeDep, Socket, StepSecurity, and Upwind. The compromise…

  4. The Register

    LiteLLM supply chain attack hoovers up passwords and secrets

    Unknown crims compromised LiteLLM's release process on Wednesday, distributing a malicious version (1.107.0) containing malware designed to steal cloud and AI credentials and a remote access trojan (RAT) capable of executing arbitrary code…

  5. Help Net Security

    LiteLLM hit by second supply chain attack this year, users urged to rotate credentials

    A malicious release of LiteLLM pushed to PyPI and Docker registries on Wednesday carried malware built to harvest cloud logins, developer secrets and API keys for AI services from anyone who installed it. “LiteLLM got compromised… again,”…

  6. SecurityWeek

    LiteLLM Compromised in Fresh Supply Chain Attack

    Hackers used compromised GitHub CLI OAuth tokens to push and approve malicious packages on PyPI and Docker.

  7. Microsoft Security BlogPrimary source

    Inside the LiteLLM 1.107.0 supply chain compromise: Credential theft through Python startup hooks

    In this article Attack overview Technical detailsMitigation and protection guidanceIndicators of compromiseReferencesLearn More On October 21, 2026, a compromised LiteLLM 1.107.0 release was published to the Python Package Index (PyPI) and…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.