MAL-2024-12311

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/netsec-monitor/MAL-2024-12311.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12311
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:42:56.099157Z
Summary
Malicious code in netsec-monitor (PyPI)
Details

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

Source: kam193 (d53ca1631ad5169910977a710485caa2e85f057cba20a5d29bdcaeccda0cf4f9)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "dee950cea93710ccdc2719a614b647f7af3e174e8f6a531c74bb50e30f3eb3f8",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "modified_time": "2024-07-26T16:53:30Z",
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/netsec-monitor",
            "import_time": "2025-12-02T22:30:56.237502823Z"
        },
        {
            "sha256": "d53ca1631ad5169910977a710485caa2e85f057cba20a5d29bdcaeccda0cf4f9",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "modified_time": "2024-07-26T16:53:30Z",
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/netsec-monitor",
            "import_time": "2025-12-02T23:07:19.425137484Z"
        },
        {
            "versions": [
                "0.1.5"
            ],
            "sha256": "879334350e72d99e1be96325b332e28a47b6f5092d27520866fbf4bd4f5ad583",
            "modified_time": "2024-07-26T16:53:30Z",
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/netsec-monitor",
            "import_time": "2025-12-10T21:38:58.54206753Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / netsec-monitor

Package

Affected ranges

Affected versions

0.*
0.1.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/netsec-monitor/MAL-2024-12311.json"