MAL-2025-2979

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/nifty-cli/MAL-2025-2979.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-2979
Published
2024-07-26T16:53:30Z
Modified
2026-03-19T12:55:18.636853Z
Summary
Malicious code in nifty-cli (PyPI)
Details

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

Source: kam193 (4b2e94e5fff47d4815f87f6dc9ba29b20022d6022c37e0b32ba9e3df81111eb5)

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": "2efc36cd6ee40277b3dedff42380c7695224f298acfeee807c80e80d861a6776",
            "id": "RLMA-2025-01977",
            "source": "reversing-labs",
            "import_time": "2025-03-31T07:07:06.036098664Z",
            "modified_time": "2025-03-28T13:05:54Z",
            "versions": [
                "100.0.0"
            ]
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/nifty-cli",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:56.250096589Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "3c522808c412c85c29e9a591192df50905861d1deb76702170e54ca875c2472f"
        },
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/nifty-cli",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:19.434882818Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "4b2e94e5fff47d4815f87f6dc9ba29b20022d6022c37e0b32ba9e3df81111eb5"
        },
        {
            "sha256": "f528235e07b142d0533e26c1a42dab602c22d474f342fa322ba67c3b8b744de9",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/nifty-cli",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.551948918Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "versions": [
                "100.0.0"
            ]
        },
        {
            "id": "RLUA-2026-00558",
            "source": "reversing-labs",
            "import_time": "2026-03-19T12:20:08.612957907Z",
            "modified_time": "2026-03-18T12:16:30Z",
            "sha256": "8e1240a9a44391e6d4d9fb9613e2cdf049fc65a4a0b58a169847111ccf7e8be3"
        }
    ]
}
References
Credits

Affected packages

PyPI / nifty-cli

Package

Affected ranges

Affected versions

100.*
100.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/nifty-cli/MAL-2025-2979.json"