Malicious Code Exposure in npp-ml Package: Active Directory Tool Impersonation
Summary
MAL-2026-17847: Malicious code in npp-ml (PyPI). Affects npp-ml versions 0.1.7 – 0.1.9. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The npp-ml package, available on PyPI, claims to provide a distribution of Notepad++, a popular text and source code editor. However, it has been identified as delivering ADExplorer, an Active Directory analysis tool instead. This misrepresentation poses significant risks to users who believe they are downloading a legitimate software package.
Vulnerability Detail
The vulnerability stems from the malicious intent behind the npp-ml package, which impersonates a trusted application (Notepad++) while delivering potentially harmful software (ADExplorer). This can lead to unauthorized access to sensitive information, data breaches, and exploitation of the user's system. The package was reported by Kamil Mańkowski and is categorized as a malicious campaign due to its deceptive nature and the risks associated with the delivered tool.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall npp-ml
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There are no specific workarounds for this vulnerability other than avoiding the installation of the npp-ml package. Users should consider using alternative, verified packages for their needs.
Conclusion
The npp-ml package has been identified as a malicious tool that impersonates a legitimate application, posing significant risks to users. It is crucial to uninstall this package and remain vigilant when installing software from unverified sources. Utilizing tools like Vulert can help monitor and protect against such vulnerabilities.
See every vulnerability recorded for npp-ml →
FAQ
The npp-ml package is a Python package that falsely claims to be a distribution of Notepad++, but actually delivers a different tool, ADExplorer.
You can check your installed packages by running the command pip list in your terminal or command prompt.
You should uninstall the npp-ml package immediately using the command pip uninstall npp-ml.
Yes, using npp-ml can expose your system to malicious software, potentially leading to data breaches and unauthorized access to sensitive information.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your Pipfile.lock. You can also check your application for vulnerabilities using the Vulert playground without any signup.