pypi · Malicious package advisory
Malwaremstplotlib
GHSA-fcg8-c3q4-pr72
Malicious code in mstplotlib (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 3.10.2` ## Source: oracle-using-macaron (48409bd7f3f22c084f0f0269402f93d8327e3d8d89edf03641e8093e0b22938c) This package is a typosquat of the matplotlib package and executes harmful code during installation. It appears to inject code into Python files (e.g., site.py) on the system. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mstplotlib/MAL-2025-2345.json)) **References:** - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mstplotlib/MAL-2025-2345.json - https://github.com/advisories/GHSA-fcg8-c3q4-pr72
Compromised versions (1)
- = 3.10.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.