TTO-2026-1025-304 · October 25, 2026 Supply ChainCredential TheftAI Infrastructure

LiteLLM PyPI Package Poisoned with Credential-Stealing Malware in Supply Chain Attack on AI Infrastructure

litellm.aiAEO Score 61.36 · D — Medium RiskAI infrastructure / open-source toolingDomain registered 2023

Event

On October 21, 2026, attackers published a poisoned build of the LiteLLM Python package to PyPI and Docker Hub. Version 1.107.0 of LiteLLM was live for approximately two hours before detection. Any environment that ran pip install litellm or pulled the Docker image during that window installed a credential-stealing payload alongside the legitimate library code.

The malicious build drops three files into Python’s site-packages directory. The first is a path configuration file that causes the second file—a credential harvester—to execute automatically on Python startup. The harvester targets cloud and LLM provider API keys, SSH and GPG private keys, shell history, and stored credentials for LiteLLM’s proxy database. Collected material is exfiltrated to a lookalike domain, litellm[.]dev, which is distinct from the legitimate project domain. The third dropped file is a persistent remote code loader: it hooks Python’s standard startup mechanism and polls a GitHub-hosted dead-drop hourly for additional code to execute with the privileges of any Python process running on the machine.

The attack used three compromised GitHub developer OAuth tokens to carry out the publication. The safe version to pin to is 1.106.2 or any release prior to 1.107.0. Remediation for affected environments requires isolation of the compromised system, a clean rebuild from a verified base image, and rotation of all credentials that were present in the environment—including API keys for every cloud and LLM provider configured in the affected deployment.

Domain Assessment

litellm.ai — AEO Score: 61.36 / D — Medium Risk

LiteLLM (litellm.ai) is a three-year-old domain registered in August 2023, managed through GoDaddy. Email authentication records are present and valid. DNSSEC is not enabled. One threat intelligence source returned an adverse finding for this domain at the time of this assessment; seven independent sources consulted in the same window returned clean results. The adverse finding from the single source has not been corroborated by others.

What the Assessment Reveals

The minority signal from one threat intelligence source is consistent with post-disclosure intelligence ingestion. When a supply chain attack is publicly disclosed, adverse signals frequently appear in one or a few feeds before others have processed the incident. Whether this signal reflects a direct finding against litellm.ai or is an artefact of the incident reporting will become clearer as independent sources either corroborate or continue to return clean results.

The exfiltration domain used in the attack—litellm[.]dev—is a registrant-separate lookalike, not the legitimate litellm.ai domain. The legitimate project’s domain infrastructure was not itself the channel of compromise; the attack was executed through the package registry and developer account supply chain. This distinction is relevant for organizations assessing whether to trust ongoing communications from the project, but it does not reduce the urgency of remediation for environments that installed 1.107.0.

The persistent remote code loader deserves particular attention. A file that hooks Python’s startup mechanism and executes hourly remote requests operates in the background of every Python process on the affected host after installation. Removing the LiteLLM package alone does not guarantee the loader has been fully excised from the environment. A clean rebuild from a verified base image is the only reliable remediation path. Credential rotation should be treated as mandatory for all keys that were accessible in the affected environment, regardless of whether direct evidence of exfiltration is observed.

The Trust Observatory · thetrustobservatory.com · October 25, 2026