Over 2,500 organizations and 434,000 CI/CD pipelines
Security firm CloudSEK has uncovered a massive supply chain attack targeting LiteLLM, a popular open-source Python package that acts as a universal interface for over 100 Large Language Model (LLM) APIs. The attack, attributed to the threat group Team PCP, involved publishing malicious versions of LiteLLM to the Python Package Index (PyPI). These trojanized packages were designed to steal sensitive credentials from the environments where they were installed, potentially compromising over 2,500 organizations and hundreds of thousands of CI/CD pipelines. The incident highlights the growing risk of supply chain attacks as a primary vector for compromising modern AI and cloud infrastructure.
The attack occurred in March 2026 when Team PCP successfully published malicious versions 1.82.7 and 1.82.8 of the LiteLLM package on PyPI. Because LiteLLM is used to manage and route requests to various LLM providers, its configuration often contains a treasure trove of secrets, including API keys for services like OpenAI, Azure, and Google's Vertex AI, as well as cloud provider credentials (AWS, GCP) and Kubernetes configurations. The malicious packages were engineered to harvest these secrets and exfiltrate them to an attacker-controlled server.
Although the malicious packages were only available on PyPI for a short window (between 40 minutes and 3 hours), the high download rate of LiteLLM means that thousands of automated build systems and developer environments likely pulled in the compromised versions. The attackers used sophisticated evasion techniques, such as using .pth files, which execute code automatically upon Python interpreter startup, making the malicious activity harder to detect than a typical setup.py script.
The attack chain demonstrates a deep understanding of modern development practices and CI/CD pipelines.
.pth files for execution is a stealthy technique. These files are intended for path manipulation but can be abused to run arbitrary code every time a Python application is started, establishing a form of persistence.This is arguably the most significant supply chain attack on AI infrastructure to date. The compromise of LiteLLM provides attackers with the "keys to the kingdom" for an organization's entire AI ecosystem. With the stolen credentials, attackers can:
The FBI has warned that the credentials harvested in this breach are likely to be used in future attacks for months or years to come, making this a long-tail threat that requires immediate and thorough remediation.
1.82.7, 1.82.8The following patterns can help identify exposure to this attack:
requirements.txt, poetry.locksite-packages/**/*.pth.pth files in Python environments for any suspicious or unexpected code that is not a simple path.pip-audit or commercial Software Composition Analysis (SCA) tools can identify vulnerable dependencies.New details reveal sophisticated secondary exfiltration method using victim's GitHub to create public repositories for stolen credentials.
Ensure dependencies are pinned to known-good versions and use a trusted package repository.
Mapped D3FEND Techniques:
Implement least privilege for CI/CD pipelines using short-lived, narrowly scoped credentials.
Mapped D3FEND Techniques:
Apply strict egress filtering on build environments to block unauthorized data exfiltration.
Mapped D3FEND Techniques:
While not always feasible with PyPI, using packages with verifiable signatures can increase trust.
Team PCP publishes malicious versions of LiteLLM to PyPI.
The FBI issues a FLASH advisory warning that actors will likely weaponize the harvested credentials.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.