LiteLLM 1.107.0 on PyPI shipped credential stealer and RCE backdoor via .pth

petrusenko_max · x · 2026-10-22

All seven wheels of LiteLLM 1.107.0 on PyPI shipped a cook.pth file that imports a credential stealer and an RCE backdoor — both execute whenever any Python process starts, even without importing litellm.

PyPI has removed the malicious version. Versions 1.106.2, 1.107.0rc1 and rc2 are confirmed clean. Anyone who installed 1.107.0 should downgrade and rotate credentials.

Related event: LiteLLM 1.107.0 hit by PyPI supply chain attack with credential stealer and backdoor(7 posts)→

Original post →

More from Infra

Infra channel →