Credential-stealing software has been discovered in the latest update of a popular Python library used to connect various AI model providers. The malware, which is embedded in LiteLLM version 1.107.0, targets developer secrets, cloud credentials, and AI tools via PyPI wheels and Docker images. JFrog Security Research and Socket Security reported that the code executes during Python startup, meaning the system is compromised even if the user does not explicitly import the LiteLLM package.
The compromised library sees more than 92M monthly downloads and has a history of previous PyPI breaches. Socket Security flagged seven malicious wheels within seven minutes of their publication, identifying that the release workflow utilized a lookalike repository to build container images. Users are advised to avoid version 1.107.0 and audit all environments where the version was installed or executed.
