Radar security 2 min

LiteLLM 1.107.0's PyPI wheels carried a credential stealer its GitHub source tag did not, and running pip in an infected environment runs it again

LiteLLM says its release pipeline was compromised on October 21, 2026 and pushed v1.107.0 to PyPI and Docker Hub. LiteLLM says its GitHub source tag is clean, while JFrog and SafeDep found the payload in all seven wheels, and SafeDep says it dumps the proxy tables that hold LLM provider API keys. LiteLLM and JFrog warn that running pip in the affected environment runs it again.

What changed

LiteLLM says its release pipeline was compromised on October 21, 2026 and pushed v1.107.0 to PyPI and Docker Hub 1. Per its report, litellm==1.107.0 was live on PyPI from 11:39:51 to 13:23 UTC, and the v1.107.0, latest, main-latest and main-stable tags pointed to a compromised image from 11:46:56 to 14:20 UTC 1. LiteLLM says all previous versions are safe and asks users to pin 1.106.2 1.

Review read the wrong artifact

LiteLLM says the official v1.107.0 source tag in GitHub does not contain the malicious files 1, yet JFrog found the payload in all seven PyPI wheels, while the source tarball lacks cook.pth, cook.py and sitecustomize.py and carries an added data = "cook" setting absent from the Git tag 2. I think a team that diffed the tag reviewed everything except the files that execute at startup.

The check that reruns the payload

JFrog writes that cook.py runs during normal Python startup in the affected environment, regardless of whether the application imports litellm 2.

A shell search for the three names the report lists starts no interpreter, though the report warns that not finding one does not prove the environment is clean 1:

find / \( -name 'cook.pth' -o -name 'sitecustomize.py' -o -name 'litellm-1.107.0.dist-info' \) 2>/dev/null

The strongest objection

Pinning 1.106.2 looks like the whole fix, and for the next install it is. For an environment that already ran 1.107.0, I disagree: the stealer has already run there, and both LiteLLM and JFrog say a missing exfiltration marker proves nothing 12. SafeDep adds that hosts that ran the daemon before the deletion could have received and run second-stage code 3.

Impact on your team

Treat any environment that installed litellm==1.107.0 or pulled those Docker tags in those windows as exposed. In LiteLLM’s order: from the shell, delete cook.pth, cook.py, sitecustomize.py and the matching __pycache__ files from every affected site-packages, kill the detached python daemon holding /tmp/remote_code_loader.lock, then reinstall pinned to litellm==1.106.2 1. For a gateway, the costly part is the keys: SafeDep says the stealer dumps LiteLLM_CredentialsTable and LiteLLM_ProxyModelTable, which hold the LLM provider API keys of a LiteLLM proxy 3. My call: rotate every provider key stored in the LiteLLM proxy DB today 1, and add the installed wheel’s RECORD contents to dependency review 2.

Sources

Tampon
STAMPED
22-10-2026
  1. 1 LiteLLM, Contained: Oct 21, 2026 LiteLLM release v1.107.0 Compromised
    read on 21-10-2026
  2. 2 JFrog Security Research, LiteLLM Hijacked Again: Malicious 1.107.0 Wheels Steal Credentials and Load Remote Code
    read on 21-10-2026
  3. 3 SafeDep, Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor
    read on 21-10-2026
Vigie
Vigie radar