MAL-2025-191845

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python3-shodan/MAL-2025-191845.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191845
Published
2025-05-10T17:59:53Z
Modified
2025-12-12T20:40:11.387013Z
Summary
Malicious code in python3-shodan (PyPI)
Details

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

Source: kam193 (b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca)

Packages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).


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

Campaign: 2025-05-sl4x01

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

  • impersonation

Database specific
{
    "iocs": {
        "domains": [
            "sl4x0.xyz"
        ]
    },
    "malicious-packages-origins": [
        {
            "sha256": "422f6521d87f0b265b70862fad840f74d262b48235a70e6db133fa55fa783cfa",
            "import_time": "2025-12-02T22:30:55.496100188Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-05-sl4x01/python3-shodan",
            "source": "kam193"
        },
        {
            "sha256": "b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca",
            "import_time": "2025-12-02T23:07:18.520971405Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-05-sl4x01/python3-shodan",
            "source": "kam193"
        },
        {
            "sha256": "cffb4935106ce0254db0bb29a553a83006e1bfd48324219984b910041877b0b0",
            "import_time": "2025-12-10T21:38:57.739347937Z",
            "modified_time": "2025-05-10T17:59:53Z",
            "versions": [
                "0.0.1"
            ],
            "id": "pypi/2025-05-sl4x01/python3-shodan",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / python3-shodan

Package

Affected ranges

Affected versions

0.*
0.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python3-shodan/MAL-2025-191845.json"