# GHSA-H6GP-MPRH-HHHV: Malicious code in gateio-ws (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-14
- Modified: 2026-11-17

## Affected versions

- gateio-ws (PyPI): 99.99.1
- gateio-ws (PyPI): 99.99.2

## Description

## Source: kam193 (0f8978dc13690cab2fe33ad377e4c09bb1fa181ecd2fbba9fc1b2e7c17f8d70f)
Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


---

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/5eed901d621225c72ab1f6b54780adc62a6d2e78/osv/malicious/pypi/gateio-ws/MAL-2026-19937.json))

## References

- https://bad-packages.kam193.eu/pypi/package/gateio-ws
- https://github.com/ossf/malicious-packages/blob/5eed901d621225c72ab1f6b54780adc62a6d2e78/osv/malicious/pypi/gateio-ws/MAL-2026-19937.json
- https://github.com/ossf/malicious-packages/blob/74d1b2820358b1cd3d1136e12e921607b304d806/osv/malicious/pypi/gateio-ws/MAL-2026-19937.json
- https://pypi.org/project/gateio-ws/99.99.1
- https://github.com/ossf/malicious-packages/blob/f8c4d3d106ef5ec13edc0958f06e2bb40b873582/osv/malicious/pypi/gateio-ws/MAL-2026-19937.json
- https://github.com/advisories/GHSA-h6gp-mprh-hhhv

Page: https://cve.now/GHSA-H6GP-MPRH-HHHV

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
