FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
The litellm supply chain attack: how MCP servers got compromised and how to check if you're affected
How-ToProgramming Languages

The litellm supply chain attack: how MCP servers got compromised and how to check if you're affected

via Dev.to PythonGus3h ago

On March 24, 2026, litellm versions 1.82.7 and 1.82.8 were published to PyPI with malicious code. 97 million monthly downloads. No corresponding GitHub tag or release. The maintainer account was likely fully compromised. The vector Not setup.py. Not import hooks. A .pth file. Python executes .pth files on every interpreter startup when the package is installed. No import needed. Just pip install litellm and every Python process on your machine runs the payload. The attack was found by accident. The .pth uses subprocess.Popen to spawn a new Python process, but since .pth triggers on every interpreter startup, the subprocess re-triggers itself. Fork bomb. Callum McMahon was using an MCP plugin in Cursor that pulled litellm as a transitive dependency. The fork bomb consumed all RAM and crashed the machine. Without that bug, it could have run for weeks. How it spread through MCP MCP clients like Cursor, Claude Desktop, and VS Code launch MCP servers with package executors like uvx and npx

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
0 views

Related Articles

Tutorials Are Lying to You Here’s What Actually Works ?
How-To

Tutorials Are Lying to You Here’s What Actually Works ?

Medium Programming • 51m ago

Flutter Mistakes That Make Apps Slow ⚡
How-To

Flutter Mistakes That Make Apps Slow ⚡

Medium Programming • 1h ago

Welcome Thread - v370
How-To

Welcome Thread - v370

Dev.to • 1h ago

How to Calculate Your Final Grade When the Syllabus Uses Weighted Categories
How-To

How to Calculate Your Final Grade When the Syllabus Uses Weighted Categories

Dev.to Beginners • 1h ago

How Word Scramble Solvers Use the Same Algorithm as Spell Checkers
How-To

How Word Scramble Solvers Use the Same Algorithm as Spell Checkers

Dev.to Beginners • 1h ago

Discover More Articles