P2 · HighMalware
Malicious code in zwhrce (PyPI)
- MAL-2026-20763
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.
Text from the OSV record.
Affected
zwhrcePyPI
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.