Malicious package · PyPI
Malicious code in stdid-nyxprobe (PyPI)
0.0.10.0.2No safe version. Remove it.What it does
The package installs stdid_nyxprobe.pth into site-packages, whose sole content is import stdid_nyxprobe._beacon. Python's site.py mechanism evaluates this on every interpreter start after pip install, with no user-initiated import required. The imported module stdid_nyxprobe/_beacon.py collects host identifiers — hostname (socket.gethostname), LAN IP (via hostname -I), username (getpass.getuser), current working directory, and Python version — and POSTs them to https://api.telegram.org/bot<token>/sendMessage using a hardcoded bot token (8984095380:AAHN...) and two hardcoded chat IDs (1841775463, -5380294525). A sentinel file at ~/.cache/.stdid_beacon_fired is written to suppress repeat beacons. The package has no documented legitimate functionality that would justify this behavior; the.pth auto-exec primitive is being used purely as a persistence/auto-trigger vector for the exfiltration payload.
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 stdid-nyxprobeSources