MAL-2025-6547
Dashboard / Malicious Package / MAL-2025-6547
MAL-2025-6547
Summary: Malicious code in memlib (PyPI)
Details: Source: kam193 (a0d0e362d3ea9b768078a9e47f80c667acef799c7099f8044e74fd1738fdedb4) 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
References: https://www.virustotal.com/gui/file/0fc1e062c521184f7e0c9f23dfdeb5431414e35cb55886e87c5ff5ec92ff4603, https://bad-packages.kam193.eu/pypi/package/memlib
Affected packages
Package
Name: memlib
Purl: pkg:pypi/memlib
Affected ranges
Type: N/A
Events:
