MAL-2025-6547 Malicious code in memlib (PyPI)
- Package
- memlib
- Registry
- PyPI
What is MAL-2025-6547?
MAL-2025-6547 is a malicious package in memlib, 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-6547?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.