Compromised LiteLLM 1.107.0 PyPI release carried a credential stealer and backdoor
SafeDep’s analysis says LiteLLM 1.107.0 on PyPI installed code that ran at Python startup, stole credentials—including cloud, CI, SSH, and AI-tool tokens—and installed a recurring remote-code loader. The malicious files were absent from the public GitHub source; SafeDep believes the private release pipeline built from attacker-modified source, but says only BerriAI’s pipeline logs can establish how that happened. PyPI removed the release. Anyone who installed 1.107.0 should treat affected hosts and credentials as potentially compromised; the report lists indicators of compromise.
Hacker News readers emphasized that ordinary package installation and broad host permissions make supply-chain attacks difficult to contain, and discussed the limits of relying on sandbox prompts alone.