LiteLLM hit by supply chain attack again: stealer drains SSH keys, cloud secrets and AI provider keys

AIFlow_ML · x · 2026-10-22

The LiteLLM AI gateway library was compromised again in a supply chain attack: version 1.107.0 on PyPI was built from a lookalike repo (Berri-AI/litellm). PyPI has removed the version and the infected Docker images (latest, main-latest, main-stable) were yanked.

The malware uses a cook.pth credential stealer plus a sitecustomize RCE loader:

Users should pin to a safe version like v1.106.2 by digest.

Related event: LiteLLM 1.107.0 Poisoned in Supply-Chain Attack with Credential Stealer and RCE Backdoor(11 posts)→

Original post →

More from coding & agent

coding & agent channel →