According to Infosecurity Magazine, security firm Island disclosed a PyPI supply chain campaign running since 25 September in four waves of eight packages, which splits malicious code across two packages from separate accounts and uses a module name from the victim's running Python process as the decryption key so sandboxes checking packages alone see nothing [1]. Once run, it plants a Python startup hook that survives uninstalling the package, an earlier wave delivered a remote access trojan, and Island said the packages were still available on PyPI on 2 December [1]. What to do now: Developers should review new packages alongside the dependencies they pull in, treat bundled pickle files and compiled modules in small utilities as code, and watch for unexpected Python startup files and interpreters launched from memory [1].
DevGating PyPI malware decrypts its payload only in real developer environments and leaves a backdoor after removal
2 min readLast updated
30-second summary
What happened
Who is affected
Developers and CI environments that installed the packages; each package had at most a few hundred downloads as of 16 November [1].
What to do nowOur advice
- Review new packages together with the dependencies they pull in .
- Disclosed
- Dec 2, 2026
- Published
- Dec 3, 2026
- Last updated
- Dec 3, 2026
- CVSS basis
- Our assessment
- Technology
- Attack vector
- Impact
- Actor type
- Motivation
On this page
Timeline
Technical details
What happened
According to Infosecurity Magazine, Island published research on 2 December naming the technique DevGating: the activity ran since 25 September in four waves of eight packages, four of them previously unreported, and the packages were working Python utilities with the harmful code split between two packages from separate accounts in each wave [1]. The payload was encrypted with a key taken from a module name in the victim's running Python process, and Island counted eight evasion layers [1].
Impact
Once run, the chain planted a Python startup hook that survived uninstalling the package, could run Python from memory on Linux, and fetched later code from a developer web service the operator could edit [1]. The current payload was a harmless placeholder but an earlier wave delivered a remote access trojan, the hook could reach continuous integration jobs and services with access to source code and cloud secrets, the operator published an updated package on 1 December, and Island said the packages were still on PyPI on 2 December after it reported them [1].
References
Media1
- [1]Infosecurity Magazine2026-12-02Accessed 2026-12-03Snapshot 2026-12-03 sha256 1628c2f45824
“Island urged defenders to review new packages alongside the dependencies they pull in and to treat bundled pickle files and compiled modules in small utilities as code.”
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.