{"id":"MAL-2025-191802","summary":"Malicious code in netmanagement (PyPI)","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 & 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","modified":"2025-12-31T02:55:54.140398Z","published":"2025-09-07T16:49:12Z","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"]},{"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.0","0.1.1"],"id":"pypi/2025-08-netmanagement/netmanagement","import_time":"2025-12-30T22:39:04.319216526Z","modified_time":"2025-09-07T16:49:12.955911Z","sha256":"5181cd5d5f76a4ea05eb15c44edaf6719d381db2b6b0aaf86fc148828d73d42f"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/netmanagement"}],"affected":[{"package":{"name":"netmanagement","ecosystem":"PyPI","purl":"pkg:pypi/netmanagement"},"versions":["0.1.1","0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/netmanagement/MAL-2025-191802.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}