Malicious code in gatepay-sdk-python (PyPI)
MAL-2026-19942
Published · Modified
Dependency scanning
Check whether gatepay-sdk-python 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 (2d538d791bd87fe8c0058441c9acd724ceecbf5ab0ae3afb16f76a886bde3517)
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.
Source: kam193 (9ea41e6fdee5681e8ec43463b12b4893e323c02cec35e358489fa98443154713)
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes