AI hack · Supply chain · 24 Mar 2026Pulled from PyPISecrets stolenClean release shipped
TeamPCP backdoored LiteLLM on PyPI in March 2026 to steal credentials, and Mercor says it was hit
In March 2026, attackers known as TeamPCP used a maintainer's stolen credentials to put 4 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026TechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026, 1.82.7 and 1.82.8, on PyPI. Machines that installed them lost SSH keys, cloud credentials and Kubernetes secrets. AI training-data startup Mercor says it was 4 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026TechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026 hit.
By Chris Hoskins, Founder, Boogey ·
Tap underlined words to see who reported them.
2
4 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026TechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026
About 40 minutes
2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026
Over 3.4 million
2 sourcesBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026TechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026
0
SourceLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-hand
Why one stolen login went so far
LiteLLM is 2 sourcesBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026TechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026 that connects apps to multiple AI model providers, with over 95 million downloads in the past month.
Straight to PyPI
The stolen credentials let the attackers upload straight to PyPI, Python's package index. That 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handThe RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026, the automated pipeline releases normally pass through.
Unpinned installs
Anyone installing LiteLLM 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handThe RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026, which fixes the exact version, could pull a poisoned release and run it.
Runs when loaded
BleepingComputer reports the code was hidden in LiteLLM's proxy_server.py, set to run SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026.
Runs with any Python
Version 1.82.8 also added a file, litellm_init.pth, that runs the code SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, even if LiteLLM goes unused, BleepingComputer reports.
What a poisoned install did
Step 1
Gather
Endor Labs describes a 4 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026TechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026. Stage one harvested SSH keys, cloud credentials and Kubernetes secrets.
Step 2
Spread
Stage two moved across Kubernetes nodes through SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, containers allowed to control the machine they run on.
Step 3
Stay
Stage three left a backdoor posing as a SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, which kept checking checkmarx[.]zone for new code, BleepingComputer reports.
Step 4
Send it out
Stolen data was packed into an SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, tpcp.tar.gz, and sent to models.litellm[.]cloud, BleepingComputer found.
Sources told BleepingComputer of SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, many of them duplicates. BleepingComputer could not confirm the figure.
Mercor's breach, and Lapsus$'s claim
Mercor 2 sourcesTechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026, using contracted experts to train AI models. Spokesperson Heidi Hagberg said Mercor 2 sourcesTechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026 and remediate the incident, and is investigating with third-party forensics experts. The Lapsus$ group claimed 2 sourcesTechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026The RecordMercor confirms security incident tied to LiteLLM supply chain attack1 Apr 2026 of Mercor's data, The Record reports. TechCrunch reviewed a sample referencing Slack data, apparent ticketing data and two videos. Mercor SourceTechCrunchMercor says it was hit by cyberattack tied to compromise of open source LiteLLM project31 Mar 2026 whether the incident is tied to those claims, and TechCrunch says it isn't clear how Lapsus$ got the data.
How LiteLLM cleaned up
About 40 minutes in
PyPI 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, and both are later removed.
Then
LiteLLM pauses releases, 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026 and brings in Mandiant.
25 Mar 2026
Community scripts for SourceLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-hand are added to LiteLLM's update.
26 Mar
LiteLLM lists checkmarx[.]zone as an SourceLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-hand, a trace that shows a machine was hit.
27 Mar
LiteLLM publishes SourceLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-hand, fingerprints of known-good files, after auditing every release from v1.78.0 to v1.82.6 on PyPI and Docker.
LiteLLM has since shipped v1.83.0 from a 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, with signed Docker images.
LiteLLM says customers on its official Proxy Docker image were not hit, because the image SourceLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-hand and never used the poisoned PyPI packages.
The Boogey fix
Would your builds install a poisoned AI library?
You’re exposed if
- Your developers, CI or servers install LiteLLM or other AI libraries from PyPI without pinned, hashed versions.
- The machines that install those packages also hold AI provider keys, cloud credentials or Kubernetes secrets.
- Something in your stack installed LiteLLM in March 2026, and nobody has checked which version.
Fix it
01Install only reviewed versions
Install LiteLLM and other AI libraries from a lockfile with exact versions and hashes, so a fresh upload can't reach your machines until someone reviews it.
02Look for 1.82.7 and 1.82.8
Search lockfiles, images, caches and CI logs for both versions and for a 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026. Treat any hit as stolen secrets.
03Rotate what a hit machine held
On any machine that ran either release, replace every SSH key, cloud credential, Kubernetes secret and AI provider key it could read.
04Leave a stealer little to take
Give CI runners and laptops short-lived credentials scoped to one job, and put spend caps on AI provider keys.
05Check against verified releases
Compare installs with the 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026 LiteLLM published for v1.78.0 to v1.82.6. On what to pin, its post says 1.82.6 or earlier. Other accounts allow a later verified release.
On your platform
Settings you already have that help against this hack. Last checked 1 Dec 2026.
No setting on Claude Code helps with this one. Our test does.
How we test it
- 1Under a signed scope, you share your lockfiles and image manifests with us, read-only. Nothing is installed.Being built
- 2We flag LiteLLM 1.82.7 or 1.82.8, any litellm_init.pth file, and any AI library installed without a pinned, hashed version.Being built
- 3You place fake canary keys we give you on the machines that install and run your AI libraries. If anything tries one, we see it.Being built
- Built
- BT-22 · Model and AI supply chainBT-10 · Leaked AI keys and secrets, and the abuse that followsBT-06 · Over-scoped tokens and agent identityBT-08 · Vulnerable MCP server, agent framework or AI library code
It fails if
- LiteLLM 1.82.7 or 1.82.8, or a litellm_init.pth file, turns up in what you share
- An AI library installs without a pinned, hashed version
- Anything tries one of the canary keys
Installing LiteLLM or other AI libraries from PyPI? This test is still being built.
Trivy first, then LiteLLM
Earlier
In 2 sourcesLiteLLMSecurity Update: Suspected Supply Chain Incident24 Mar 2026 · first-handBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026, stolen credentials were reportedly used to reach LiteLLM's publishing pipeline. LiteLLM believes the two incidents may be linked.
Next
BleepingComputer found the LiteLLM payload carries SourceBleepingComputerPopular LiteLLM PyPI package backdoored to steal credentials, auth tokens24 Mar 2026 as the Trivy attack, a variant of TeamPCP Cloud Stealer.
A stolen publishing login spreads, because each package it can push becomes the next way in. Pin what your AI stack installs, and keep its secrets off the machines that install it.