MAL-2026-19932 Malicious code in xrfdc (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (bd1b72077d7e588c9063bb0b5879e709f1627d929e9ddf815b6f89c8ec0c8cd5)
The sdist's setup.py defines a custom install command that, during pip install, collects the installer's hostname and resolved IP address and POSTs them as JSON to a hardcoded webhook.site collector URL (https://webhook.site/0fb8a38d-80f7-4134-8eb4-e5012b816090), silently swallowing any exceptions. Only an sdist is published, so a default pip install xrfdc==2.0 runs setup.py on every supported platform. The package's own PKG-INFO describes it as a beacon-only proof-of-concept, and no legitimate functionality is shipped. webhook.site is an anonymous third-party request-collector, not infrastructure associated with any declared publisher, and the beacon executes unconditionally without disclosure or opt-out.
Source: kam193 (2d5669631a74637e570868f9350b0988d15885a2641f820cb91cc3ea22eecb55)
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 xrfdc(PyPI) | = 0.0.0; = 2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi xrfdc(PyPI) | = 0.0.0 | No fix listed |
| pypi xrfdc(PyPI) | = 2.0 | No fix listed |
References
- bad-packages.kam193.eu
- pypi.org product