Rogue Agents Watch › Records › litellm-pypi-teampcp-backdoor
LiteLLM PyPI package backdoored via a poisoned CI security scanner (TeamPCP)
Disclosed · added to the index · last updated
Grades
- Verification status
- Confirmed — Confirmed by a first-party disclosure or multiple independent credible sources.
- Sourcing confidence
- Primary — Backed by primary sourcing — first-party disclosure, vendor incident report, government advisory, or court documents.
- AI role
- Incidental — AI played a minor or supporting role (e.g. a productivity aid); sources indicate it did not provide novel capability.
- Severity
- High — Significant confirmed harm to one or more organizations.
Summary
On 2026-03-24 two malicious versions of the widely used LiteLLM Python package (1.82.7 and 1.82.8) were published to PyPI and were available for about three hours before PyPI quarantined them. Snyk reports the attackers first compromised the Trivy open-source scanner through its GitHub Action, which LiteLLM's CI pipeline ran without a pinned version, exposing LiteLLM's PyPI publishing credentials; the attackers then used those legitimate credentials to publish releases that passed standard integrity checks. On install the payload harvested cloud, SSH, Git, API and Kubernetes credentials and sent them to an attacker server, installed persistence and attempted to spread to Kubernetes nodes. Snyk attributes the campaign to TeamPCP (also tracked as PCPcat), part of a broader effort that also hit Trivy and Checkmarx KICS. FutureSearch, which discovered the package pulled in as a transitive dependency, confirms the versions and payload. No specific victim organizations are confirmed; LiteLLM is downloaded on the order of millions of times per day.
Impact as stated
Malicious LiteLLM 1.82.7 and 1.82.8 live on PyPI for about three hours; on install the payload harvested cloud, SSH, Git, API and Kubernetes credentials, installed persistence and attempted Kubernetes lateral movement. No confirmed victim organizations; the package sees on the order of millions of downloads per day.
Facts as stated by sources
- Actor
- TeamPCP (also tracked as PCPcat), per Snyk (Cybercriminal)
- Category
- Infrastructure abuse / supply chain
- Models named
- not named by sources
- Model families
- Other / unspecified
- Agentic autonomy level
- Not applicable
- Guardrail bypass
- Legitimate tool abuse
- Attack lifecycle phases
- Resource development, Initial access, Credential access, Persistence
- Target sectors
- Technology
- Target countries
- not stated
- Organisations affected
- not stated
- Records exfiltrated
- not stated
Framework mappings
- MITRE ATLAS
- AML.T0010.001, AML.T0011.001
Mitigations as stated
- Pin LiteLLM to 1.82.6 or earlier and treat any host that installed 1.82.7 or 1.82.8 as compromised and rotate its credentials; audit CI/CD pipelines for unpinned tool versions including GitHub Actions; and check Kubernetes clusters for signs of compromise (Snyk).
Map
No cited source states a location; this record is listed beside the map, never plotted.
Related records
- Miasma worm: Azure/durabletask commit weaponized AI coding-agent configuration files; 73 Microsoft repositories disabled
- hackerbot-claw: self-described autonomous 'security research agent' exploiting GitHub Actions across open-source projects
- Nx 's1ngularity' npm supply-chain attack weaponising AI CLI tools
Sources (2; 2 distinct publishers)
- How a Poisoned Security Scanner Became the Key to Backdooring LiteLLM
Snyk · Vendor report · · archived copy - litellm 1.82.8 Supply Chain Attack on PyPI (March 2026)
FutureSearch · Blog · · archived copy
Cite this record
Agentic Attack Index (MLSecOpsHub), dataset v0.9.0, record "litellm-pypi-teampcp-backdoor". https://raw.githubusercontent.com/MLSecOpsHub/agentic-attack-index/v0.9.0/dist/incidents/litellm-pypi-teampcp-backdoor.json — CC BY-SA 4.0.