Malicious package · PyPI
Malicious code in lookuptest11 (PyPI)
0.0.1No safe version. Remove it.What it does
lookuptest11 0.0.1 performs DNS-based exfiltration of installer identity to the attacker-controlled domain testa213022.dssldrf.net. setup.py constructs a subdomain label of the form install-<random>-<hostname> from platform.node() and calls socket.getaddrinfo(label.testa213022.dssldrf.net, 80), causing the authoritative nameserver for that domain to receive the installer's hostname on every sdist build. gcp_log_poc/init.py performs the equivalent lookup with an import-<random>-<hostname> label at module load, so the same leak fires on every import of the installed wheel. The package exposes no functional API consistent with its name; the DNS calls are the only observable behavior and have no build or runtime purpose other than delivering host identifiers to the operator of testa213022.dssldrf.net.
Reported by kam193 Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
No fix · Remove and contain
pip uninstall lookuptest11Sources