VYPR

pypi · Malicious package advisory

Malware

qzc690382

GHSA-4h5h-42vv-83c5

Malicious code in qzc690382 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## 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))

**References:**
- https://github.com/ossf/malicious-packages/blob/e36b77c257151f9a76f303a0b3259ae3140d3a18/osv/malicious/pypi/qzc690382/MAL-2026-18749.json
- https://pypi.org/project/qzc690382/1.0.0
- https://bad-packages.kam193.eu/pypi/package/qzc690382
- https://github.com/ossf/malicious-packages/blob/e3cb1fb7f7c3ea7aac52daa1e388c7ac2249f67e/osv/malicious/pypi/qzc690382/MAL-2026-18749.json
- https://github.com/advisories/GHSA-4h5h-42vv-83c5

Compromised versions (1)

  • = 1.0.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.

VYPR — Vulnerability Intelligence