{"id":"MAL-2024-12284","summary":"Malicious code in hello-world-installer-test (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (aef5897e3e41898c7d14d6acf00254f63adbd159b1a9cc9adba26603edee668c)\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-31T02:54:04.351681Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:56.092706674Z","id":"pypi/GENERIC-standard-pypi-install-pentest/hello-world-installer-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-07-26T16:53:30Z","sha256":"3ccef0e529a57d2c1635670bf02844ce26bb13912d89e01f036dff47f4b77e77","source":"kam193"},{"import_time":"2025-12-02T23:07:19.281218461Z","id":"pypi/GENERIC-standard-pypi-install-pentest/hello-world-installer-test","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2024-07-26T16:53:30Z","sha256":"aef5897e3e41898c7d14d6acf00254f63adbd159b1a9cc9adba26603edee668c","source":"kam193"},{"import_time":"2025-12-10T21:38:58.41850251Z","versions":["0.1.1","0.1.0","0.1.2"],"id":"pypi/GENERIC-standard-pypi-install-pentest/hello-world-installer-test","modified_time":"2024-07-26T16:53:30Z","sha256":"c1ec7a48600bc9d5b6539bb6366894b7e06694633adba797bf973df8f2afa154","source":"kam193"},{"import_time":"2025-12-30T22:39:04.294892898Z","versions":["0.1.0","0.1.1","0.1.2"],"id":"pypi/GENERIC-standard-pypi-install-pentest/hello-world-installer-test","modified_time":"2024-07-26T16:53:30Z","sha256":"7711ec2cea82c401621225ecb4bbd45fcd97938bdbed742129a6d5e36265d799","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hello-world-installer-test"}],"affected":[{"package":{"name":"hello-world-installer-test","ecosystem":"PyPI","purl":"pkg:pypi/hello-world-installer-test"},"versions":["0.1.1","0.1.0","0.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hello-world-installer-test/MAL-2024-12284.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"}]}