"Keying a payload to the victim's environment is not new," Island researchers Idan Revivo and Ofek Ronen said. "What we have not seen documented before is the source of the decryption key: the victim's own loaded Python dependencies."
The DevGating technique: payloads unlocked by the victim's dependencies
Researchers at Island describe an "active and evolving" campaign on the Python Package Index (PyPI) that uses a technique they call DevGating. First observed on September 25, 2026, the attack splits its malicious behavior across two packages so that any single-package analysis misses the full story. The malware checks whether the running Python process has already loaded a specific dependency associated with the popular requests package — for example, "requests.packages.urllib3.util.connection" or, in the case of colook, "requests.packages.urllib3.util.request" — and uses that loaded module as a fingerprint to derive the decryption key that unlocks the concealed payload.
How the campaign evades scanners and takedowns
DevGating relies on several evasive choices. The front packages are small, legitimate-looking developer utilities — a web reader, a mail parser, a terminal-color library — that pass static analysis, sandbox detonation and functional testing. The malicious data is hidden in benign-seeming files (for example, a pickle stored as "default.config") inside one package, while the code that unpickles and executes it ships from a different PyPI account in a separate helper package. As Island put it: "A scanner that looks at mailreader alone finds a config call. A scanner that looks at confext alone finds a config parser that unpickles whatever file its caller ships. Neither package holds the whole story."
When a developer's real project imports requests first and then one of the front packages, the presence of the targeted loaded module allows the malware to decrypt and run. The payload then establishes persistence by dropping a .pth file so it runs automatically whenever the interpreter starts, and proceeds to execute Python from memory on Linux and retrieve code staged at npoint.io, a one-way JSON store the operator can rewrite at any time.

Nobody's watching your logs at 2 AM.
Full SOC coverage without building one. Nubivance deploys and manages Rapid7 InsightIDR and MDR for organizations that need detection and response, not another dashboard.
Get coveragePackages, waves, and observed behaviors
Island attributes the campaign to four waves and eight packages, with the operator iterating evasion techniques across releases. The identified packages are:
- mailreader (versions 2.7.1, 2.7.2)
- confext (version 0.7.2)
- webreader
- pafer
- resion
- pafex
- colook (version 1.1.3)
- basic-crypt (versions 1.5.2, 1.5.3)
Island reports the campaign evolved from earlier waves (webreader/pafer; resion/pafex; colook/basic-crypt) to the most recent mailreader/confext pairing. An earlier wave is said to have delivered a remote access trojan (RAT). Island also notes that one version released earlier in December adds legitimate functionality while keeping the malicious behavior intact.
Related supply-chain activity: GhostMap, IronWorm, and a large-scale GitHub token stealer
The DevGating disclosure arrives amid other active supply-chain and repository compromises. Aqua reported a Linux eBPF rootkit called GhostMap distributed via an evolved Shai-Hulud worm variant named IronWorm; Aqua researchers Dolev Mizrahi and Ivan Kosarev said GhostMap "blinds user-space applications by manipulating kernel data on the fly to hide malicious processes, files, and network sockets." Aqua noted implementation overlap with a June 2026 campaign called Atomic Arch that compromised hundreds of orphaned packages in the Arch User Repository (AUR).
Separately, researchers observed unknown actors using stolen GitHub tokens to push a credential stealer into repositories starting November 10, 2026. The activity has reached at least one Packagist package and one Golang package via automated publishing triggers; Aikido assessed 4,837 compromised accounts opened probe pull requests in 61,764 repositories. Between November 10 at 12:46 p.m. and November 12 at 4:35 a.m. UTC, over 8,000 repositories received malicious commits and 1,806 repositories are assessed impacted. The stealer exfiltrates data to 194.150.166[.]244 or 18.143.168[.]96 and is designed to run once via GitHub Actions or an npm postinstall hook; attackers then attempt to abuse collected credentials to mint deeper access (new access keys and federated credentials) to AWS, Google Cloud, and Microsoft Azure. SafeDep researcher Kunal Singh noted that in almost all repositories "the attacker then reverts the commit, so the branch looks clean."
What this means for developers, open-source maintainers, and enterprise security teams
Developers should note a concrete operational detail: the malicious behavior depends on import order and the presence of a specific loaded module (for example, requests-related submodules). That means packages that are harmless in isolation can activate when installed into a real project that already imports requests.
Open-source maintainers should be aware that the campaign favored small, generic helper libraries rather than typosquats or impersonations of famous projects — the lure is convenience and rapid discovery during a search on PyPI.
Enterprise security teams must reckon with persistence and dynamic control: the payload writes a .pth file to execute on every Python start and fetches runtime code from npoint.io, an externally writable one-way JSON store the operator can update at will. Coupled with contemporaneous GitHub-token abuse campaigns that aim to harvest cloud credentials, these techniques increase the potential for long-lived, stealthy footholds.
DevGating exposes a narrow but powerful gap: package analysis that inspects files, runs sandboxes, or checks signatures can still miss malware keyed to a developer's actual runtime environment. The practical question left by Island's findings is operational: how will detection and takedown processes adapt when the "key" to malicious behavior lives in the victim's already-loaded dependencies, and the malicious logic is split across accounts and packages?




