chiprook
← Security
SecurityOctober 24, 2026, 09:31

Malicious LiteLLM 1.107.0 on PyPI and Docker Hub runs code on Python startup

A compromised LiteLLM 1.107.0 was published to PyPI and Docker Hub on October 21. A cook.pth file and sitecustomize.py script make the package execute arbitrary code every time the Python interpreter starts. Systems that installed it without version pinning or pulled the latest, main-latest, main-stable or v1.107.0 images should be treated as compromised.

Malicious LiteLLM 1.107.0 on PyPI and Docker Hub runs code on Python startup
#LiteLLM#PyPI#DockerHub#Python
Read next
Security

LiteLLM release pipeline hacked to distribute info-stealer malware

Security

LiteLLM suspects GitHub token leak in AI gateway logs behind malicious package

Security

LiteLLM supply chain backdoor: malicious 1.82.7 and 1.82.8 on PyPI

Security

LiteLLM compromised in supply chain attack with credential stealer