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
183

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
Stripe to Acquire OpenRouter as AI Model Routing Gains Momentum Stripe to Acquire OpenRouter as AI Model Routing Gains Momentum Stripe has agreed to acquire OpenRouter, an AI model-routing platform that gives developers access to hundreds of models through a single interface. The deal adds model selection and routing to Stripe’s existing work around AI usage and token-based b
Former OpenAI Researcher Barrett Zoph Returns to Google to Support Gemini Development Former OpenAI Researcher Barrett Zoph Returns to Google to Support Gemini Development Barret Zoph, who previously abruptly left and joined OpenAI due to a disagreement with Thinking Machines Lab CEO Miriam Mularati, has once again changed employers. Alphabet's Google announced that Zoph will return as Vice President of Research, bring
How Recursive Intelligence Raised $335M at $4B Valuation in 4 Months How Recursive Intelligence Raised $335M at $4B Valuation in 4 Months The co-founders of startup Ricursive Intelligence seemed destined to be co-founders.Anna Goldie, CEO, and Azalia Mirhoseini, CTO, are so well-known in the AI community that they were among those AI engineers who “got those weird emails from Zuckerber
Related Special Topic Recommendations
Design & Art Top AI Illustration Tools: Create Editorial Scenes and Cover Art Faster
Top AI Illustration Tools: Create Editorial Scenes and Cover Art Faster

2026 Latest Top-rated AI Illustration Tools: Our curated list features the best powerfully designed tools for creating stunning editorial scenes and eye-catching cover art quickly. Each option has gone through rigorous real-world tests, offering a free vs paid comparison to help you find the perfect match for your workflow. Try these must-try solutions today to unlock your AI edge and boost your creative productivity. Explore now at XIX.AI.

10 tools
xix.ai
Education and Learning Top AI Tutors for Exam Prep: Practice Math, Science, and English
Top AI Tutors for Exam Prep: Practice Math, Science, and English

2026 Latest Top-Rated Best AI Tutors for Exam Prep are here on XIX.AI! Our curated list features powerful game-changing tools that offer free vs paid comparison, real-world tests, and weekly updated rankings. They help boost your writing efficiency, simplify complex topic learning, and unlock your academic potential. Explore now to Discover your perfect exam prep tool and Start creating today to Unlock your AI edge!

10 tools
xix.ai
Finance AI Budget Planning Tools for Personal Money Management
AI Budget Planning Tools for Personal Money Management

2026 Latest Best Top-Rated AI Budget Planning Tools for Personal Money Management are here on XIX.AI! This curated collection features powerful, game-changing solutions that help you conduct real-world tests, understand spending habits, and create personalized plans to boost productivity. Enjoy a free vs paid comparison along with detailed rankings. Must-try tools designed to simplify money management and unlock your AI edge. Explore now!

11 tools
xix.ai
Health & Wellness AI Sleep Tracking Assistants: Improve Recovery with Better Bedtime Habits
AI Sleep Tracking Assistants: Improve Recovery with Better Bedtime Habits

2026 Latest Best Top-Rated AI Sleep Tracking Assistants curated for ultimate recovery. This fully updated weekly guide features powerful tools that deliver real-world tests, free vs paid comparison, and detailed rankings to help you find the must-try solution that boosts sleep quality and supports better bedtime habits. Explore now at XIX.AI to Unlock your AI edge.

10 tools
xix.ai
Data Analysis AI SQL Copilots for Product and Revenue Analytics
AI SQL Copilots for Product and Revenue Analytics

2026 Latest Best Top-Rated AI SQL Copilots for Product and Revenue Analytics! XIX.AI has curated a powerful, game-changing collection of must-try tools that undergo real-world tests through weekly updated rankings. These tools help users boost productivity significantly by accelerating data analysis, streamlining complex queries, and generating accurate insights to drive smarter business decisions. Explore now to Discover your perfect tool for unlocking your AI edge!

14 tools
xix.ai
Education and Learning Best AI Homework Helpers That Teach: Learn Concepts, Not Just Answers
Best AI Homework Helpers That Teach: Learn Concepts, Not Just Answers

2026 Latest Best Top-Rated AI Homework Helpers That Teach Core Concepts Not Just Answers Powerful Tools for Students Must-Try Curated List Weekly Updated Free vs Paid Comparison Real-World Tests Accurate Rankings to Help You Unlock Your Full Learning Potential Explore now to Discover your perfect tool for smarter studying.

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