MAL-2025-1004

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/wasi8787878/MAL-2025-1004.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-1004
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:43:58.288764Z
Summary
Malicious code in wasi8787878 (PyPI)
Details

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

Source: kam193 (e7e8dad2dca9000e3bd94355a78838c2c9448aac766722cfd54aba1fc5c2cd43)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


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: GENERIC-standard-pypi-install-pentest

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.

  • The package overrides the install command in setup.py to execute malicious code during installation.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "c58ce35e19ef5d66bc0fb8a8052ae0fd4eed527a7304443f6d67eb440fa80f4d",
            "import_time": "2025-02-03T18:38:10.351098406Z",
            "source": "reversing-labs",
            "modified_time": "2025-02-03T17:08:03Z",
            "id": "RLMA-2025-00545",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "sha256": "48dcc2d758e3f7f7ddf5d76cb51ee4a4e734a54a4f64772b2a5968f461fcfa78",
            "import_time": "2025-12-02T22:30:56.498480748Z",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/wasi8787878",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "sha256": "e7e8dad2dca9000e3bd94355a78838c2c9448aac766722cfd54aba1fc5c2cd43",
            "import_time": "2025-12-02T23:07:19.68177416Z",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/wasi8787878",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ]
        },
        {
            "sha256": "449654d42e6a1f72d2df6a76d2f1a00de0466fd58e803106df52461c3a42c70a",
            "import_time": "2025-12-10T21:38:58.775915759Z",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/wasi8787878",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / wasi8787878

Package

Affected ranges

Affected versions

1.*

1.0.0