{"id":"MAL-2025-191809","summary":"Malicious code in packed-w3shi (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3d670904891ef361ef283e3f218f21b6e3758847277e8bccb0dbecd08b08971a)\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:41:07.992930Z","published":"2025-08-08T15:40:24Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2025-08-08T15:40:24.636126Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c629b1a04256d887f85b001d96b65a65e2ca9612571d8e84d64943acb973f379","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/packed-w3shi","import_time":"2025-12-02T22:30:56.287440635Z"},{"import_time":"2025-12-02T23:07:19.474508135Z","modified_time":"2025-08-08T15:40:24.636126Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"3d670904891ef361ef283e3f218f21b6e3758847277e8bccb0dbecd08b08971a","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/packed-w3shi"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/packed-w3shi","import_time":"2025-12-10T21:38:58.590998508Z","modified_time":"2025-08-08T15:40:24.636126Z","sha256":"b4fe77e05ec46055f1787f0984df814ac6b45ff83cd3eada0a173bd58fdd5d63","source":"kam193","versions":["0.0.1"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/packed-w3shi"}],"affected":[{"package":{"name":"packed-w3shi","ecosystem":"PyPI","purl":"pkg:pypi/packed-w3shi"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/packed-w3shi/MAL-2025-191809.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"}]}