MAL-2025-191935

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/win32str/MAL-2025-191935.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191935
Published
2025-06-10T20:26:30Z
Modified
2025-12-12T20:41:23.031619Z
Summary
Malicious code in win32str (PyPI)
Details

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

Source: kam193 (afe91149c788d349c6c0d31487fb417ce5fabc059b447dc4289b1e74f2cd161c)

Research packages targeting typosquatting and dependency confusions, without really harmful behaviour - just calling home through DNS resolver.

Related to 2025-06-stubsout (using the same remote domain), but without dangerous activity


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-06-diar-ai-basic

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.

  • typosquatting

Database specific
{
    "iocs": {
        "domains": [
            "diar.ai"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "pypi/2025-06-diar-ai-basic/win32str",
            "modified_time": "2025-06-10T20:26:30Z",
            "import_time": "2025-12-02T22:30:56.511504548Z",
            "sha256": "e9b5d89e0cc5767028cd5d6f066235807536f7703fc98e6a170bf9a3b8ccd469",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193"
        },
        {
            "id": "pypi/2025-06-diar-ai-basic/win32str",
            "modified_time": "2025-06-10T20:26:30Z",
            "import_time": "2025-12-02T23:07:19.695296309Z",
            "sha256": "afe91149c788d349c6c0d31487fb417ce5fabc059b447dc4289b1e74f2cd161c",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193"
        },
        {
            "versions": [
                "0.0.1",
                "0.0.3"
            ],
            "id": "pypi/2025-06-diar-ai-basic/win32str",
            "modified_time": "2025-06-10T20:26:30Z",
            "import_time": "2025-12-10T21:38:58.783121539Z",
            "sha256": "8c4720f3198db33b3696ad46cbc055de45a0500b0dfd1d2a8171b1781650b0c9",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / win32str

Package

Affected ranges

Affected versions

0.*
0.0.1
0.0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/win32str/MAL-2025-191935.json"