mal-2025-49320
Vulnerability from ossf_malicious_packages
Published
2025-11-02 23:10
Modified
2025-12-31 02:45
Summary
Malicious code in python-requirements-inspector (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (8f26b5cd7ab7cb6a847edc1afec2dc496ac0f0bd3f592f2a98391365298c4fc6)

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.

Source: ossf-package-analysis (120f942e828e97f95448695e19e77003953dfc19d2010c361a02e8d62d2efe7e)

The OpenSSF Package Analysis project identified 'python-requirements-inspector' @ 999.0.1 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "python-requirements-inspector"
      },
      "versions": [
        "999.0.1",
        "999.0.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "ANALYST"
    },
    {
      "contact": [
        "https://github.com/ossf/package-analysis",
        "https://openssf.slack.com/channels/package_analysis"
      ],
      "name": "OpenSSF: Package Analysis",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2025-11-02T23:34:48.015998315Z",
        "modified_time": "2025-11-02T23:20:56Z",
        "sha256": "120f942e828e97f95448695e19e77003953dfc19d2010c361a02e8d62d2efe7e",
        "source": "ossf-package-analysis",
        "versions": [
          "999.0.1"
        ]
      },
      {
        "import_time": "2025-11-02T23:34:47.742046813Z",
        "modified_time": "2025-11-02T23:10:55Z",
        "sha256": "e6808df80e0d2778ba46ec1c965dba0300ef7864ef4d1b3dbf9b6877a9f18028",
        "source": "ossf-package-analysis",
        "versions": [
          "999.0.0"
        ]
      },
      {
        "id": "RLMA-2025-05629",
        "import_time": "2025-12-02T09:09:39.015746751Z",
        "modified_time": "2025-12-01T12:54:54Z",
        "sha256": "cc2b5ec947519cc5f4d537180821059db4c8d83050c93d36239acf1a8c71af4e",
        "source": "reversing-labs",
        "versions": [
          "999.0.0",
          "999.0.1"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/python-requirements-inspector",
        "import_time": "2025-12-02T22:30:56.347659573Z",
        "modified_time": "2025-11-03T06:19:58.874371Z",
        "sha256": "7f0753619f8f552a04b9dcc17080484d476562561f65ad57ac0d307939555510",
        "source": "kam193",
        "versions": [
          "999.0.1",
          "999.0.0"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/python-requirements-inspector",
        "import_time": "2025-12-02T23:07:19.539408778Z",
        "modified_time": "2025-11-03T06:19:58.874371Z",
        "sha256": "8f26b5cd7ab7cb6a847edc1afec2dc496ac0f0bd3f592f2a98391365298c4fc6",
        "source": "kam193",
        "versions": [
          "999.0.1",
          "999.0.0"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/python-requirements-inspector",
        "import_time": "2025-12-30T22:39:04.3392628Z",
        "modified_time": "2025-11-03T06:19:58.874371Z",
        "sha256": "9f56a5f4c4b84f7fe25aaedbec24051ce3632f14a63d5addd0d0f1cfd384f498",
        "source": "kam193",
        "versions": [
          "999.0.0",
          "999.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8f26b5cd7ab7cb6a847edc1afec2dc496ac0f0bd3f592f2a98391365298c4fc6)\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\n## Source: ossf-package-analysis (120f942e828e97f95448695e19e77003953dfc19d2010c361a02e8d62d2efe7e)\nThe OpenSSF Package Analysis project identified \u0027python-requirements-inspector\u0027 @ 999.0.1 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n",
  "id": "MAL-2025-49320",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-11-02T23:10:55Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/python-requirements-inspector"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in python-requirements-inspector (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…