# MAL-2026-19936: Malicious code in gateio-sdk (PyPI)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-14
- Modified: 2026-11-16

## Affected versions

- gateio-sdk (PyPI): 99.99.1, 99.99.2

## Description

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (50316b5fa5e78f5b800a0294f70d4142efe6eaa87e65227b7786c6aaad67cd8a)
setup.py defines a pingback() function and invokes it unconditionally at module top-level, so it runs during `pip install` of the sdist. The function collects installer-side host and identity data (whoami, id/privileges, hostname, cwd, platform, timestamp), reads /etc/hosts, and dumps the installer's environment by reading /proc/self/environ on Linux or os.environ elsewhere (truncated to 3000 chars). The collected data is POSTed as JSON to the hardcoded author-controlled endpoint https://pingback.zsdsh.xyz/depconf/gateio-sdk/. Build and CI environments routinely hold cloud credentials, registry tokens, and auth material in environment variables, so this is a bulk credential sweep against the installer. The package is published under the name `gateio-sdk` at the abnormally high version 99.99.1, matching the dependency-confusion resolver-preference shape against a potentially-internal package name, and the package self-describes as a 'dependency confusion PoC' authored by `bytesnull44` — a label that does not change the harm inflicted on anyone who installs it.

## Source: kam193 (daf0fb9836af133a053a98dbd88106efeaccd310d038b52f596a53be0efc6f76)
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

## References

- https://bad-packages.kam193.eu/pypi/package/gateio-sdk
- https://pypi.org/project/gateio-sdk/99.99.1/

Page: https://cve.now/MAL-2026-19936

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