{"id":"MAL-2024-12213","summary":"Malicious code in bananaholder (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (75eb68c36b36e5abf8c54609a124590a23d388ef04d2825da3bd83f8e90c7f46)\nA dependency is declared as installable from a webhook service, demonstrating a possibility to inject malicious dependency.\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: 2024-08-install-from-webhook\n\n\nReasons (based on the campaign):\n\n\n - The malicious code is intentionally included in a dependency of the package\n","modified":"2025-12-12T20:36:17.159642Z","published":"2024-08-22T22:38:04Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/2024-08-install-from-webhook/bananaholder","import_time":"2025-12-02T22:30:55.875334124Z","modified_time":"2024-08-22T22:38:04Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"15ac0475854dce25a3f13309a2c6aed420cba9e2e2b1f600e325801236d4a20d","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"75eb68c36b36e5abf8c54609a124590a23d388ef04d2825da3bd83f8e90c7f46","source":"kam193","id":"pypi/2024-08-install-from-webhook/bananaholder","import_time":"2025-12-02T23:07:19.058734542Z","modified_time":"2024-08-22T22:38:04Z"},{"id":"pypi/2024-08-install-from-webhook/bananaholder","import_time":"2025-12-10T21:38:58.198320025Z","modified_time":"2024-08-22T22:38:04Z","sha256":"0ecb4648bc0f306ce53ca0f7a7068af4b8095e564f949dc1f66cf856d9867869","source":"kam193","versions":["0.0.110"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/bananaholder"}],"affected":[{"package":{"name":"bananaholder","ecosystem":"PyPI","purl":"pkg:pypi/bananaholder"},"versions":["0.0.110"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bananaholder/MAL-2024-12213.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"}]}