Malicious LiteLLM packages expose AI supply-chain risk
August 12, 2026

Two tampered LiteLLM releases were online for only about 40 minutes. A new analysis links captured files to more than 2,500 organizations, without treating them as confirmed victims.
What this is about
Two tampered releases of the widely used Python package LiteLLM remained on PyPI for only about 40 minutes in March 2026. The injected code searched affected systems for credentials, including cloud keys, SSH keys, Kubernetes tokens, database passwords, and other secrets. On August 12, CloudSEK published a new analysis of the material allegedly captured in the campaign.
The security company says the dataset contains roughly 434,000 files that can be associated with more than 2,500 organizations. That number matters, but it is easy to misread: it does not represent 2,500 confirmed breaches. CloudSEK describes potential exposure and assigns different confidence levels to the associations.
What the attack actually does
LiteLLM gives developer teams a common interface to many AI models. That position also makes it attractive to attackers: the package often runs where applications can reach model providers, cloud services, databases, and internal systems. Installing a tampered release may therefore give malicious code access to an unusually valuable workspace.
According to LiteLLM and PyPA, the compromised releases were versions 1.82.7 and 1.82.8. The incident was connected to the supply-chain compromise of the Trivy security scanner. Rather than stealing only one token, the code systematically searched files and environment variables that commonly hold secrets in development and CI/CD environments.
CloudSEK now provides a public lookup where organizations can search names or domains. A match is a lead for an investigation, not proof of successful abuse. Defenders still need to combine installation records, package caches, build logs, and evidence that the affected versions were actually executed.
Why it matters
The incident shows how little time a supply-chain attack needs. Automated builds frequently install dependencies without a person watching. Even 40 minutes may be enough when many pipelines run at once or container images are rebuilt during that window.
The risk is particularly serious in AI applications because gateways such as LiteLLM connect several trust zones. A single process may hold keys for OpenAI or Anthropic, cloud permissions, observability data, and internal database credentials. Compromising that node can produce damage far beyond the AI service itself.
The reported 434,000 files also explain why changing one password may be inadequate. Teams may need to inspect long-lived keys, machine accounts, certificates, Kubernetes secrets, and container images created during the exposure window. CloudSEK's dataset can help prioritize work, but it does not replace forensic analysis.
In plain language
Imagine a supplier delivering spices to a commercial kitchen. Two boxes also contain a tiny scanner that photographs every key and access card in the storeroom. The boxes remain at the entrance only briefly. But if an automated system distributes them to many kitchens during that time, the short window is enough to create widespread exposure.
The public lookup is like a list of company names visible in those photographs. It indicates whose name appeared, but not which door was actually opened.
A practical example
A team runs 120 builds each day. On March 20, four pipelines update LiteLLM without a strict version lock. Two builds download an affected release, and one environment contains cloud keys and a Kubernetes service account.
The team first identifies builds that ran in the relevant window, the artifacts they produced, and where those images were deployed. It then revokes and reissues exposed credentials. Next, defenders review cloud audit logs, Kubernetes events, and outbound network connections. A CloudSEK match raises the priority, but it must not be treated as the only evidence.
Scope and limits
- CloudSEK's organization count comes from attributed loot; it is not a verified victim list and may include incorrect associations.
- No match in the public lookup does not prove that an environment is clean. Subsidiaries, alternate names, or unobserved data may be absent.
- The affected package releases date to March 2026. The August 12 report is a new assessment of reach, not evidence of a new attack on that date.
Organizations should therefore avoid both panic and complacency. Their own package and build records, rotation of every reachable secret, and investigation of follow-on abuse remain the decisive evidence.
SEO & GEO keywords
LiteLLM, PyPI, Trivy, software supply chain, CloudSEK, AI security, CI/CD security, credentials, Kubernetes, open source security
💡 In plain English
Tampered LiteLLM packages could steal secrets from development environments. A new analysis points to more than 2,500 potentially exposed organizations, but it does not confirm that many successful breaches.
Key Takeaways
- →The tampered LiteLLM versions 1.82.7 and 1.82.8 were available on PyPI for about 40 minutes in March.
- →CloudSEK associates roughly 434,000 captured files with more than 2,500 organizations.
- →The organization count describes potential exposure, not confirmed victims.
- →Teams should inspect package records, rotate secrets, and investigate follow-on abuse.
- →No match in the public lookup is not an all-clear.
FAQ
Which LiteLLM versions were affected?
The security notices identify versions 1.82.7 and 1.82.8. Teams should also inspect package caches and images built from them.
Were more than 2,500 companies definitely breached?
No. The number comes from attribution of captured files and describes potential exposure, not confirmed successful attacks.
What should affected teams do first?
They should preserve installation and build records, identify affected artifacts, and revoke reachable credentials. They should then look for unusual use of those credentials.