PyPI Supply Chain Attack Compromises LiteLLM, Enabling the Exfiltration of Sensitive Information
40,000 downloads. A compromised LiteLLM package on PyPI harvested credentials from AI builders. Here's what happened—and why your dependency chain is now a security surface.

Why it matters
LiteLLM is a critical infrastructure layer for AI applications. A successful supply chain attack on its PyPI distribution compromises thousands of downstream AI projects relying on the library for LLM integrations, exposing API keys and sensitive data at scale.
The key facts
5 to know40,000+ downloads of compromised LiteLLM version
LiteLLM averages ~3 million downloads per day (baseline)
Malicious payload capable of harvesting and exfiltrating sensitive information
Attack discovered by FutureSearch researcher Callum McMahon
Published March 31, 2026
Go to the source
InfoQ AI/MLinfoq.com
Publisher excerpt: Discovered by FutureSearch researcher Callum McMahon, a supply chain attack against LiteLLM on PyPI resulted in over 40 thousand downloads of a compromised version that installed a malicious payload capable of harvesting and exfiltrating sensitive information. LiteLLM is downloaded roughly 3…