International
The Morning Dev

Only the news worth knowing

‹
 
B47/100

Supply-chain attack · high

Eight malicious PyPI packages hide code across four waves

Tier B · Patch this week – Put it in the sprint

Who’s exposed: Python developers who install the eight malicious PyPI packages

Tier B because: Exploited in the wild OR public exploit

Reach

Attack

Damage

Fix

Exploited in the wild · Full takeover · Supply chain

The Brief

  • Island reports an active, evolving campaign of eight malicious packages on PyPI, spread across four waves.
  • The campaign uses a technique called DevGating, which uses the victim's Python dependencies as a key to unlock the payload.
  • Payload execution is delayed until specific Python runtime conditions are met, which can hide the malicious code.

Why it matters

Developers who install these packages can have hidden malware executed on their systems once the runtime conditions are met, so checks that only inspect install-time behaviour may miss it.

The checklist behind the tier

Checklist · 4 of 10 yes
YesHits tech teamsJudgment: malicious PyPI packages target Python developers who install them.
NoCore infrastructureJudgment: only eight specific malicious packages, not PyPI or npm as a whole, are compromised.
NoPopular toolJudgment: the eight packages are obscure, not widely used mainstream tools.
YesExploited in the wildThe Hacker News: an "active and evolving" campaign against PyPI, active since September, per Island.
NoPublic exploitNeither source says exploit code or a proof-of-concept is published.
NoRemote, no loginSources describe malicious packages installed by victims, not unauthenticated network attacks.
YesFull takeoverThe Hacker News: the packages use dependencies to unlock hidden malware, which implies code execution on the victim's system.
NoSecrets exposedNeither source reports stolen credentials, tokens, keys, or source code.
YesSupply chainDEV Community and The Hacker News: malicious packages were published to PyPI, a channel developers trust.
NoNo fix yetThis is a malicious package campaign, not a vulnerability, so no patch applies.

Timeline

  1. Island publishes details of eight malicious PyPI packages across four waves

  2. The Hacker News

    8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware

  3. DEV Community: python

    Island discovered eight malicious packages on PyPI that hide code

Full coverage · 2 sources

First seen · 2 sources · Full story page · How tiers are decided