MAL-2025-49310

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/faker-python/MAL-2025-49310.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-49310
Published
2025-11-02T23:05:33Z
Modified
2025-12-31T02:55:22.002667Z
Summary
Malicious code in faker-python (PyPI)
Details

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

Source: kam193 (2d88bf5533b182da36c514791c3e6841d83565d4d7f7065a09cdebddc2509453)

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.

Source: ossf-package-analysis (de8fcd89ceac4710fb35902553838b859dfcfcee125fb2abea28362019be0ce9)

The OpenSSF Package Analysis project identified 'faker-python' @ 999.0.0 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "source": "ossf-package-analysis",
            "modified_time": "2025-11-02T23:05:33Z",
            "sha256": "de8fcd89ceac4710fb35902553838b859dfcfcee125fb2abea28362019be0ce9",
            "versions": [
                "999.0.0"
            ],
            "import_time": "2025-11-02T23:05:46.421087903Z"
        },
        {
            "source": "reversing-labs",
            "id": "RLMA-2025-05594",
            "modified_time": "2025-12-01T12:54:16Z",
            "sha256": "84da54c8c6721b70f369fa120a28d33900181267eda0ecc6e7e07528045d0ccd",
            "versions": [
                "999.0.0",
                "999.0.1"
            ],
            "import_time": "2025-12-02T09:09:36.555227761Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/faker-python",
            "modified_time": "2025-11-03T06:20:54.817187Z",
            "sha256": "8ca82c10022b07df9cb6d95664509def989bb9a9de2ba3aae946f703a4142131",
            "versions": [
                "999.0.1",
                "999.0.0",
                "0.0.1"
            ],
            "import_time": "2025-12-02T22:30:56.026158683Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/faker-python",
            "modified_time": "2025-11-03T06:20:54.817187Z",
            "sha256": "2d88bf5533b182da36c514791c3e6841d83565d4d7f7065a09cdebddc2509453",
            "versions": [
                "999.0.1",
                "999.0.0",
                "0.0.1"
            ],
            "import_time": "2025-12-02T23:07:19.224725746Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/faker-python",
            "modified_time": "2025-11-03T06:20:54.817187Z",
            "sha256": "72b76e29dc7998e9c9ad7c660adbabc145f846c6a49c1a4f78e86a9e877a6a96",
            "versions": [
                "0.0.1",
                "999.0.0",
                "999.0.1"
            ],
            "import_time": "2025-12-30T22:39:04.287893896Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / faker-python

Package

Affected ranges

Affected versions

0.*
0.0.1
999.*
999.0.0
999.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/faker-python/MAL-2025-49310.json"