pypi · Malicious package advisory
Malwarequeryservice-client
GHSA-mpf4-54mq-j5fc
Malicious code in queryservice-client (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.0` ## Source: kam193 (92aafbccc7065760e0127931c5150c59561f3b753ab9fe79dbcbdafd1aef97dc) Dependency confusion PoC that exfiltrates also potentially sensitive environment variables --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: GENERIC-questionable-pentest Reasons (based on the campaign): - exfiltration-env-variables - exfiltration-generic - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/queryservice-client/MAL-2026-5.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/queryservice-client - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/queryservice-client/MAL-2026-5.json - https://github.com/advisories/GHSA-mpf4-54mq-j5fc
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.