GitHub Advisory PyPI malware sweep, 28 July 2026
GHSA published 7 new PyPI CWE-506 advisories on 2026-07-28: karpatkit/karpatkey Karpatkey DAO dep-confusion pair, dev-helper-bg + cfgzen infostealer siblings, mrmustard@0.7.4 Xanadu typosquat, vtranalytic@9.0.1 Telegram RAT, govapkg@0.1.0 fake Go doc client with systemd persistence.
Published 28 Jul 2026
Every version named by the advisory is in the scanner, so a lockfile check finds it directly.
- Severity
- High
- Type
- Advisory sweep
- Published
- 28 Jul 2026
- Ecosystems
- PyPI
- Detected by
- GitHub Advisory Database, OpenSSF Package Analysis
- Also known as
- 2026-07-28 GHSA PyPI batch, Karpatkey DAO dep-confusion
- Source
- github.com
Advisory sweep. A dated batch of GitHub Advisory Database malware entries collected together. A sweep mixes kinds - typosquats, dependency-confusion probes, boilerplate takedowns with no published analysis, and occasionally real payloads - and its severity reflects the worst confirmed item, not the batch as a whole.
The full picture
On 2026-07-28, the GitHub Advisory Database published 7 new PyPI CWE-506 (Embedded Malicious Code) advisories for coordinated malicious uploads.
Cluster A - Karpatkey DAO dep-confusion pair
| Package | Versions | Notes |
|---|---|---|
karpatkit | 2.1.0, 2.1.1 | dep-confusion against Karpatkey internal tooling |
karpatkey | 2.1.1 | dep-confusion against the DAO's namesake package |
Both exfiltrate SSH keys, AWS + GCP credentials, cryptocurrency wallet files, shell history, and ~/.env* on import. Karpatkey is a DAO treasury-management collective - the target is DAO-treasury private keys and multisig signer machines. The legitimate karpatkey distribution publishes to a private index; the malicious uploads exploit the public-PyPI-preference default in pip.
Cluster B - infostealer sibling pair
| Package | Versions | Notes |
|---|---|---|
dev-helper-bg | 0.1.3, 0.1.4, 0.1.6, 0.1.7 | remotely-controlled encrypted code, Telegram exfil |
cfgzen | 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6 | encrypted-remote-executable + sandbox detection |
Multiple published versions across both packages indicate active operator iteration through the malicious window. Shared behavioural fingerprints (encrypted remote payload, exfil kit) suggest same operator using different distribution names to weather partial takedowns.
Cluster C - Xanadu Quantum typosquat
| Package | Version | Notes |
|---|---|---|
mrmustard | 0.7.4 | typosquat of Xanadu quantum-photonics library |
Exfiltrates SSH keys, AWS credentials, and environment variables via a background thread. Persistence is disguised as a "tensorflow hardware compatibility check" - the disguise is deliberately shaped to blend with legitimate ML-tooling install noise so verbose-mode pip install output review does not flag it.
Cluster D - Telegram RAT
| Package | Version | Notes |
|---|---|---|
vtranalytic | 9.0.1 | Telegram-bot-controlled RAT |
Provides an attacker-controlled Telegram bot with arbitrary command execution and credential-theft primitives. The inflated 9.x major version on a package with no version-1-through-8 history is a strong dep-confusion signal.
Cluster E - Fake Go doc client with systemd persistence
| Package | Version | Notes |
|---|---|---|
govapkg | 0.1.0 | fake Go doc client, systemd desktop service persistence |
Masquerades as a Go documentation client. On import, downloads and executes a remote binary; establishes persistence by dropping a .desktop service unit into ~/.local/share/applications disguised as a legitimate desktop entry - survives reboot on Linux desktop hosts.
Registry state
All 7 packages yanked from PyPI. Private mirrors (devpi, Nexus, Artifactory) that cached wheels BEFORE the yank WILL keep serving the malicious versions - verify your mirror does not.
7 packages 17 versions
- PyPIcfgzen1.0.01.0.11.0.21.0.31.0.41.0.51.0.6→
- PyPIdev-helper-bg0.1.30.1.40.1.60.1.7→
- PyPIgovapkg0.1.0→
- PyPIkarpatkey2.1.1→
- PyPIkarpatkit2.1.02.1.1→
- PyPImrmustard0.7.4→
- PyPIvtranalytic9.0.1→
These are usually pulled in as transitive dependencies rather than installed directly. Check your whole tree at once. It runs in your browser and nothing is uploaded.
What it does if you installed it
- Any host with any of these 7 PyPI packages installed at the listed versions should be treated as fully compromised - every advisory carries the CWE-506 boilerplate, and no patched versions exist
karpatkit@2.1.0/2.1.1+karpatkey@2.1.1: coordinated dep-confusion pair targeting the Karpatkey DAO treasury-tooling scope. Both exfil SSH keys, AWS + GCP credentials, cryptocurrency wallet files, and shell history at import time. Thekarpatkeylegitimate package publishes to a private index - the malicious public-PyPI upload is a textbook dep-confusion primitivedev-helper-bg@0.1.3/0.1.4/0.1.6/0.1.7: executes remotely-controlled encrypted code on import; exfiltrates files via Telegram bot. Multiple published versions suggest active operator iterationcfgzen@1.0.0-1.0.6: infostealer that downloads and executes encrypted remote executables while detecting sandbox environments (VM check, debugger check). Seven published versions in the malicious windowmrmustard@0.7.4: typosquat of Xanadu's legitimatemrmustardquantum-photonics library. Exfiltrates SSH keys, AWS credentials, and environment variables via a background thread disguised as a "tensorflow hardware compatibility check" - the disguise is deliberately shaped to survivepip installverbose output reviewvtranalytic@9.0.1: Telegram-bot-controlled remote administration tool with arbitrary command execution and credential-theft primitives. Inflated9.xmajor version is a dep-confusion signalgovapkg@0.1.0: masquerades as a Go documentation client; on import downloads and executes a remote binary and establishes persistence through a fakesystemddesktop service unit in~/.local/share/applications- All 7 packages remain yanked / removed from PyPI public listings, but private PyPI mirrors (devpi, Nexus, Artifactory) that cached wheels BEFORE the yank WILL keep serving the malicious versions
Clean-up steps
- Grep every Python requirements file (
requirements.txt,pyproject.toml,poetry.lock,Pipfile.lock,uv.lock,constraints.txt) for each package name in the packages map below karpatkit/karpatkey: any Karpatkey DAO integration must configurepip install --index-urlscoped to the private index, or usepip install --require-hasheswith pinned wheel hashes. If your lockfile ever resolved these names from public PyPI, rotate every SSH key, AWS access key, GCP service-account key, browser wallet extension seed, and multisig signer key reachable from the host that ranpip installdev-helper-bg/cfgzen: any hit at any listed version is a compromise - the infostealer runs on import, not just install. Rotate everything the interpreter's user could reach and re-image the developer / build hostmrmustard: verify themrmustardyour projects install comes from the legitimate Xanadu upload (XanaduAIPyPI account). The malicious0.7.4is a typosquat - check whether the legitimate library reached0.7.4before pinning; if uncertain, pin to a known-good older version like0.6.xvtranalytic,govapkg: uncommon names, but any pin at the listed versions is a full compromise.govapkgwrites a.desktopfile to~/.local/share/applicationsfor persistence - delete any unrecognised entry there when remediating- Configure
pip install --no-cache-dirin ephemeral CI images so a poisoned wheel cache from a prior run cannot re-infect a supposedly-clean build - Verify none of the 7 listed packages still resolves via your private mirror - internal devpi / Nexus / Artifactory instances routinely cache wheels and will keep serving the original versions after the public yank
Sources
- GitHub Advisory Database - recent PyPI malware advisoriesgithub.com
- GHSA-7qg7-6pg7-g63q - karpatkit malware advisorygithub.com
- GHSA-v497-gp55-jwxm - karpatkey malware advisorygithub.com
- GHSA-pcf6-hwj2-m3vw - dev-helper-bg malware advisorygithub.com
- GHSA-r2w6-7pgv-644h - cfgzen malware advisorygithub.com
- GHSA-7h9m-3hvr-pjg2 - mrmustard malware advisorygithub.com
- GHSA-29jr-g2qh-hj97 - vtranalytic malware advisorygithub.com
- GHSA-pxxf-hj67-hjm5 - govapkg malware advisorygithub.com
Check your lockfile against this and every other incident.
Paste a lockfile and it is matched on your own device against every compromised version we track. Nothing is uploaded and there is no account.