Files
vuln-osv/data/PyPI/MAL-2026-19937.json
T

1 line
3.5 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-19937","published":"2026-11-14T17:19:26Z","modified":"2026-11-16T22:45:04.581915985Z","summary":"Malicious code in gateio-ws (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d69c1a6ef8056459c53ad1730c111c11a4e22384300f450f07eeb405af562324)\nsetup.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.\n\n## Source: kam193 (0f8978dc13690cab2fe33ad377e4c09bb1fa181ecd2fbba9fc1b2e7c17f8d70f)\nGeneric campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: GENERIC-questionable-pentest\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-generic\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n","affected":[{"package":{"name":"gateio-ws","ecosystem":"PyPI","purl":"pkg:pypi/gateio-ws"},"versions":["99.99.1","99.99.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"artifacts":["gateio_ws-99.99.1.tar.gz"],"path":"setup.py","sha256":"f245be6d8e3b93baa9ff22d0db635df7cf0d730bdbe0c51c4d9e85a0929b5768","tlsh":"2f11d08fab286661d2e750b4542045252ba1bd17d7016cb57c9c8f84af4f4bf903257d"}],"package_integrity":[{"filename":"gateio_ws-99.99.1.tar.gz","hashes":{"blake2b_256":"0ac0d133e431e3352cc9e1599b9e95073747b6ace38b11d5f2dbb84b7a96c05d","md5":"6518a98df161c3c8dc7e79a78a188901","sha256":"c1dac53dc805b43b350a33c6a588cc1719f8b370eb1e9539d661c1d361e72240"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gateio-ws/MAL-2026-19937.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gateio-ws"},{"type":"PACKAGE","url":"https://pypi.org/project/gateio-ws/99.99.1/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-questionable-pentest/gateio-ws","import_time":"2026-11-14T17:35:59.647782569Z","modified_time":"2026-11-14T17:19:26.436071Z","sha256":"0f8978dc13690cab2fe33ad377e4c09bb1fa181ecd2fbba9fc1b2e7c17f8d70f","source":"kam193","versions":["99.99.1","99.99.2"]},{"id":"IN-MAL-2026-022811","import_time":"2026-11-16T22:36:32.09178494Z","modified_time":"2026-11-16T22:27:18Z","sha256":"d69c1a6ef8056459c53ad1730c111c11a4e22384300f450f07eeb405af562324","source":"amazon-inspector","versions":["99.99.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}