MediumNews
Python package security in 2026: How supply chain attacks are targeting your AI development environment
- Published
- Record updated
Summary
On March 24, 2026, a threat actor group known as TeamPCP compromised the PyPI distribution pipeline and pushed malicious LiteLLM versions 1.82.7 and 1.82.8, which carried a .pth file payload that ran code at every interpreter start. According to Zscaler ThreatLabz, the poisoned packages were available for approximately three hours before quarantine, and the payload targeted AWS, GCP and Azure tokens, SSH keys and cloud account credentials.
Mitigation
The source recommends pinning every dependency in AI development environments to an exact version and verifying checksums against a known-good hash. The source states this would have limited the LiteLLM attack's blast radius to environments that explicitly upgraded to the compromised versions.
Topics
Related items
- MediumCVE-2026-135287: LiteLLM Proxy callback injection through request body callbacks fieldsSame vendor · NVD/CVE Database
- InfoHow AI is changing the nature of cyberattacksSame vendor · CSO Online
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor · GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor · GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor · GitHub Advisory Database