NetSight
criticalMalware report

GHSA-5jh6-c7j5-jcgx

Malicious code in python-socket-test (PyPI)

Impact

## Source: kam193 (93a8d30e631680bace9b05db1ac189cbcc472895fcfb1db40f4df52f301a6599) Importing the package starts a script that takes commands from remote server and executes locally --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-03-python-socket-test Reasons (based on the campaign): - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-socket-test/MAL-2025-3460.json))

Affected packages

EcosystemPackageAffectedFixed in
pippython-socket-test= 1.0.0none recorded
pippython-socket-test= 1.0.1none recorded
pippython-socket-test= 1.1.1none recorded
pippython-socket-test= 2.0.0none recorded
pippython-socket-test= 2.0.1none recorded

Weakness classification

References