MAL-2025-191880

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

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

Source: kam193 (1d6fba8f0ef8a9e8c54dd8fd281d9202994fc306f4bb614f6cf3ace71fff6164)

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": "8b4ebcdac8a5c710bd10f1545c4fcd1481a4d88eb5431a3a8bae03efabd1212b",
            "source": "kam193",
            "modified_time": "2025-06-07T16:33:11Z",
            "id": "pypi/2025-06-stubsout/stubsoutagn",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:55.614107656Z"
        },
        {
            "sha256": "1d6fba8f0ef8a9e8c54dd8fd281d9202994fc306f4bb614f6cf3ace71fff6164",
            "source": "kam193",
            "modified_time": "2025-06-07T16:33:11Z",
            "id": "pypi/2025-06-stubsout/stubsoutagn",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:18.654302278Z"
        },
        {
            "sha256": "bd7d3019221dcb623b202c78854daa3faf21d00d08ef22da1f29921b5c8b3c08",
            "source": "kam193",
            "modified_time": "2025-06-07T16:33:11Z",
            "id": "pypi/2025-06-stubsout/stubsoutagn",
            "versions": [
                "0.0.1"
            ],
            "import_time": "2025-12-10T21:38:57.844280088Z"
        }
    ],
    "iocs": {
        "domains": [
            "api.diar.ai"
        ],
        "urls": [
            "https://api.diar.ai/pyvac"
        ]
    }
}
References
Credits

Affected packages

PyPI / stubsoutagn

Package

Affected ranges

Affected versions

0.*
0.0.1

Database specific

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