pypi · Malicious package advisory
Malwaresmtblib
MAL-2025-192579
Malicious code in smtblib (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (15a295f1d98fcbbdd6a077bc3a849966ca3f73919c0d47e58948ff382481e5b6) 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.8
- 0.1.9
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.