{"id":"MAL-2024-12288","summary":"Malicious code in honestjson (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e5703b401839f166c2d73a6e56aa7e747cf19b4035bba3f4c5aee116a41a344f)\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":"2025-12-12T20:40:02.652971Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"sha256":"0d03da598e8b29bb0a20cb9142c153d5eb8519e81f73bba9ff6a0ace1eb8037b","source":"kam193","id":"pypi/GENERIC-simple-tests/honestjson","import_time":"2025-12-02T22:30:56.1002453Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"import_time":"2025-12-02T23:07:19.288103413Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"e5703b401839f166c2d73a6e56aa7e747cf19b4035bba3f4c5aee116a41a344f","source":"kam193","id":"pypi/GENERIC-simple-tests/honestjson"},{"id":"pypi/GENERIC-simple-tests/honestjson","import_time":"2025-12-10T21:38:58.426507079Z","modified_time":"2024-08-23T22:55:41Z","sha256":"b9a8cc3b1e77f2756deb2481bb3e82d341320d126283dd2c1bab621f3cbefabc","source":"kam193","versions":["0.1.3"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/honestjson"}],"affected":[{"package":{"name":"honestjson","ecosystem":"PyPI","purl":"pkg:pypi/honestjson"},"versions":["0.1.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/honestjson/MAL-2024-12288.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"}]}