# LiteLLM Compromised, Steals Credentials

DevFeed: [LiteLLM Compromised, Steals Credentials](<https://devfeed.tech/articles/litellm-compromised-steals-credentials-92828.md>)

Original publisher: [Read original article](<https://www.wiz.io/blog/litellm-compromised-steals-credentials>)

Author: Rami McCarthy

Published: 2026-10-21T13:44:12Z

Content type: news

Language: en

Sources: [Wiz](<https://devfeed.tech/sources/wiz-blog-rss-feed.md>)

Topics: [litellm attack](<https://devfeed.tech/topics/litellm-attack.md>), [litellm](<https://devfeed.tech/topics/litellm.md>), [Credential theft](<https://devfeed.tech/topics/credential-theft.md>), [Security Attacks](<https://devfeed.tech/topics/security-attacks.md>), [C2](<https://devfeed.tech/topics/c2.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [browser](<https://devfeed.tech/tags/browser.md>), [c2](<https://devfeed.tech/tags/c2.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [docker](<https://devfeed.tech/tags/docker.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [litellm-package](<https://devfeed.tech/tags/litellm-package.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [pypi](<https://devfeed.tech/tags/pypi.md>), [research](<https://devfeed.tech/tags/research.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [stealer](<https://devfeed.tech/tags/stealer.md>), [threat-intel](<https://devfeed.tech/tags/threat-intel.md>)

## AI overview

LiteLLM version 1.107.0, uploaded to PyPI on October 21, was trojanized; Docker images tagged v1.107.0, latest, main-latest, and main-stable also contained it. On Python startup, the package's `cook.pth` loads a stealer that gathers and encrypts system, browser, developer, cloud, and AI-tool secrets, then posts them to attacker-controlled `www.litellm.dev/healthcheck`. A separate `sitecustomize.py` attempts, on Linux and macOS, to retrieve a second-stage script through a GitHub-hosted domain file; that file was unpopulated at analysis time. Its `/tmp/` marker may fail on Windows. The advisory names v1.106.2 as the most recent safe version and says the malicious PyPI release was quarantined.

## Source excerpt

In a new incident, a malicious version (1.107.0) of the LiteLLM package was uploaded to PyPI and Docker on October 21. The malicious version includes a credential stealer targeting browser, cloud and AI secrets as well as a dormant C2 capability.