{"id":"MAL-2024-12247","summary":"Malicious code in comfyui-node-pkg (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d14c72a2c0a980d7106ed7e451501074521e6282c64d87f689b4b758f877d2ea)\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":"2025-12-12T20:34:26.411003Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"a1936dd190f170393b6664e76f1607f18ba7e41113e30826e49e29306476f7e9","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/comfyui-node-pkg","import_time":"2025-12-02T22:30:55.953515635Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"d14c72a2c0a980d7106ed7e451501074521e6282c64d87f689b4b758f877d2ea","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/comfyui-node-pkg","import_time":"2025-12-02T23:07:19.143473919Z","modified_time":"2024-07-26T16:53:30Z"},{"sha256":"be58f746b0b52cd4cc39e2502600808a43f166a52e8873df57a8039b4ca41b40","source":"kam193","versions":["0.1","0.2","0.3"],"id":"pypi/GENERIC-standard-pypi-install-pentest/comfyui-node-pkg","import_time":"2025-12-10T21:38:58.282021771Z","modified_time":"2024-07-26T16:53:30Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/comfyui-node-pkg"}],"affected":[{"package":{"name":"comfyui-node-pkg","ecosystem":"PyPI","purl":"pkg:pypi/comfyui-node-pkg"},"versions":["0.1","0.2","0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/comfyui-node-pkg/MAL-2024-12247.json"}}],"schema_version":"1.7.3","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"}]}