{"id":"MAL-2025-192958","summary":"Malicious code in smtmlib (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e871336d0effe99cb62efeda3a287186e75c1bd4ca5770efd81718db8ababe4e)\nMalicious copy of a standard library module that during class initialization downloads and executes remote code and after that attempts to cover its tracks by overwriting itself with non-malicious code. The remote code aims to collect and exfiltrate sensitive Telegram session files.\n\nThis campaign shares infrastructure and basic methods with previous 2025-11-uzip campaign.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-12-smtblib\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - infostealer\n\n\n - target:telegram\n\n\n - exfiltration-credentials\n\n\n - action-hidden-in-lib-usage\n\n\n - covering-tracks\n\n\n - clones-real-package\n\n\n - typosquatting\n","modified":"2026-02-26T10:07:06.455974Z","published":"2025-12-29T10:04:23Z","database_specific":{"iocs":{"ips":["87.120.107.132"],"urls":["http://87.120.107.132:3301/reactor","http://87.120.107.132:1488/drill","http://87.120.107.132:1488/drip","http://87.120.107.132:1488/key"]},"malicious-packages-origins":[{"import_time":"2025-12-29T11:07:13.547036865Z","modified_time":"2025-12-29T10:08:51.60566Z","sha256":"e871336d0effe99cb62efeda3a287186e75c1bd4ca5770efd81718db8ababe4e","source":"kam193","versions":["0.1.6","0.1.7"],"id":"pypi/2025-12-smtblib/smtmlib"},{"import_time":"2026-02-26T09:49:02.33629217Z","modified_time":"2025-12-29T10:08:51.60566Z","sha256":"559f20d21d779f510ddc066c1034bc709432b68ce948c92ffd4adc9a2a35bdb7","source":"kam193","versions":["0.1.6","0.1.7"],"id":"pypi/2025-12-smtblib/smtmlib"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/smtmlib"},{"type":"WEB","url":"www.getsafety.com/blog-posts/extrazip-malware-campaign"}],"affected":[{"package":{"name":"smtmlib","ecosystem":"PyPI","purl":"pkg:pypi/smtmlib"},"versions":["0.1.6","0.1.7"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/smtmlib/MAL-2025-192958.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}