If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
Source: amazon-inspector (c5319f74a06670d40b020831dae38da696aa966dc1fdfde45063abb0024df922)
setup.py runs automatically during `pip install` and POSTs the installer's OS, username (USER/USERNAME), and hostname (via COMPUTERNAME on Windows or the `hostname` command on POSIX) as form-encoded data to the hardcoded plaintext HTTP endpoint http://182.92.143.23/collect.php. The package declares `packages=[]` and ships no importable code implementing the advertised CLI, so the beacon is the sole install-time behavior. The destination is a bare-IP HTTP endpoint unrelated to any legitimate PyPI or vendor infrastructure, and the collected fields identify the installer's machine and account.
Source: kam193 (102c2da9fcddf1e398e47d284721f74769e1b5f4c8806570b253a5cc426396e2)
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.