option
Home
News
AI Community Alarmed as litellm Library Hit in Software Supply Chain Attack

AI Community Alarmed as litellm Library Hit in Software Supply Chain Attack

March 26, 2026
83

The AI developer community has been shaken by a recent alert from renowned AI scientist Andrej Karpathy, revealing a targeted poisoning attack on the AI software supply chain. The target is the popular Python library litellm, which boasts over 40,000 GitHub stars and nearly 100 million monthly downloads. As a universal adapter for calling major AI model APIs, the library's compromise has triggered a domino effect, potentially impacting the entire AI development toolchain.

image.png

Infected Upon Installation: The "Invisible" Operation of Malicious Code

The attack's stealth stems from its clever trigger. Malicious actors inserted a rogue .pth file into two specific PyPI releases of litellm (versions 1.82.7 and 1.82.8).

Automatic Execution: Simply installing either of these compromised versions via pip install causes the malicious code to run automatically with every Python process start. No manual import or function call is needed—your system is exposed the moment installation completes.

Comprehensive Data Exfiltration: Once active, the code aggressively harvests a wide range of sensitive host data. This includes SSH keys, cloud credentials (AWS/GCP), Kubernetes keys, cryptocurrency wallets, and all environment variables—which often contain valuable large model API keys. The stolen information is encrypted and transmitted to the attacker's remote server.

An Unexpected Twist: The Attacker Exposed by a "Bug"

This potentially long-undetected crime was foiled by the hacker's own mistake. A developer noticed their machine's memory usage suddenly spiking while using an extension in the Cursor editor.

Investigation revealed the malicious code triggered a process fork bomb—an exponential replication that quickly crashed the system. This instability became the critical clue that allowed security researchers to trace the issue back to the poisoned package. Karpathy noted that had the attacker's code been more competently written, this large-scale theft might still be ongoing.

Chain Reaction: How Security Tools Became the "Knife Carrier"

The incident highlights a cascade of supply chain failures. The attacker group, TeamPCP, first compromised the security scanning tool Trivy. Using stolen credentials, they obtained litellm's release token, bypassed code review, and uploaded the malicious package directly to PyPI.

The fallout is extensive. Over 2,000 widely-used AI tools, including DSPy, MLflow, and Open Interpreter, rely indirectly on this library. Security experts urgently advise developers to check their installations by running pip show litellm. If the version is 1.82.7 or higher, assume complete credential leakage and immediately rotate all sensitive keys and tokens.

Related article
Trace raises $3M to tackle enterprise AI agent adoption hurdles Trace raises $3M to tackle enterprise AI agent adoption hurdles Despite their potential, AI agents have struggled to gain traction in the enterprise. One emerging startup believes the core issue is a lack of context.Launched as part of Y Combinator’s 2025 summer cohort, Trace is a workflow orchestration startup d
Google IO 2026 unveils voice interaction with Gmail inbox Google IO 2026 unveils voice interaction with Gmail inbox Google continues to integrate AI into your inbox. At the IO 2026 developer conference on Tuesday, the company expanded its Gmail "AI Inbox" feature with conversational AI, allowing users to ask questions about their inbox content rather than relying
iFlytek Debuts AI Glasses with GlassClaw Assistant for 4299 CNY iFlytek Debuts AI Glasses with GlassClaw Assistant for 4299 CNY As AI large models increasingly move into edge-side hardware, the smart wearable market has gained a significant new player. On May 28, iFLYTEK officially launched its "iFLYTEK AI Glasses" at the BEYOND Expo 2026 in Macao, marking a deeper integratio
Related Special Topic Recommendations
code Best AI Code Reviewers: Automate Clean Code Compliance & Refactor Legacy Repo Files
Best AI Code Reviewers: Automate Clean Code Compliance & Refactor Legacy Repo Files

Discover the 2026 best AI code reviewers on XIX.AI. Our curated list features top-rated, game-changing tools for automating clean code compliance and refactoring legacy repo files. Compare free vs paid options with real-world tests and weekly updated rankings. Unlock your AI edge today.

10 tools
xix.ai
Text-to-speech Top AI TTS Apps for Dyslexia: Support Learning and Reading Efficiency for Students
Top AI TTS Apps for Dyslexia: Support Learning and Reading Efficiency for Students

Discover the 2026 latest top-rated AI TTS apps curated for dyslexia support. Our expert rankings compare free vs paid tools, highlighting powerful features for enhanced reading efficiency and learning. Explore must-try, game-changing solutions to unlock student potential. Start your journey at XIX.AI.

10 tools
xix.ai
Comic Creation Top AI Generators for Shonen Manga: Create High-Octane Action Sequences & Energy Effects
Top AI Generators for Shonen Manga: Create High-Octane Action Sequences & Energy Effects

Discover the 2026 best AI generators for Shonen manga at XIX.AI. Our top-rated, curated list features powerful tools for creating high-octane action sequences and dynamic energy effects. Compare free vs paid options with real-world tests. Unlock your creative potential and start crafting epic manga today!

15 tools
xix.ai
Business Best AI Expense Trackers: Scan Receipts & Categorize Corporate Spend Automatically
Best AI Expense Trackers: Scan Receipts & Categorize Corporate Spend Automatically

2026 Latest Best AI Expense Trackers: Top-rated tools to scan receipts & categorize corporate spend automatically. Discover powerful, game-changing solutions for effortless expense management, accurate financial tracking, and streamlined compliance. Our curated, weekly-updated comparison of free vs paid options helps you find the perfect fit. Unlock your AI edge with XIX.AI's expert picks.

10 tools
xix.ai
Business Best AI Recruiting Tools: Screen Resumes & Automate Candidate Interview Scheduling
Best AI Recruiting Tools: Screen Resumes & Automate Candidate Interview Scheduling

Discover the 2026 latest top-rated AI recruiting tools on XIX.AI. Our curated list features powerful, game-changing solutions for screening resumes and automating candidate interview scheduling. Compare free vs paid options with real-world tests and weekly updated rankings. Find your perfect hiring assistant and streamline your recruitment today!

10 tools
xix.ai
Productivity AI Personal Wellness & Focus Coaches: Manage Burnout & Boost Mental Energy Levels
AI Personal Wellness & Focus Coaches: Manage Burnout & Boost Mental Energy Levels

Discover the 2026 best AI personal wellness and focus coaches on XIX.AI. Our curated rankings feature top-rated, game-changing tools to manage burnout and boost mental energy. Compare free vs paid options with real-world insights. Unlock your path to peak productivity and well-being today.

10 tools
xix.ai
Comments (0)
0/500
OR