MAL-2025-1971

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

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

Source: kam193 (b2b16bcb5b1deabfe7fb03e6a512343457033cfb57c0e70062d400d001b4a949)

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": [
        {
            "import_time": "2025-03-03T15:07:14.651071721Z",
            "source": "reversing-labs",
            "id": "RLMA-2025-01211",
            "sha256": "912f47a1b71487a796e28a0ae681cac7a1a75fa3a4aa21ad5a650b58f0f1d15d",
            "versions": [
                "0.0.8"
            ],
            "modified_time": "2025-03-03T13:44:49Z"
        },
        {
            "import_time": "2025-12-02T22:30:55.984661701Z",
            "source": "kam193",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "5a2fe581fd96fca9aeebabf98acee2c4757f2b0b373680c1396e8d47436056ec",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/deepseekai",
            "modified_time": "2024-07-26T16:53:30Z"
        },
        {
            "import_time": "2025-12-02T23:07:19.178657147Z",
            "source": "kam193",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "b2b16bcb5b1deabfe7fb03e6a512343457033cfb57c0e70062d400d001b4a949",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/deepseekai",
            "modified_time": "2024-07-26T16:53:30Z"
        },
        {
            "import_time": "2025-12-10T21:38:58.319350221Z",
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/deepseekai",
            "sha256": "05c43e705052a9b9393b9f1c56de1626a63616222a135c4fd47fa00b8ef34d91",
            "versions": [
                "0.0.8"
            ],
            "modified_time": "2024-07-26T16:53:30Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / deepseekai

Package

Affected ranges

Affected versions

0.*

0.0.8