TeamPCP-Linked Backdoors Found in LiteLLM PyPI Versions 1.82.7 and 1.82.8

· Original article ↗

Summary

LiteLLM versions 1.82.7 and 1.82.8 contained malware that harvested credentials, spread through Kubernetes clusters and installed a systemd backdoor. Researchers said the compromise likely involved Trivy CI/CD; both versions were removed from PyPI.

Key points

  • The malicious LiteLLM versions 1.82.7 and 1.82.8 were published to PyPI on March 24, 2026, and were later removed. Researchers said the compromise likely stemmed from Trivy use in the package's CI/CD workflow.
  • Version 1.82.7 triggers the payload when litellm.proxy.proxy_server is imported; version 1.82.8 adds a .pth file that runs at Python startup and launches a detached process.
  • The payload harvests SSH keys, cloud credentials, Kubernetes secrets, cryptocurrency wallets and .env files.
  • Using a Kubernetes service account token when available, the malware can deploy privileged pods across cluster nodes and install a systemd user-service backdoor.
  • The backdoor polls checkmarx[.]zone for additional payloads; harvested data is sent as an encrypted tpcp.tar.gz archive to models.litellm[.]cloud. A URL containing youtube[.]com acts as a kill switch.
  • Recommended response includes removing affected versions and persistence, isolating hosts, checking clusters and egress logs, auditing CI/CD use of Trivy and KICS, and rotating exposed credentials.

Article Details

Event Type
Software supply-chain compromise involving malicious LiteLLM package releases
Impact
LiteLLM versions 1.82.7 and 1.82.8 contained code that harvested credentials, deployed privileged Kubernetes pods across cluster nodes, installed a persistent systemd backdoor, and exfiltrated collected data. The article says the versions were removed from PyPI and that the compromise likely stemmed from LiteLLM's use of Trivy in its CI/CD workflow.

Indicators of compromise

TypeIndicatorContext
DOMAINcheckmarx[.]zoneDomain contacted by the systemd backdoor to retrieve URLs for next-stage payloads.
DOMAINmodels[.]litellm[.]cloudCommand-and-control domain receiving the encrypted archive of harvested data.

MITRE ATT&CK

People

Threat Actors

Vendors

Products

Tools

Related Articles