Documented Incident · INC-OBS-010 · Critical severity

LiteLLM PyPI Supply Chain Compromise (v1.82.7 / v1.82.8) Installing Credential Hooks

On March 24, 2026, threat actors compromised the PyPI release pipeline for LiteLLM, publishing trojanized package versions `1.82.7` and `1.82.8` of the widely adopted unified LLM proxy library. The malicious wheels dropped Python startup hooks (`.pth` / `sitecustomize.py`) that executed automatically whenever the Python interpreter started, harvesting cloud IAM credentials, Kubernetes secrets, and centralized OpenAI/Anthropic/Bedrock API keys held by AI gateways. Because enterprises deploy LiteLLM as a central broker holding master keys for every model provider, gateway compromise created an outsized blast radius. Maintainers yanked the poisoned versions, rotated PyPI credentials, and advised immediate secret rotation across affected environments.

Incident dossier metadata

Case ID
INC-OBS-010
Classification
Incident
Date
Severity
Critical
Sector
Cloud & AI Infrastructure
Attack vector
Supply Chain
System type
Unified LLM API Proxies & Enterprise AI Gateways
Reference URI
https://securitylabs.datadoghq.com/articles/litellm-supply-chain-compromise/

Inspect INC-OBS-010 in Interactive Incidents & Cases Hub

Defensive takeaway

Pin verified wheel digests for AI gateway dependencies, scan installed Python site-packages for unauthorized .pth hooks, and use short-lived IAM roles rather than static keys.

Mapped AI security techniques

Mapped defensive controls

Source citation records