{"id":"MAL-2024-11599","summary":"Malicious code in gen-user-random-agent (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4e261c26a73604aac348f2df96e5b12b0817010a9a1bbc48ddfbe309915c697b)\nInside the library there is a part running code hidden in the attached image, which then exfiltrate user-provided data, downloads and install next stage code, exfiltrate TXT files and finally installs infostealers - Lumma and a custom one. Arround L110\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-10-fake-usreagent\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - files-exfiltration\n\n\n - clipboard-stealing\n\n\n - obfuscation\n\n\n - clones-real-package\n\n\n - action-hidden-in-lib-usage\n","modified":"2026-03-19T12:53:27.577775Z","published":"2024-10-07T22:16:18Z","database_specific":{"iocs":{"urls":["https://ethscanold.com/ex_ewq1/2e.exe","https://ethscanold.com/ex_ewq1/cdr2.exe","https://ethscanold.com/r.php"],"domains":["ethscanold.com","crypto-api.net"]},"malicious-packages-origins":[{"id":"RLMA-2024-11051","modified_time":"2024-12-09T06:50:19Z","versions":["1.7.0"],"sha256":"ed0bc46ab0e50e1bb59ff0c815a258ce32d0b969e5022dc489cbce00c513dff1","import_time":"2024-12-09T14:38:44.000404908Z","source":"reversing-labs"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2024-10-fake-usreagent/gen-user-random-agent","modified_time":"2024-10-07T22:16:18Z","sha256":"2022f46fd88fbd1cd385e08a2e94ff66d528e7ace75f92738be4b6f2a43a8dbf","import_time":"2025-12-02T22:30:55.213814313Z","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2024-10-fake-usreagent/gen-user-random-agent","modified_time":"2024-10-07T22:16:18Z","sha256":"4e261c26a73604aac348f2df96e5b12b0817010a9a1bbc48ddfbe309915c697b","import_time":"2025-12-02T23:07:18.238334535Z","source":"kam193"},{"id":"pypi/2024-10-fake-usreagent/gen-user-random-agent","modified_time":"2024-10-07T22:16:18Z","versions":["1.7.0"],"sha256":"a2fefb9cc21d0a4808b31862632be06c1a6851b3213eaa663dc064ca31660fa9","import_time":"2025-12-10T21:38:57.503661472Z","source":"kam193"},{"id":"RLUA-2026-00348","modified_time":"2026-03-18T12:14:11Z","sha256":"31e21937ef89a0e45e36d1d0a3d039961ecce202e00b13718abc8cd1c4724737","import_time":"2026-03-19T12:19:47.631380623Z","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gen-user-random-agent"}],"affected":[{"package":{"name":"gen-user-random-agent","ecosystem":"PyPI","purl":"pkg:pypi/gen-user-random-agent"},"versions":["1.7.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gen-user-random-agent/MAL-2024-11599.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"}]}