Compromised LiteLLM 1.107.0 Releases Deliver Credential-Stealing Malware

· Original article ↗

Summary

Attackers compromised LiteLLM’s release pipeline and distributed malicious PyPI 1.107.0 wheels and Docker images for Windows, Linux, and macOS. The payload stole credentials and secrets; affected users are advised to isolate systems and rotate exposed secrets.

Key points

  • LiteLLM’s maintainer says the release pipeline was compromised on October 21, and version 1.107.0 was pushed to PyPI and container registries. All seven PyPI wheels and several Docker and GHCR tags were affected.
  • The attacker modified the installation package, adding cook.pth, cook.py, and sitecustomize.py. Python processes executable .pth lines and imports sitecustomize during startup, so launching Python or pip in an affected environment could trigger the malware.
  • Researchers said the payload targeted cloud, Kubernetes and Docker credentials; AI tool and provider credentials; developer secrets and private keys; browser data; environment variables; and system information.
  • Stolen data was encrypted with AES-256-CBC, with the key encrypted using RSA-4096, then uploaded to litellm[.]dev/healthcheck.
  • A detached loader launched by sitecustomize.py checks a GitHub-hosted pointer hourly and downloads Python from an external server for execution on the host.
  • The malicious packages have been removed. The project recommends LiteLLM 1.106.2 as the latest clean release; affected users should stop deployments, inspect environments without launching Python, isolate and rebuild infected systems, and rotate exposed secrets.

Article Details

Victim Organization
LiteLLM project
Incident Type
Software supply-chain compromise; malicious LiteLLM packages and Docker images distributed with credential- and data-stealing malware
Incident Date
2026-10-21
Disclosure Date
2026-10-22
Data Types Exposed
  • Cloud and deployment credentials
  • AI provider credentials and configuration
  • Developer credentials and secrets
  • SSH, GPG, and TLS keys
  • Browser logins, cookies, autofill/payment data, and browsing history
  • Environment variables
  • Shell and application histories
  • System and network information
Affected Records
Unknown
Affected Data Size
Unknown
Operational Impact
All seven PyPI wheels for LiteLLM 1.107.0 and specified Docker Hub and GHCR image tags pointed to compromised artifacts for limited periods. The payload executed during Python startup and could steal data from affected environments. The article does not report a confirmed number of affected installations or stolen-data volume.
Ransom Or Extortion
None reported.
Claim Status
confirmed

Indicators of compromise

TypeIndicatorContext
SHA2561bbcb1443bc962e45f5aad53fe3d2c30600e0379715fb6c664cdd3ac126c339eSHA-256 digest of a Docker image index identified by the maintainer as compromised.

MITRE ATT&CK

Products

Related Articles