DevGating PyPI malware stays silent until a developer environment loads it
Original title: DevGating PyPI Malware Hides Until it Reaches Developers
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.
- 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.
Impact: persistence that can reach CI jobs and cloud secrets
| Product | Affected |
|---|---|
| PyPI malicious Python packages | — |
- 1.Review new packages together with the dependencies they pull in.
- 2.Watch for unexpected Python startup files and memory-launched interpreters.
- 3.Run package tests with common libraries already loaded.
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
By Alessandro Mascellino · infosecurity-magazine.com
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.