Malicious code in gateio-ws (PyPI)
MAL-2026-19937
Published · Modified
Dependency scanning
Check whether gateio-ws is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (d69c1a6ef8056459c53ad1730c111c11a4e22384300f450f07eeb405af562324)
setup.py defines a pingback() routine that executes unconditionally at module top level during sdist build. On pip install, it collects the installer's username (whoami/id), hostname, current working directory, the contents of /etc/hosts, and a timestamp, then POSTs them as JSON to https://pingback.zsdsh.xyz/depconf/gateio-ws/. The destination host is unrelated to the gate.io ecosystem and the URL path segment depconf together with the implausibly high 99.99.1 version number are consistent with a dependency-confusion squat targeting an internal package name. No wheels are published, so a default pip install gateio-ws on every supported platform builds the sdist and triggers the beacon.
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
Source: ossf-package-analysis (d0049d257ca3b06a8006b745546dc4e3c8c9811691fdfe6b0724636619e7c349)
The OpenSSF Package Analysis project identified 'gateio-ws' @ 99.99.1 (pypi) as malicious.
It is considered malicious because:
- The package executes one or more commands associated with malicious behavior.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes