uvhttp-custom (PyPI) · Malicious Code
Affects uvhttp-customSource GCVE Database
Malicious package : remove uvhttp-custom and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 16:09 UTC
Malicious package
Published to PyPI · OSV MAL-2026-15863
What to do
Remove uvhttp-custom from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIuvhttp-custom | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The PyPI package uvhttp-custom versions 1.7.9, 1.8.1, and 1.9.9 contains malicious code embedded in its setup.py file. During installation on Windows, it executes an obfuscated payload that writes and runs a PowerShell script. This script downloads and silently executes an unsigned Windows executable from a Discord CDN URL without any hash or signature verification. The package also runs a benign command (calc) as part of the payload. This behavior results in the silent execution of potentially harmful code on the installer's machine.
References
- virustotal.com/gui/file/100dddbee0589f1f78f7b78c9ec2b4c40d408ee01e6219a269e877940c992142/detection (opens in a new tab)
- app.any.run/tasks/980277ac-35c0-4d8a-ae88-d00702c16fcc (opens in a new tab)
- bad-packages.kam193.eu/pypi/package/uvhttp-custom (opens in a new tab)
- pypi.org/project/uvhttp-custom/1.8.1/ (opens in a new tab)
- pypi.org/project/uvhttp-custom/1.9.9/ (opens in a new tab)
- pypi.org/project/uvhttp-custom/1.7.9/ (opens in a new tab)