MAL-2025-5847 Malicious code in vtk-osmesa (PyPI)
- Package
- vtk-osmesa
- Registry
- PyPI
What is MAL-2025-5847?
MAL-2025-5847 is a malicious package in vtk-osmesa, published on 14 Jul 2025.
Official description
During the installation, sensitive information are exfiltrated (incl. env variables)
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-07-vtk-osmesa
Reasons (based on the campaign):
exfiltration-env-variables
The package overrides the install command in setup.py to execute malicious code during installation.
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
The OpenSSF Package Analysis project identified 'vtk-osmesa' @ 900.548.735 (pypi) as malicious.
It is considered malicious because:
The package communicates with a domain associated with malicious activity.
The package executes one or more commands associated with malicious behavior.
What should I do about MAL-2025-5847?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.