{"id":"MAL-2025-2979","summary":"Malicious code in nifty-cli (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4b2e94e5fff47d4815f87f6dc9ba29b20022d6022c37e0b32ba9e3df81111eb5)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-03-19T12:55:18.636853Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"versions":["100.0.0"],"sha256":"2efc36cd6ee40277b3dedff42380c7695224f298acfeee807c80e80d861a6776","import_time":"2025-03-31T07:07:06.036098664Z","modified_time":"2025-03-28T13:05:54Z","id":"RLMA-2025-01977","source":"reversing-labs"},{"sha256":"3c522808c412c85c29e9a591192df50905861d1deb76702170e54ca875c2472f","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T22:30:56.250096589Z","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/nifty-cli","source":"kam193"},{"sha256":"4b2e94e5fff47d4815f87f6dc9ba29b20022d6022c37e0b32ba9e3df81111eb5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T23:07:19.434882818Z","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/nifty-cli","source":"kam193"},{"versions":["100.0.0"],"sha256":"f528235e07b142d0533e26c1a42dab602c22d474f342fa322ba67c3b8b744de9","import_time":"2025-12-10T21:38:58.551948918Z","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/nifty-cli","source":"kam193"},{"sha256":"8e1240a9a44391e6d4d9fb9613e2cdf049fc65a4a0b58a169847111ccf7e8be3","import_time":"2026-03-19T12:20:08.612957907Z","modified_time":"2026-03-18T12:16:30Z","id":"RLUA-2026-00558","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/nifty-cli"}],"affected":[{"package":{"name":"nifty-cli","ecosystem":"PyPI","purl":"pkg:pypi/nifty-cli"},"versions":["100.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/nifty-cli/MAL-2025-2979.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}