MAL-2025-6549 Malicious code in memtools (PyPI)
- Package
- memtools
- Registry
- PyPI
What is MAL-2025-6549?
MAL-2025-6549 is a malicious package in memtools, published on 16 Jul 2025.
Official description
Installing the package triggers a code that looks like downloading a picture, but in fact downloads and starts an executable with malware. Note that file supplied from the URL differs depending on the presence of the special header
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-07-memlib
Reasons (based on the campaign):
The package overrides the install command in setup.py to execute malicious code during installation.
Downloads and executes a remote executable.
malware
What should I do about MAL-2025-6549?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.