Security

LiteLLM attack hits over 2500 companies worldwide

3 min read

TL;DR Too Long; Didn’t read

CloudSEK has reassessed the consequences of an attack discovered in March 2026 on the open-source AI gateway LiteLLM: at least 2500 companies and around 434,000 CI/CD pipelines are said to be affected. The starting point was a hijacked security scanner through which criminals circulated two manipulated packages. Stolen credentials for cloud services and AI providers remain a risk, according to the FBI.

A wrench with a hidden trapdoor drops golden keys onto a conveyor belt made of shipping containers, one of the containers is torn open and glows red. Image generated with GPT Image 2

Key takeaways

  • CloudSEK dates the origin to a compromised version of the scanner Trivy in March 2026.
  • Two manipulated LiteLLM packages were available on PyPI for about forty minutes on March 24 before being blocked.
  • The malware stole cloud credentials, SSH keys, and AI provider keys via an automatically starting file.
  • Nvidia, Siemens, Cisco, Salesforce, and Orange are among those identified with high confidence by CloudSEK.
  • The official LiteLLM proxy Docker image remained unscathed because it has fixed, vetted dependencies.
  • The FBI warned in July of continued abuse of already stolen credentials.

A March 2026 attack on the open AI gateway LiteLLM has affected significantly more companies than previously known. The security firm CloudSEK now puts the number of affected companies at over 2500 and the affected CI/CD pipelines at around 434,000. According to CloudSEK, the identified organizations include Nvidia, Amazon Web Services, Cisco, Salesforce, telecom group Orange, and Germany’s Siemens.

Compromised scanner injects malicious code into AI gateway

The origin of the attack chain traces, according to Unit 42 at Palo Alto Networks, to the group TeamPCP, which compromised the open-source security scanner Trivy in March 2026. Using a leaked automation token, the attackers injected malicious code into Trivy’s build chain and through it reached the Python package of the AI gateway LiteLLM, which developer teams use to route requests to different language models through one interface. On March 24, they uploaded two manipulated LiteLLM versions, 1.82.7 and 1.82.8, to the Python Package Index, PyPI.

The packages stayed live for only about forty minutes before the registry blocked them – long enough for automated build systems to download and run them. According to the LiteLLM maintainers’ own security update, the malicious code installed a file called litellm_init.pth that runs automatically on every Python startup and persists on the system. It collected credentials for the cloud services AWS, GCP, and Azure, SSH keys, repository tokens, Kubernetes secrets, and AI provider API keys, and sent them, encrypted, to a domain controlled by the attackers. LiteLLM itself is reportedly downloaded around 3.4 million times a day and serves as a central hub through which companies route calls to different language models — meaning a single poisoned build step could quickly spread into many unrelated systems. Trivy was not the only target, according to Unit 42: the same group manipulated the scanner KICS in the same period and force-pushed code into 76 of 77 version tags of the GitHub Action trivy-action.

CloudSEK puts the toll at over 2500 firms

Five months after the original incident, CloudSEK published its own assessment on August 11, sizing the damage well beyond the initial report. The analysts matched leaked credentials against known company domains and count more than 2500 likely affected organizations across finance, telecom, manufacturing, and defense, spread across roughly 434,000 CI/CD pipelines. The firm has made a searchable overview of its findings public. CloudSEK lists Nvidia, Amazon Web Services, Cisco, Salesforce, Orange, and Siemens as high-confidence hits, alongside dozens of other companies in sectors where stolen cloud and AI access is especially sensitive.

This attribution is independently unverified: it rests on CloudSEK’s own matching, not on confirmation from the named companies. The FBI additionally warned in a flash advisory in July that already-stolen credentials could still be weaponized for new attacks, regardless of whether the affected packages have long since been pulled. For security teams, that means a deleted package does not close out the incident as long as the keys copied back in March haven’t been rotated anywhere.

Maintainers urge immediate credential rotation

Users of the official LiteLLM proxy Docker image were spared, the maintainers say, because that distribution pins dependencies in a requirements.txt file instead of pulling unverified PyPI releases. Anyone who installed the affected versions directly from PyPI is advised by the maintainers to rotate every credential, search the file system for litellm_init.pth, and audit build logs from the affected window. The maintainers also rotated the compromised accounts, paused new releases for a time, and shipped the first release vetted through a newly secured build chain on March 30 as version 1.83.0. The case joins a string of similar attacks on AI tool chains, including the theft of AI access through hijacked npm packages that CrowdStrike documented in August.

It remains unclear how many of the 2500 companies CloudSEK named have already turned the warning into actual key rotations. What the case mainly shows is that a single compromised security tool inside open AI development chains can do damage far beyond its own ecosystem.

Frequently asked questions

Is my company affected if it uses LiteLLM?

Only installations that directly installed versions 1.82.7 or 1.82.8 via PyPI are affected. The official Docker proxy image uses fixed, vetted dependencies and was not affected.

What should affected teams do now?

The maintainers recommend rotating all credentials and keys, searching the file system for the file litellm_init.pth, and reviewing build logs from around March 24, 2026.

Where does the list of over 2500 affected companies come from?

It comes from an internal evaluation by CloudSEK that matched leaked credentials with known company domains. There is no confirmation from the mentioned companies themselves.

Is Trivy safe to use again?

The maintainers of Trivy and LiteLLM have replaced the compromised accounts and introduced new build chains. Since the end of March, newly released versions are considered cleaned.

What is TeamPCP?

TeamPCP is the name given by security researchers to the attacker group that, according to Unit 42, is attributed with several coordinated attacks on widely used open-source security tools, including Trivy and KICS.

Sources (4)
  1. CloudSEK: 2,500+ Companies and 434,000 CI/CD Pipelines Exposed
  2. LiteLLM: Security Update – Suspected Supply Chain Incident
  3. Unit 42: Weaponizing the Protectors – TeamPCP's Multi-Stage Supply Chain Attack
  4. GitHub: BerriAI/litellm Issue #24518

Your AI update for the work week

Once a week, the most important AI news – plus one practical tip to try right away. No spam, unsubscribe anytime.

← Back to the blog