{"id":"MAL-2024-11621","summary":"Malicious code in kersa (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d622fba4f0f9e74871fb87964bdc3818e244e0f9669a814ae71b923ff699e9be)\nDuring installation, a cryptominer is secretly installed and started.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-bondonioanderas-cryptominer\n\n\nReasons (based on the campaign):\n\n\n - cryptominer\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n","modified":"2026-03-19T12:54:22.770757Z","published":"2024-09-20T11:29:31Z","database_specific":{"iocs":{"urls":["https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.sh"]},"malicious-packages-origins":[{"import_time":"2024-12-09T14:38:45.023142031Z","modified_time":"2024-12-09T06:50:30Z","sha256":"0b5970fc83c3c8e74b53c5ffcdd007aeb7a6ac97727427953ee2cfa5eb88b168","source":"reversing-labs","versions":["0.1"],"id":"RLMA-2024-11075"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7a7c14c07febc40085b168373a08d740c1674bf5b99770055357df6441109b92","source":"kam193","id":"pypi/2024-09-bondonioanderas-cryptominer/kersa","import_time":"2025-12-02T22:30:55.297348426Z","modified_time":"2024-09-20T11:29:31Z"},{"id":"pypi/2024-09-bondonioanderas-cryptominer/kersa","import_time":"2025-12-02T23:07:18.32256726Z","modified_time":"2024-09-20T11:29:31Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"d622fba4f0f9e74871fb87964bdc3818e244e0f9669a814ae71b923ff699e9be","source":"kam193"},{"id":"pypi/2024-09-bondonioanderas-cryptominer/kersa","import_time":"2025-12-10T21:38:57.562170634Z","modified_time":"2024-09-20T11:29:31Z","sha256":"f0dcf6d4c57719a718129f72f9c8d54b2df1b13cc81ea4f67e05a5a4ead22582","source":"kam193","versions":["0.1"]},{"id":"RLUA-2026-00451","import_time":"2026-03-19T12:19:57.402046415Z","modified_time":"2026-03-18T12:15:22Z","sha256":"5dd240552ca44523d6bfdf92c65a715c144e7c1e90029f69cb46205e454f9f09","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/kersa"}],"affected":[{"package":{"name":"kersa","ecosystem":"PyPI","purl":"pkg:pypi/kersa"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/kersa/MAL-2024-11621.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":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}