{"id":"MAL-2024-12286","summary":"Malicious code in hhonestjson (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7480d804fb7855d31478b425829528af92f02bdbd6f6ffdab2e500b1cc8b3bc5)\nPackages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.\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-simple-tests\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-03-17T23:01:37.412045Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"sha256":"f64a605ab4bc4b122c9046f8617a0a13b0613a707b6c100328512c9a9a72d034","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-08-23T22:55:41Z","id":"pypi/GENERIC-simple-tests/hhonestjson","import_time":"2025-12-02T22:30:56.097310916Z"},{"sha256":"7480d804fb7855d31478b425829528af92f02bdbd6f6ffdab2e500b1cc8b3bc5","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2024-08-23T22:55:41Z","id":"pypi/GENERIC-simple-tests/hhonestjson","import_time":"2025-12-02T23:07:19.284915094Z"},{"sha256":"86c7d07b23b3cb99afc8e574dbb5d35b487e94457c97c465a5b9e7c0ffea9852","versions":["0.1.3"],"source":"kam193","modified_time":"2024-08-23T22:55:41Z","id":"pypi/GENERIC-simple-tests/hhonestjson","import_time":"2025-12-10T21:38:58.422481967Z"},{"sha256":"af37655a16eea5184c9a4920fb23614bc25fda04fbafd89a176ca6327bd36970","versions":["0.1.3"],"source":"kam193","modified_time":"2024-08-23T22:55:41Z","id":"pypi/GENERIC-simple-tests/hhonestjson","import_time":"2026-03-17T22:46:38.482595134Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hhonestjson"}],"affected":[{"package":{"name":"hhonestjson","ecosystem":"PyPI","purl":"pkg:pypi/hhonestjson"},"versions":["0.1.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hhonestjson/MAL-2024-12286.json"}}],"schema_version":"1.7.5","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"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}