{"id":"MAL-2024-11734","summary":"Malicious code in ua-agent-generator (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7294a5078d47d2797cf31931252b823374b648a48534bc14b59cd73195cfe2f1)\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:57:55.365555Z","published":"2024-10-07T22:16:18Z","database_specific":{"iocs":{"domains":["ethscanold.com","crypto-api.net"],"urls":["https://ethscanold.com/ex_ewq1/2e.exe","https://ethscanold.com/ex_ewq1/cdr2.exe","https://ethscanold.com/r.php"]},"malicious-packages-origins":[{"id":"RLMA-2024-11195","import_time":"2024-12-09T14:38:50.276539644Z","modified_time":"2024-12-09T06:51:23Z","sha256":"aa8eb79bf83d851d61ddf0181223230a370b901ce7b353ea66b5b7fc1e1a22ed","source":"reversing-labs","versions":["1.6.7"]},{"id":"pypi/2024-10-fake-usreagent/ua-agent-generator","import_time":"2025-12-02T22:30:55.687194636Z","modified_time":"2024-10-07T22:16:18Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7256b56875d9a80d003eb73d171560a4362de68d469140b90348a71bab2c5043","source":"kam193"},{"id":"pypi/2024-10-fake-usreagent/ua-agent-generator","import_time":"2025-12-02T23:07:18.733458112Z","modified_time":"2024-10-07T22:16:18Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7294a5078d47d2797cf31931252b823374b648a48534bc14b59cd73195cfe2f1","source":"kam193"},{"versions":["1.6.7"],"id":"pypi/2024-10-fake-usreagent/ua-agent-generator","import_time":"2025-12-10T21:38:57.905432756Z","modified_time":"2024-10-07T22:16:18Z","sha256":"0045f2e9d7b6eb691268a8fbc30ee1e28943fa29ab807f4770d91d1fbbf48c13","source":"kam193"},{"id":"RLUA-2026-00868","import_time":"2026-03-19T12:20:38.464689268Z","modified_time":"2026-03-18T12:19:57Z","sha256":"63da991e47099d056b7d2fa500b94e13529055e28855781aa408ab4206ef30fc","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/ua-agent-generator"}],"affected":[{"package":{"name":"ua-agent-generator","ecosystem":"PyPI","purl":"pkg:pypi/ua-agent-generator"},"versions":["1.6.7"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/ua-agent-generator/MAL-2024-11734.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"}]}