The Python package LiteLLM, which has over 95 million monthly downloads, has been compromised with credential-stealing malware. This incident is part of the ongoing supply chain campaign associated with the TeamPCP threat group. The affected versions, 1.82.7 and 1.82.8, were uploaded on March 24, 2026, and have since been removed from PyPI. Version 1.82.6 is now considered the last clean release.
According to security researchers from Endor Labs, the malware embedded in LiteLLM operated in three stages. It collected sensitive information from the system, spread across Kubernetes clusters, and installed a persistent backdoor system service. The stolen data included SSH keys, cloud credentials, Kubernetes secrets, database credentials, cryptocurrency wallets, TLS/SSL private keys, shell histories, and system authentication files. The data was encrypted and sent to attacker-controlled infrastructure for later access through the persistent backdoors.
The compromise has been linked to the TeamPCP threat group, which has been running a multi-stage supply chain campaign targeting various developer ecosystems. This group has previously compromised Trivy and distributed malicious Docker images. Brett Leatherman, FBI Assistant Director of Cyber Division, warned of potential breach disclosures, intrusions, and extortion attempts due to the volume of stolen credentials across multiple environments.
Security experts advise organizations that installed the compromised LiteLLM versions to rotate all credentials and review systems for signs of compromise. It is crucial to address this issue promptly to prevent further unauthorized access to sensitive information. This incident underscores the importance of cybersecurity measures in protecting software supply chains from malicious actors.
