pypi · Malicious package advisory
Malwarezwhrce
MAL-2026-20763
Malicious code in zwhrce (PyPI)
Details
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.Compromised versions (1)
- 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.