pypi · Malicious package advisory
Malwarenetmanagement
GHSA-rm5q-wchh-pccc
Malicious code in netmanagement (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.1` ## 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 --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/netmanagement/MAL-2025-191802.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/netmanagement - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/netmanagement/MAL-2025-191802.json - https://github.com/advisories/GHSA-rm5q-wchh-pccc
Compromised versions (1)
- = 0.1.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.