Skip to main content

LiteLLM PyPI Package and Docker Images Compromised to Steal Cloud and AI Credentials

0
Medium
Published: 10/21/2026 (10/21/2026, 20:02:42 UTC)
Source: AlienVault OTX General

Description

LiteLLM version 1.107.0 was compromised in a supply chain attack affecting PyPI packages and Docker images. The malicious release includes Python startup files that execute automatically, stealing cloud credentials, private keys, browser data, and AI development tool authentication tokens. The attack used a lookalike repository in the release workflow and targets credentials for AWS, Azure, Google Cloud, GitHub CLI, SSH keys, npm/PyPI, and AI tools such as Claude, Gemini, and Cursor. Stolen data is encrypted and sent to a command-and-control server. A loader enables remote Python code execution. The package has approximately 23 million weekly downloads, indicating a significant potential impact.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 10:45:31 UTC

Technical Analysis

The LiteLLM PyPI package and Docker images for version 1.107.0 were compromised via a supply chain attack. The attacker used a lookalike repository (Berri-AI/litellm instead of BerriAI/litellm) in the release workflow to insert malicious Python startup files that execute automatically upon Python initialization. These files steal a wide range of sensitive credentials including cloud service credentials (AWS, Azure, Google Cloud), GitHub CLI tokens, SSH keys, npm and PyPI configurations, and AI development tool credentials (Claude, Gemini, Cursor). The stolen data is encrypted and exfiltrated to a command-and-control server. Additionally, a separate loader mechanism allows remote execution of arbitrary Python code. Detection occurred within seven minutes of publication by Socket's AI scanner. The attack affects both PyPI packages and Docker images, impacting a widely used package with about 23 million weekly downloads.

Potential Impact

The compromise enables attackers to steal highly sensitive credentials and authentication tokens across multiple cloud platforms, developer tools, and AI services. This can lead to unauthorized access to cloud environments, source code repositories, private keys, and AI development resources. The remote code execution capability further increases the risk by allowing attackers to execute arbitrary code within affected environments. Given the high download volume of the compromised package, the potential for widespread credential theft and subsequent attacks is significant.

Defensive Guidance

No official patch or remediation guidance is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should immediately stop using LiteLLM version 1.107.0 and verify the integrity of their credentials and keys potentially exposed. It is recommended to rotate all affected credentials and tokens, including cloud service keys, SSH keys, and AI tool authentications. Monitor for suspicious activity related to these credentials. Avoid installing or deploying the compromised package version and verify package sources carefully to prevent supply chain attacks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Author
AlienVault
Tlp
white
References
["https://socket.dev/blog/litellm-compromise"]
Pulse Id
6ad91a62b48f2e8558fd4787

Indicators of Compromise

Url

ValueDescriptionCopy
urlhttp://www.litellm.dev/healthcheck
—

Hash

ValueDescriptionCopy
hash7f191632e7320705d154b85204f1ae546b543acbd7e8861229b76f5042b92bdb
—
hash84dc8c82c0a4a4a62552ef826b49fcc86d1a5c4a5d0f2c06665723f93d129d7d
—
hash9dd0a3926f96a37eb86cf1ee2310d9be93139cc4ebef3ef9e2efe9531390be25
—
hash03ac2a8b752605d1d7710979c17ff18b03dd978203ba23ba97fd8ce3d6f897ea
—
hash34bef04fe88ac9d0aae0475630b1738681d15b94f233ac8aa46eacf5968305fa
—
hashb6122440d0d9cb1eb1ade9933f49214da8c31288de7710c076c2680dfa528465
—
hash7598727f209d717041db37f7dca271d3a7d328a279890e0e1d55375729aeb86d
—
hash0aaf7ba346d41ef2f40390436738b001180d5a1c03aa093f121078a9969d9a1a
—
hash668169d35b87bf51324080390b1b1c5ab12bd335cfe5f1a99e3689abd5e02ae6
—
hash462d0c9f67ca522d9e0e4acd245e90b36ce0d5353604a66bb7c43a1ec4a6fcf7
—
hashc2e32d0ce2548aa662c18bf5001911a79fe5b30cf8357132275add02fdcde054
—
hash1bbce8caa94f01c0aaa0b7ddae51553a8a32e1ce53d96d44fe583272aff7ad00
—
hash12d4ccc5c6f8d35cf4f2cf233b7f3e418e863e657d81ff5f5fc9e210005b9484
—
hashbd1aeee419ea36da9aa2b657288da4101887be468f020ac63d22ba6ed84a3ea5
—
hash1bbcb1443bc962e45f5aad53fe3d2c30600e0379715fb6c664cdd3ac126c339e
—
hash56b74573eed6e4aafe4b50603dbe7853e0345f188c8e44a09f1098caf1f4bcdf
—
hasha898fd08ad220fed52488906eb45d196f332b972ad5d85214e7726545ecc4218
—
hash20535d8fa11f786a6c24df7488a0e449ed5f09ad
—
hash783c43bc455d2e05d3cfaf194c2f325cfeab1433
—

Threat ID: 6ad9e5c54d27ba8daa46d97e

Added to database: 10/22/2026, 10:30:29 UTC

Last enriched: 10/22/2026, 10:45:31 UTC

Last updated: 10/22/2026, 13:15:15 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

External Links

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses