MAL-2026-18406 Malicious code in stdid-nyxprobe (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (2ccf3f03f309715ca11fb3863aa89a57d4c0550606cb17839bfff9b5dfd34687)
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.
Source: kam193 (0178d6c7a642f90327546548a88f64bd17da5aa97e519249f515c0e6232c73f1)
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi stdid-nyxprobe(PyPI) | = 0.0.1; = 0.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi stdid-nyxprobe(PyPI) | = 0.0.1 | No fix listed |
| pypi stdid-nyxprobe(PyPI) | = 0.0.2 | No fix listed |
References
- bad-packages.kam193.eu
- pypi.org product
- pypi.org product