MAL-2026-19932

Vulnerability from ossf_malicious_packages – Published: 2026-11-14 09:53 – Updated: 2026-11-16 22:37 – Source website
Malicious package
Summary
Malicious code in xrfdc (PyPI)
Affected package
Ecosystem Package Versions
PyPI xrfdc
0.0.02.0
Details
Amazon Inspector IN-MAL-2026-022817 Reported 2026-11-16 22:31

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.

kam193 pypi/GENERIC-standard-pypi-install-pentest/xrfdc Reported 2026-11-14 09:53

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.

Indicators
Type Indicator Hashes
Evidence file setup.py
sha256 14673add7c80c587d7b8f3309faf50c07b39b4ed35507fe96990bcd638b9753b
tlsh ea111293ec727175fb8320d0486388653653fa0f6f02ec693cdc57540fae835d821659
Package archive xrfdc-2.0.tar.gz
blake2b_256 2fff7748029c29b0207f23e5e7934468452908f7109b99395097ae19bc363891
md5 4329dcf1898d2a95d19fc21581b2f333
sha256 3f24f0ea01df14505fa62f1233204cd2144cd56652639708d72891715bd73f74
CWE
  • CWE-506 - Embedded Malicious Code

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "artifacts": [
                "xrfdc-2.0.tar.gz"
              ],
              "path": "setup.py",
              "sha256": "14673add7c80c587d7b8f3309faf50c07b39b4ed35507fe96990bcd638b9753b",
              "tlsh": "ea111293ec727175fb8320d0486388653653fa0f6f02ec693cdc57540fae835d821659"
            }
          ],
          "package_integrity": [
            {
              "filename": "xrfdc-2.0.tar.gz",
              "hashes": {
                "blake2b_256": "2fff7748029c29b0207f23e5e7934468452908f7109b99395097ae19bc363891",
                "md5": "4329dcf1898d2a95d19fc21581b2f333",
                "sha256": "3f24f0ea01df14505fa62f1233204cd2144cd56652639708d72891715bd73f74"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "xrfdc"
      },
      "versions": [
        "0.0.0",
        "2.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/xrfdc",
        "import_time": "2026-11-14T10:35:58.969032765Z",
        "modified_time": "2026-11-14T09:53:39.290372Z",
        "sha256": "2d5669631a74637e570868f9350b0988d15885a2641f820cb91cc3ea22eecb55",
        "source": "kam193",
        "versions": [
          "0.0.0",
          "2.0"
        ]
      },
      {
        "id": "IN-MAL-2026-022817",
        "import_time": "2026-11-16T22:36:32.437530163Z",
        "modified_time": "2026-11-16T22:31:07Z",
        "sha256": "bd1b72077d7e588c9063bb0b5879e709f1627d929e9ddf815b6f89c8ec0c8cd5",
        "source": "amazon-inspector",
        "versions": [
          "2.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bd1b72077d7e588c9063bb0b5879e709f1627d929e9ddf815b6f89c8ec0c8cd5)\nThe sdist\u0027s setup.py defines a custom install command that, during `pip install`, collects the installer\u0027s 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\u0027s 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.\n\n## Source: kam193 (2d5669631a74637e570868f9350b0988d15885a2641f820cb91cc3ea22eecb55)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
  "id": "MAL-2026-19932",
  "modified": "2026-11-16T22:37:52.066516485Z",
  "published": "2026-11-14T09:53:39Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/xrfdc"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/xrfdc/2.0/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in xrfdc (PyPI)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.