cvelo
P2 · HighMalware

Malicious code in shenghuo2-getshell (PyPI)

  • GHSA-g26f-h2vx-h87j

Description

Malicious package. `shenghuo2-getshell` overrides the setuptools `install` command in `setup.py`. When the package is installed from its source distribution it opens a TCP connection to 39.101.72.63:4242, duplicates the socket onto stdin, stdout and stderr, and runs `/bin/sh -i`, handing the remote host an interactive shell on the installing machine. The package has no other functionality. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/27b172f0c0c87574e3506f0a96a0c8a8065c25d6/osv/malicious/pypi/shenghuo2-getshell/MAL-2026-20944.json))

Text from the GitHub Advisory record.

Affected

  • shenghuo2-getshellPyPI

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.