Malicious code in gatepay-sdk-python (PyPI)
- MAL-2026-19942
Description
The 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. Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose. --- Category: 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. Campaign: GENERIC-standard-pypi-install-pentest Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - The package overrides the install command in setup.py to execute malicious code during installation.
Text from the OSV record.
Affected
gatepay-sdk-pythonPyPI
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.