{"id":"MAL-2025-191923","summary":"Malicious code in w3shi-h1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (47a1a62947736a51ca9d7d239d8533828679c6e1597205b6316ee4a9af95a41a)\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:43:53.237303Z","published":"2025-08-08T15:41:33Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"ac8fd12270b88344cfc560684070ef459e5fc4c59f4b99f16f26f038fa87e9d3","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/w3shi-h1","import_time":"2025-12-02T22:30:56.494401845Z","modified_time":"2025-08-08T15:41:33.099756Z"},{"modified_time":"2025-08-08T15:41:33.099756Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"47a1a62947736a51ca9d7d239d8533828679c6e1597205b6316ee4a9af95a41a","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/w3shi-h1","import_time":"2025-12-02T23:07:19.677331366Z"},{"sha256":"12acda000fbe33bd2ccbcc446947a02d7c21a501e259fd1c04491b68d483f5cb","source":"kam193","versions":["0.0.1","0.0.2","0.0.3"],"id":"pypi/GENERIC-standard-pypi-install-pentest/w3shi-h1","import_time":"2025-12-10T21:38:58.771876311Z","modified_time":"2025-08-08T15:41:33.099756Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/w3shi-h1"}],"affected":[{"package":{"name":"w3shi-h1","ecosystem":"PyPI","purl":"pkg:pypi/w3shi-h1"},"versions":["0.0.1","0.0.2","0.0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/w3shi-h1/MAL-2025-191923.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":"REPORTER"}]}