TeamPCP Supply Chain Attack Compromises litellm PyPI Package
Score: 10/10

TeamPCP Supply Chain Attack Compromises litellm PyPI Package

The threat actor TeamPCP compromised the popular litellm PyPI library to distribute a multi-stage credential harvester and Kubernetes lateral movement payload.

Executive Summary

In March 2026, the threat actor TeamPCP successfully compromised the `litellm` library on PyPI, affecting versions 1.82.7 and 1.82.8. This incident is part of a broader month-long campaign targeting security-adjacent tools including Aqua Trivy and Checkmarx KICS across GitHub Actions, Docker Hub, and npm. The compromise is particularly dangerous because version 1.82.8 introduced a `.pth` file injection, which triggers the malicious payload on any Python invocation in the environment, even if the library is not imported.

Once executed, the malware performs an extensive sweep for cloud provider tokens (AWS, GCP, Azure), Kubernetes secrets, SSH keys, and cryptocurrency wallets. It also attempts to escalate privileges within Kubernetes clusters by deploying privileged pods to every node to install persistent backdoors. Detection engineers should prioritize monitoring for the specific persistence artifacts and the unusual C2 domains, as the attacker effectively bypassed standard integrity checks by regenerating package metadata.

Key Details

Threat Name

TeamPCP

Affects

—

Adversary

TeamPCP

Malware/Tools

CanisterWorm, hackerbot-claw

Report Score

10out of 10
Quality Score
Excellent
IOC Quality9
TTP Details10
Detection Guidance9
Enterprise Relevance10
Clarity & Structure10
Technical Depth10

Sources