MAL-2026-20763 Malicious code in zwhrce (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
Malicious package. setup.py overrides the setuptools install command and, after the normal install, base64-encodes a Python reverse shell (socket to 81.68.90.93:4444, stdin/stdout/stderr duplicated onto it, pty.spawn('/bin/bash'), HISTFILE set to /dev/null) and runs it with echo <b64> | base64 -d | bash. The package description is literally "install this module then reverse shell". Seen in a sandboxed install. The setup.py is the same template, host, port and author ('dpm', module deepmountains.hello) as deeprce (MAL-2025-6493). Version 0.0.1 was published on 2023-05-16 and has since been removed from PyPI.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi zwhrce(PyPI) | = 0.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi zwhrce(PyPI) | = 0.0.1 | No fix listed |