MAL-2025-2992

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-dateutil-malicious/MAL-2025-2992.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-2992
Published
2024-07-26T16:53:30Z
Modified
2026-03-19T12:56:06.424267Z
Summary
Malicious code in python-dateutil-malicious (PyPI)
Details

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

Source: kam193 (e746200736f98b51154e3cfbafa826ee92b8badb2005dac0e8fb4765cc3cbc57)

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": [
        {
            "source": "reversing-labs",
            "id": "RLMA-2025-01991",
            "modified_time": "2025-03-28T13:06:07Z",
            "sha256": "5ef34d8271e85de3f59ecc76a218287ba3172334c3e0dcbb5401854e9af9155b",
            "versions": [
                "2.5.4"
            ],
            "import_time": "2025-03-31T07:07:06.455601854Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/python-dateutil-malicious",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "1b5dd07344bc2beb16dcbefe636c3e52675ab365aa56abc386982ae4087ac5dc",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.33794616Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/python-dateutil-malicious",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "e746200736f98b51154e3cfbafa826ee92b8badb2005dac0e8fb4765cc3cbc57",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.52821363Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/python-dateutil-malicious",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "7f8dd5658c27181f675637394c5515c28f9e89d7faac160a6a05dbce2eb18edc",
            "versions": [
                "2.5.4"
            ],
            "import_time": "2025-12-10T21:38:58.635432665Z"
        },
        {
            "source": "reversing-labs",
            "id": "RLUA-2026-00658",
            "modified_time": "2026-03-18T12:17:44Z",
            "sha256": "be45cc983b1407025eac95ddb9bebfa9a2a2fb3faa41fd9ca2351ec7c52af1c2",
            "import_time": "2026-03-19T12:20:17.906943244Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / python-dateutil-malicious

Package

Name
python-dateutil-malicious
View open source insights on deps.dev
Purl
pkg:pypi/python-dateutil-malicious

Affected ranges

Affected versions

2.*
2.5.4

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-dateutil-malicious/MAL-2025-2992.json"