In March 2026, thousands of engineering teams learned the hard way that the most dangerous component in their AI stack was the one they trusted most: their gateway.
What happened
A threat actor calling itself TeamPCP compromised the GitHub Actions pipeline of Trivy – a popular open-source vulnerability scanner. Because LiteLLM's own CI/CD pipeline used Trivy, the poisoned scanner ran with legitimate access inside LiteLLM's build environment and silently exfiltrated the project's PyPI publishing tokens. TeamPCP then published two backdoored versions of LiteLLM (1.82.7 and 1.82.8) with malicious code injected directly into the distributed wheels – Trend Micro's analysis walks through the full chain.
The packages were live for roughly 40 minutes. That was long enough: any CI job or routine upgrade – the responsible thing to do – that resolved LiteLLM in that window pulled the backdoor into production. Once triggered, it harvested credentials, attempted lateral movement across Kubernetes clusters, and installed a persistent systemd backdoor that polled for additional payloads.
The blast radius: more than 2,500 organizations and roughly 434,000 CI/CD pipelines, according to CloudSEK – reconstructed exposure rather than confirmed compromise in every case, but the response boundary is the same either way. And TeamPCP has since open-sourced the Shai-Hulud worm framework it used, meaning the next actor to run this playbook won't need to build any of it.
Why a gateway is the worst possible place to be compromised
An LLM gateway is not just another library. By design, it's a credential concentrator. To do its job, it holds:
Every provider API key you own. OpenAI, Anthropic, Azure, Bedrock, Vertex – all of them, in one place, because that's the whole point of a gateway.
Every virtual key you issued. The internal keys your teams, apps, and agents use to reach models all terminate at the gateway. Whoever controls the gateway controls them all.
A privileged network position. The gateway sees every prompt and every response – customer data, internal documents, source code – in plaintext, before any provider-side protection applies.
A compromised text editor leaks a file. A compromised gateway leaks your credentials, your data in transit, and your entire AI spend authority – simultaneously.
The bill you didn't run up
Here's the part finance discovers before security does: stolen AI credentials are a monetizable asset with a liquid resale market.
The pattern even has a name – LLMjacking, coined by Sysdig's threat research team when they first caught it in the wild. Attackers who obtain working model-access credentials don't just poke around; they resell access or run their own inference workloads at industrial scale, on your account, against your rate limits, on your invoice. Sysdig put the damage at over $46,000 a day per victim in its first analysis – and closer to $100,000 a day once frontier models are involved. Your first symptom is not an alert – it's a bill.
And if your gateway's budget enforcement itself is what got compromised, the one control that was supposed to cap the damage is the thing working for the attacker.


