matplotlibePyPI
Advisory published Updated
matplotlibe is a confirmed malicious PyPI package (MAL-2025-191786) that typosquats a legitimate package to trick installs (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in matplotlibe (PyPI)
What this malware does
Clearly typosquatting packages, but no known malicious parts.
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: 2025-05- yesyesyes
Reasons (based on the campaign):
- typosquatting
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for matplotlibe (version 1.0.0).
If you installed it — respond
matplotlibe is a typosquat — you almost certainly intended a legitimately-named package. Remove matplotlibe, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If matplotlibe was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Kamil Mańkowski (kam193)
Detect & block this
O3 blocks matplotlibe-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.