Skip to content

MAL-2025-3440 Malicious code in codeoptimizer (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= 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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi codeoptimizer(PyPI) = 4.1.1; = 4.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi codeoptimizer(PyPI) = 4.1.1 No fix listed
pypi codeoptimizer(PyPI) = 4.2.1 No fix listed

References