mal-2025-191802
Vulnerability from ossf_malicious_packages
Published
2025-09-07 16:49
Modified
2025-12-31 02:45
Summary
Malicious code in netmanagement (PyPI)
Details

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

Source: kam193 (9af8bc10bc4f751ad03dbe8257d2d8c49941accbf8b8fe6149d17a457fc56811)

The package appears to be a PoC of overwriting "requests" package files. The new "requests/init.py" takes over common requests features and uses the implementation that a) logs every request to a file (but no external exfiltration, this may also be expected in some situations); b) after every 5 requests, opens the calculator app. The second shows clearly that the intention is to present a security risk, not create a real package.


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: 2025-08-netmanagement

Reasons (based on the campaign):

  • action-hidden-in-lib-usage

  • other




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "netmanagement"
      },
      "versions": [
        "0.1.1",
        "0.1.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": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-08-netmanagement/netmanagement",
        "import_time": "2025-12-02T22:30:56.235557197Z",
        "modified_time": "2025-09-07T16:49:12.955911Z",
        "sha256": "506efb236796dfaba988cc71b017ce31b81505c1d2c4bb6cad7c9378794c3b57",
        "source": "kam193",
        "versions": [
          "0.1.1",
          "0.1.0"
        ]
      },
      {
        "id": "pypi/2025-08-netmanagement/netmanagement",
        "import_time": "2025-12-02T23:07:19.422939626Z",
        "modified_time": "2025-09-07T16:49:12.955911Z",
        "sha256": "9af8bc10bc4f751ad03dbe8257d2d8c49941accbf8b8fe6149d17a457fc56811",
        "source": "kam193",
        "versions": [
          "0.1.1",
          "0.1.0"
        ]
      },
      {
        "id": "pypi/2025-08-netmanagement/netmanagement",
        "import_time": "2025-12-30T22:39:04.319216526Z",
        "modified_time": "2025-09-07T16:49:12.955911Z",
        "sha256": "5181cd5d5f76a4ea05eb15c44edaf6719d381db2b6b0aaf86fc148828d73d42f",
        "source": "kam193",
        "versions": [
          "0.1.0",
          "0.1.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (9af8bc10bc4f751ad03dbe8257d2d8c49941accbf8b8fe6149d17a457fc56811)\nThe package appears to be a PoC of overwriting \"requests\" package files. The new \"requests/__init__.py\" takes over common requests features and uses the implementation that a) logs every request to a file (but no external exfiltration, this may also be expected in some situations); b) after every 5 requests, opens the calculator app. The second shows clearly that the intention is to present a security risk, not create a real package.\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: 2025-08-netmanagement\n\n\nReasons (based on the campaign):\n\n\n - action-hidden-in-lib-usage\n\n\n - other\n",
  "id": "MAL-2025-191802",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-09-07T16:49:12Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/netmanagement"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in netmanagement (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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…