{"id":"MAL-2024-11627","summary":"Malicious code in luna-paysure (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d22eccc425ab8fc5afe244efb33dd6d500ea6bcdf0942a02dedb3daa9f17da51)\nImporting the module causes exfiltrating of IP and hostname.\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-10-luna\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n","modified":"2026-03-19T12:54:30.656671Z","published":"2024-10-14T09:08:35Z","database_specific":{"iocs":{"urls":["https://hooks.slack.com/services/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"]},"malicious-packages-origins":[{"import_time":"2024-12-09T14:38:45.367426771Z","source":"reversing-labs","modified_time":"2024-12-09T06:50:33Z","sha256":"b2a58ca69707b93da5802484ae30cfca081869a0ffd5fe44c63239d4bf7979d9","versions":["0.7.5"],"id":"RLMA-2024-11081"},{"source":"kam193","sha256":"256e14fe68cfcbdf0319cc71a4f3085d94575497bbad7164062fa9c447091ea1","modified_time":"2024-10-14T09:08:35Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T22:30:56.181150932Z","id":"pypi/2024-10-luna/luna-paysure"},{"source":"kam193","sha256":"d22eccc425ab8fc5afe244efb33dd6d500ea6bcdf0942a02dedb3daa9f17da51","modified_time":"2024-10-14T09:08:35Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"import_time":"2025-12-02T23:07:19.363017546Z","id":"pypi/2024-10-luna/luna-paysure"},{"import_time":"2025-12-10T21:38:58.488075883Z","source":"kam193","modified_time":"2024-10-14T09:08:35Z","sha256":"e830e6a7c4b9a388ff1cd5c405274755370a46fde5139463a640e6fba87ce53b","versions":["0.7.2","0.7.3","0.7.1","0.7.4","0.7.5"],"id":"pypi/2024-10-luna/luna-paysure"},{"import_time":"2025-12-30T22:39:04.309017928Z","source":"kam193","modified_time":"2024-10-14T09:08:35Z","sha256":"72613f2302d16b7c99658c6b16141b0677d75f11db56b4b81f61290daffb68d6","versions":["0.7.1","0.7.2","0.7.3","0.7.4","0.7.5"],"id":"pypi/2024-10-luna/luna-paysure"},{"source":"reversing-labs","modified_time":"2026-03-18T12:15:43Z","sha256":"153eff3fba56fe25b7a38871f47b20d458ab80f6d5dc25fdc69947678557d50b","import_time":"2026-03-19T12:20:00.503013319Z","id":"RLUA-2026-00483"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/luna-paysure"}],"affected":[{"package":{"name":"luna-paysure","ecosystem":"PyPI","purl":"pkg:pypi/luna-paysure"},"versions":["0.7.5","0.7.2","0.7.3","0.7.1","0.7.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/luna-paysure/MAL-2024-11627.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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}