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

1 line
3.6 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-19942","published":"2026-11-15T08:33:20Z","modified":"2026-11-16T22:45:04.548409655Z","summary":"Malicious code in gatepay-sdk-python (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2d538d791bd87fe8c0058441c9acd724ceecbf5ab0ae3afb16f76a886bde3517)\nThe sdist's setup.py executes on `pip install` and performs a DNS lookup of a subdomain constructed from an MD5 hash of the installer's hostname under the attacker-controlled parent zone `gatepay-sdk-python.depconf.zsdsh.xyz`. The lookup fires unconditionally during install, with no user interaction, exfiltrating a per-host identifier to whoever operates that DNS zone and enabling enumeration of every environment where the package resolves. The version number (99.99.1) and name shape are consistent with a dependency-confusion lure targeting an internal package. The README's claim that no data is exfiltrated contradicts the observed behavior.\n\n## Source: kam193 (9ea41e6fdee5681e8ec43463b12b4893e323c02cec35e358489fa98443154713)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","affected":[{"package":{"name":"gatepay-sdk-python","ecosystem":"PyPI","purl":"pkg:pypi/gatepay-sdk-python"},"versions":["99.99.1"],"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":["gatepay_sdk_python-99.99.1.tar.gz"],"path":"setup.py","sha256":"a892ccce5ea9f8f9c29f25df760671b5d524adaa8d5bf07663aef8ed91bece97","tlsh":"a0f0e705ce15946550fc4158487f96143530a3437f03e49b675a47417f8f1dfc336764"}],"package_integrity":[{"filename":"gatepay_sdk_python-99.99.1.tar.gz","hashes":{"blake2b_256":"914de1fa0049d907ce2a5f2b0519cf4c0dce4431d37c614233e4174a1252bcc9","md5":"a82bc03e22a92d40eaa532946b3e6822","sha256":"a6093f5c4caa1171091eaeef15eafaa68e5f5951e42b88c4fe291627f6bcd2c4"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gatepay-sdk-python/MAL-2026-19942.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gatepay-sdk-python"},{"type":"PACKAGE","url":"https://pypi.org/project/gatepay-sdk-python/99.99.1/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/gatepay-sdk-python","import_time":"2026-11-15T09:11:42.877340442Z","modified_time":"2026-11-15T08:33:20.128852Z","sha256":"9ea41e6fdee5681e8ec43463b12b4893e323c02cec35e358489fa98443154713","source":"kam193","versions":["99.99.1"]},{"id":"IN-MAL-2026-022812","import_time":"2026-11-16T22:36:32.152176643Z","modified_time":"2026-11-16T22:27:25Z","sha256":"2d538d791bd87fe8c0058441c9acd724ceecbf5ab0ae3afb16f76a886bde3517","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"}]}