pypi · Malicious package advisory
Malwaresmtmlib
MAL-2025-192958
Malicious code in smtmlib (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (e871336d0effe99cb62efeda3a287186e75c1bd4ca5770efd81718db8ababe4e) Malicious 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. This campaign shares infrastructure and basic methods with previous 2025-11-uzip campaign. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-12-smtblib Reasons (based on the campaign): - Downloads and executes a remote malicious script. - infostealer - target:telegram - exfiltration-credentials - action-hidden-in-lib-usage - covering-tracks - clones-real-package - typosquatting
Compromised versions (2)
- 0.1.6
- 0.1.7
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.