NetSight
criticalMalware report

GHSA-4h5h-42vv-83c5

Malicious code in qzc690382 (PyPI)

Impact

## Source: amazon-inspector (b34d702840be6773d3d41444f836f45dab6a8e3524fcc8e4cd6d224ac3a77f1e) The package body is inert (`__init__.py` contains only `#c\n`); the entire functionality lives in setup.py, which runs on `pip install`. During install, setup.py writes a Python HTTP server script to `/tmp/.kxs` and launches it detached via `subprocess.Popen([sys.executable, '/tmp/.kxs'], start_new_session=True)`. The server binds `0.0.0.0` on ports 9998, 9999, 8089, 8099, and 8899 and executes any shell command passed in a GET `c=` query parameter via `subprocess.run(c, shell=True,...)`, gated only by a token stored at `/tmp/.kxq`. The result is a persistent, network-exposed shell on all interfaces of the installing machine, running as the installing user, with no relationship to building or using any advertised functionality. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e36b77c257151f9a76f303a0b3259ae3140d3a18/osv/malicious/pypi/qzc690382/MAL-2026-18749.json))

Affected packages

EcosystemPackageAffectedFixed in
pipqzc690382= 1.0.0none recorded

Weakness classification

References