Skip to content
NewA calmer, faster ZeroHour

DevGating PyPI malware stays silent until a developer environment loads it

Original title: DevGating PyPI Malware Hides Until it Reaches Developers

Infosecurity Magazineby Alessandro Mascellino ()2 min read6 · 1 read
Part of a story covered by 2 sourcesPyPI DevGating packages hide malware until developer modules loadMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Island found four waves of eight packages since September 25; an earlier wave delivered a RAT and packages remained listed.

Island described a PyPI campaign it calls DevGating, in which malicious utility packages keep an encrypted payload locked until a module name from the victim's running Python process is available. Scanners that import a package alone never obtain that key, and each wave split the chain across two packages from separate accounts. Once run, a Python startup hook survives uninstall and can fetch later code. The current payload is a harmless placeholder, while an earlier wave delivered a remote access trojan.

Unconfirmed: Island does not know who installed the latest pair or whether those installs loaded the triggering module.

Key facts
  • Activity ran since September 25 in four waves of eight packages.
  • Four of the eight packages were previously unreported.
  • Each package had at most a few hundred downloads as of November 16.
  • A December 1 update kept the malicious chain.
  • Island reported listed packages the day before and had not heard back.
Security assessment · AI, from the article

Impact: persistence that can reach CI jobs and cloud secrets

ProductAffected
PyPI malicious Python packages—
What to do
  1. 1.Review new packages together with the dependencies they pull in.
  2. 2.Watch for unexpected Python startup files and memory-launched interpreters.
  3. 3.Run package tests with common libraries already loaded.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

2 min read at infosecurity-magazine.com

PyPI malware campaign hides its payload until a developer's own dependencies unlock it

Infosecurity Magazine

By Alessandro Mascellino · infosecurity-magazine.com

Read the full article at Infosecurity Magazine

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.