{"id":"MAL-2025-191751","summary":"Malicious code in hello-from-shiphero (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (00eb05ac59ee167606a053bd1ac9f705de178f9a576e6fe78bae415d599157b1)\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:39:57.518603Z","published":"2025-07-27T19:49:54Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2025-07-27T19:49:54.361621Z","import_time":"2025-12-02T22:30:56.090523058Z","id":"pypi/GENERIC-standard-pypi-install-pentest/hello-from-shiphero","source":"kam193","sha256":"97e3e0be25a1f4e88572c3996b8c792636d5cf718378ee92d14dd7173c927463"},{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"modified_time":"2025-07-27T19:49:54.361621Z","import_time":"2025-12-02T23:07:19.279345241Z","id":"pypi/GENERIC-standard-pypi-install-pentest/hello-from-shiphero","source":"kam193","sha256":"00eb05ac59ee167606a053bd1ac9f705de178f9a576e6fe78bae415d599157b1"},{"sha256":"857dec9923a93050844547faa87efac5131eed53fb01d7252e4b25f881c958a7","modified_time":"2025-07-27T19:49:54.361621Z","import_time":"2025-12-10T21:38:58.416269839Z","id":"pypi/GENERIC-standard-pypi-install-pentest/hello-from-shiphero","versions":["0.0.1"],"source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hello-from-shiphero"}],"affected":[{"package":{"name":"hello-from-shiphero","ecosystem":"PyPI","purl":"pkg:pypi/hello-from-shiphero"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hello-from-shiphero/MAL-2025-191751.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"}]}