Popular AI tool LiteLLM says unrevoked key allowed hackers to target users
LiteLLM supply-chain attack exploited unrevoked API key to distribute credential-stealing malware to ~49K users.
Run Google (Wiz)?
Get an email when a reviewed story names Google (Wiz), usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
Summary
LiteLLM, a popular open-source AI development tool, suffered a supply-chain attack after an API key accidentally exposed in May was not revoked. An attacker used the key to gain control of LiteLLM's GitHub repositories and distribute a malicious version (1.107.0) containing credential-harvesting malware via PyPI that was downloaded approximately 49,000 times. The stolen cloud credentials were immediately tested for unauthorized access to AWS AI services, consistent with "LLMjacking" attacks designed to exploit victim accounts.
The lesson from this incident
Full lessonAn API key accidentally exposed in May was never revoked, giving an attacker persistent, privileged access to LiteLLM's GitHub repositories months later. This single oversight allowed the adversary to poison a widely-used open-source package on PyPI, resulting in approximately 49,000 downloads of credential-harvesting malware. The stolen cloud credentials were immediately weaponized to access AWS AI services — a pattern known as LLMjacking — amplifying the damage far beyond the initial compromise. This incident illustrates that a leaked secret left unrevoked is functionally equivalent to handing an attacker a permanent key to your infrastructure.
What helps against this
How we list vendors- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.
- Threat intelligence
Attack campaigns reach your sector, suppliers or software before your team hears about them.
- Software supply chain security
Malicious and vulnerable open-source packages are caught before they ship.
Indicators of Compromise
- malware — LiteLLM v1.107.0 (compromised package)