Executive Summary

On October 21, 2026, attackers compromised the LiteLLM project's release pipeline and published malicious version 1.107.0 to PyPI and Docker Hub. The tampered package contained an info-stealer that harvested cloud credentials (AWS, Azure, GCP, Kubernetes), AI provider secrets, developer keys, browser data, and environment variables, encrypting the haul with AES-256-CBC under an RSA-4096 key before exfiltrating it to a threat-actor-controlled endpoint. All seven PyPI wheels and four Docker image tags were affected for roughly two hours before removal. Organizations running LiteLLM in production—including high-profile users such as NVIDIA, Netflix, AT&T, and Okta—were at risk of full secrets compromise across their AI infrastructure.

This incident is the second supply-chain attack against LiteLLM within a single year, following the March 2026 TeamPCP campaign. It illustrates a rapidly maturing attacker playbook that targets AI gateway libraries to achieve broad, simultaneous credential theft across cloud, DevOps, and AI toolchains—a pattern that is accelerating as AI-integrated software becomes ubiquitous in enterprise environments.

Why This Matters Now

AI SDK supply-chain attacks are surging in 2026 as threat actors recognize that a single poisoned package in an AI gateway can yield cloud, CI/CD, and model-provider credentials at scale. With over 92 million monthly PyPI downloads, LiteLLM's compromise demonstrates that even widely trusted open-source AI infrastructure is a high-value, under-defended target—and that credential exfiltration from developer environments can propagate silently before detection.

Attack Path Analysis

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

The attack highlighted failures in software supply-chain integrity controls required by NIST 800-53 (SR-3, SI-4), PCI DSS 4.0 (6.4.1), and ZTMM egress governance—specifically the lack of outbound traffic inspection and secrets-management enforcement that would have detected or blocked the credential exfiltration to the attacker's endpoint.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.

The LiteLLM supply-chain compromise demonstrates precisely where Aviatrix Zero Trust CNSF adds meaningful friction — from the moment malicious code first reaches a runtime environment through to credential exfiltration over a disguised HTTPS channel. By enforcing segmentation, controlling egress destinations, and limiting east–west reachability across cloud and pipeline contexts, CNSF would likely have reduced the attacker's ability to harvest and move credentials at the scale observed.

Initial Compromise

Control: Cloud Native Security Fabric (CNSF)

Mitigation: Inline enforcement and distributed policy inspection across the build and release pipeline could have flagged anomalous outbound connection attempts from CI/CD automation, reducing the attacker's ability to operate freely within the release infrastructure without raising observable signals.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Identity-aware segmentation policies enforced at the workload level could have constrained which secrets, metadata endpoints, and adjacent services the Python runtime was permitted to reach — reducing the scope of credentials the malware was realistically able to harvest from any single compromised environment.

Lateral Movement

Control: East-West Traffic Security

Mitigation: East–west enforcement monitoring workload-to-workload and service-to-service communication flows could have identified anomalous cross-environment API calls originating from newly compromised identities, likely constraining the attacker's ability to pivot freely across cloud accounts and pipeline infrastructure without detection.

Command & Control

Control: Multicloud Visibility & Control

Mitigation: Centralized traffic observability across cloud workloads could have flagged the periodic, low-volume outbound polling behavior as anomalous — particularly when originating from runtime environments not expected to initiate scheduled external connections — likely reducing the attacker's ability to maintain reliable C2 communication undetected.

Exfiltration

Control: Egress Security & Policy Enforcement

Mitigation: FQDN-based outbound filtering enforced at the egress layer could have blocked connections to the attacker-controlled exfiltration endpoint — even one crafted to resemble a legitimate service domain — likely constraining the attacker's ability to successfully deliver encrypted credential packages outside the environment.

Impact (Mitigations)

Where prior CNSF controls were in place across the affected stages, the realistic scope of credential exposure would likely have been narrowed — fewer reachable secrets, fewer successful lateral pivots, and fewer completed exfiltration uploads — reducing the number of cloud accounts and pipelines the attacker could access from harvested material before detection.

Impact at a Glance

Affected Business Functions

  • AI/ML Platform Delivery and SDK Distribution
  • CI/CD Pipeline Integrity and Software Release Management
  • Cloud Infrastructure Credential Management (AWS, Azure, GCP, Kubernetes)
  • Developer Secrets and API Key Security for AI Provider Integrations
Operational Disruption

Estimated downtime: 1 days

Financial Impact

Estimated loss: N/A

Data Exposure

The malware exfiltrated a broad range of highly sensitive data from all affected installations of LiteLLM 1.107.0 across Windows, Linux, and macOS environments. Stolen data categories include: cloud and infrastructure deployment credentials (AWS, Azure, Google Cloud, Kubernetes, Docker secrets); AI platform authentication tokens and LiteLLM provider API keys and model configuration; developer secrets including Git, GitHub, npm, PyPI, and CI/CD credentials, .env files, SSH keys, GPG keys, and TLS certificates; browser-stored credentials, session cookies, autofill and payment data, and browsing history; and host runtime data including environment variables, shell histories, and system network information. The malware also deployed a persistent hourly loader capable of remote code execution. Given that LiteLLM reports 92 million monthly PyPI downloads and is used by NVIDIA, Netflix, AT&T, and Okta, the potential scope of credential compromise spans thousands of enterprise AI deployments. All exfiltrated data was encrypted with AES-256-CBC and RSA-4096 before being uploaded to the attacker-controlled endpoint litellm[.]dev/healthcheck. The persistent loader (sitecustomize.py) introduced ongoing RCE risk beyond the initial credential theft window.

Recommended Actions

  • • Apply Egress Security & Policy Enforcement with FQDN filtering on all build, CI/CD, and runtime environments to block outbound connections to unauthorized destinations, preventing exfiltration to attacker-controlled endpoints masquerading as legitimate service health-check URLs.
  • • Deploy Cloud Native Security Fabric (CNSF) inline enforcement and Multicloud Visibility & Control to baseline and continuously monitor automation and release pipeline traffic, enabling rapid detection of anomalous publishing activity or unexpected outbound polling loops introduced by compromised build steps.
  • • Enforce Zero Trust Segmentation with least-privilege identity-based policy on all container and Kubernetes workloads to restrict what secrets, IAM roles, and environment variables are accessible to Python runtime processes, limiting the blast radius of startup-hook credential harvesting.
  • • Implement East-West Traffic Security controls to monitor and restrict workload-to-workload and service-to-service flows, ensuring that credentials harvested in one environment cannot be immediately leveraged for lateral movement across cloud accounts, pipelines, and developer infrastructure.
  • • Activate Inline IPS (Suricata) on egress paths from build and runtime environments with updated signatures for known infostealer exfiltration patterns and Cloud Firewall (ACF) URL filtering to detect and block encrypted data uploads to typosquatted or newly registered domains at the network layer independent of endpoint controls.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image