TeamPCP LiteLLM AI Gateway Supply Chain Compromise
Score: 8/10

TeamPCP LiteLLM AI Gateway Supply Chain Compromise

Threat actor TeamPCP compromised the LiteLLM AI proxy via a cascading supply chain attack originating from malicious GitHub Actions in the Trivy vulnerability scanner.

Executive Summary

TeamPCP orchestrated a sophisticated multi-ecosystem supply chain campaign that targeted developer tooling, specifically the Trivy vulnerability scanner and LiteLLM AI gateway. By exploiting a misconfigured GitHub Action in Trivy, the attackers harvested credentials that allowed them to publish trojanized versions of LiteLLM (1.82.7 and 1.82.8) to PyPI. These malicious packages contained a three-stage payload designed for massive credential harvesting, Kubernetes lateral movement, and persistent remote access.

The attack is technically notable for using Python '.pth' files to achieve execution on every interpreter startup, effectively bypassing the need for a user to explicitly import the compromised module. The payload targeted over 50 categories of secrets, including AWS/Azure/GCP credentials, SSH keys, and critically, LLM API keys. This incident underscores a growing 'concentration of risk' where AI proxy services, which centralize high-value API keys for multiple model providers, become primary targets for supply chain actors.

While PyPI removed the affected versions within hours, the campaign affected numerous downstream projects including DSPy, MLflow, and CrewAI. The actor's operational maturity was demonstrated by a global 'kill switch' (a YouTube URL check) and the use of AdaptixC2 infrastructure hosted on bulletproof hosting. Organizations using LiteLLM or Trivy-based CI/CD workflows should immediately audit for persistence and rotate all potentially exposed secrets.

Key Details

Threat Name

TeamPCP LiteLLM Supply Chain Campaign

Affects

Palo Alto Networks GlobalProtect devices

Adversary

TeamPCP

Malware/Tools

CanisterWorm, AdaptixC2, sysmon.py

Report Score

8out of 10
Quality Score
Good
IOC Quality7
TTP Details9
Detection Guidance6
Enterprise Relevance10
Clarity & Structure10
Technical Depth9

Sources