pypi · Malicious package advisory
Malwarecodeoptimizer
MAL-2025-3440
Malicious code in codeoptimizer (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (7ae236bbeace8d7b056d4827059bc1f4b6314e57e75827ce5a980ac9dfb991c2) On importing the module, there is an automated start of a Telegram bot capable of exfiltrating passwords from browsers, executing arbitrary commands and so on. While the description states it's a monitoring tool, the automated start, capabilities targeting secret values suggest malicious intentions. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-03-yolov8mini Reasons (based on the campaign): - infostealer - exfiltration-generic - dependency-confusion - exfiltration-browser-data - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.
Compromised versions (2)
- 4.1.1
- 4.2.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.