MAL-2025-191879

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

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

Source: kam193 (288961ef642901bbbd1ecf1fee45702985e9691d3f2fdc95f5990a197df2782b)

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
{
    "malicious-packages-origins": [
        {
            "sha256": "1fedd64d9650a1fb76e6b6e504ee96e4dd2885025813fecf77888d33abc15c72",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "modified_time": "2025-06-07T16:33:11Z",
            "source": "kam193",
            "id": "pypi/2025-06-stubsout/stubsout",
            "import_time": "2025-12-02T22:30:55.613370188Z"
        },
        {
            "sha256": "288961ef642901bbbd1ecf1fee45702985e9691d3f2fdc95f5990a197df2782b",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "modified_time": "2025-06-07T16:33:11Z",
            "source": "kam193",
            "id": "pypi/2025-06-stubsout/stubsout",
            "import_time": "2025-12-02T23:07:18.653489Z"
        },
        {
            "versions": [
                "0.0.1",
                "0.0.2"
            ],
            "sha256": "e9dcfff8a0bc41778581a79e2d0be0abe6271b868491b36eb1bc5affc28b395b",
            "modified_time": "2025-06-07T16:33:11Z",
            "source": "kam193",
            "id": "pypi/2025-06-stubsout/stubsout",
            "import_time": "2025-12-10T21:38:57.843466261Z"
        }
    ],
    "iocs": {
        "urls": [
            "https://api.diar.ai/pyvac"
        ],
        "domains": [
            "api.diar.ai"
        ]
    }
}
References
Credits

Affected packages

PyPI / stubsout

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/stubsout/MAL-2025-191879.json"