MAL-2025-191932

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/win32con/MAL-2025-191932.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191932
Published
2025-06-07T16:33:11Z
Modified
2025-12-12T20:41:21.564700Z
Summary
Malicious code in win32con (PyPI)
Details

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

Source: kam193 (b4e7d7a177e3531b4a2566e3c5d1796c1bf18c922bda8943d13e92ef33044141)

While described as telemetry, importing the package attempts to send out some basic info as well as quite sensitive environmental variables.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-06-stubsout

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.

  • exfiltration-env-variables

Database specific
{
    "iocs": {
        "domains": [
            "api.diar.ai"
        ],
        "urls": [
            "https://api.diar.ai/pyvac"
        ]
    },
    "malicious-packages-origins": [
        {
            "sha256": "a8204b958d08e6a7d5ea23e668e556446f4a774467fac33d71683c2775247db8",
            "id": "pypi/2025-06-stubsout/win32con",
            "modified_time": "2025-06-07T16:33:11Z",
            "import_time": "2025-12-02T22:30:55.773906249Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "source": "kam193"
        },
        {
            "sha256": "b4e7d7a177e3531b4a2566e3c5d1796c1bf18c922bda8943d13e92ef33044141",
            "id": "pypi/2025-06-stubsout/win32con",
            "modified_time": "2025-06-07T16:33:11Z",
            "import_time": "2025-12-02T23:07:18.817721425Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "source": "kam193"
        },
        {
            "sha256": "688e9e96675d223403f45439950adecdd409cf8fa2e9d658735a1b1ffc5a2f4e",
            "id": "pypi/2025-06-stubsout/win32con",
            "versions": [
                "0.0.1",
                "0.0.2"
            ],
            "import_time": "2025-12-10T21:38:57.992191801Z",
            "modified_time": "2025-06-07T16:33:11Z",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / win32con

Package

Affected ranges

Affected versions

0.*
0.0.1
0.0.2

Database specific

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