MAL-2024-12287Malicious code in hmac2 (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | hmac2 | 0.0.1 |
| PyPI | hmac2 | 0.0.2 |
| PyPI | hmac2 | 0.0.2rc0 |
{"modified":"2025-12-31T02:45:15Z","published":"2024-10-30T18:55:55Z","schema_version":"1.7.4","id":"MAL-2024-12287","summary":"Malicious code in hmac2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (055915f62eab8a5fe37b7501a3ed565a2aba267bdd69e82acaa13525bacf41a1)\nThe package contains obfuscated code that exfiltrate basic data, and then executes commands delivered from remote server\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-10-hmac2\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - dependency-confusion\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 - exfiltration-generic\n","affected":[{"package":{"ecosystem":"PyPI","name":"hmac2"},"versions":["0.0.1","0.0.2","0.0.2rc0"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hmac2"}],"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"iocs":{"ips":["38.54.57.42"]},"malicious-packages-origins":[{"source":"kam193","sha256":"aa701936e511c8660bdb35501d4992b32a9cf69b60b6a29d0469f6e3eaab6741","import_time":"2025-12-02T22:30:55.251253999Z","id":"pypi/2024-10-hmac2/hmac2","modified_time":"2024-10-30T18:55:55Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"055915f62eab8a5fe37b7501a3ed565a2aba267bdd69e82acaa13525bacf41a1","import_time":"2025-12-02T23:07:18.274371633Z","id":"pypi/2024-10-hmac2/hmac2","modified_time":"2024-10-30T18:55:55Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"kam193","sha256":"f4c8ca7684a9f624376e65f4fb0ddfeb5900aafb96a722e1e5a8d30853fef470","import_time":"2025-12-10T21:38:57.529141051Z","id":"pypi/2024-10-hmac2/hmac2","modified_time":"2024-10-30T18:55:55Z","versions":["0.0.1","0.0.2","0.0.2rc0"]},{"source":"kam193","sha256":"e085b192f68f8e7a2d3649619f8bcb85a26f4e95d269808570bc81d3523a0839","import_time":"2025-12-30T22:39:04.099348183Z","id":"pypi/2024-10-hmac2/hmac2","modified_time":"2024-10-30T18:55:55Z","versions":["0.0.1","0.0.2rc0","0.0.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0