Malicious Code Injection in matane-ra-nurses Package: A Threat to npm Users
Summary
MAL-2025-160226: Malicious code in matane-ra-nurses (npm). Affected versions are not published. 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 matane-ra-nurses package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package, like many others, is intended to facilitate development by providing reusable code components. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability in the matane-ra-nurses package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to pollute the npm registry and can lead to the unintentional installation of compromised packages by developers, potentially exposing their applications to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall matane-ra-nurses
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
As a temporary workaround, you can avoid using the matane-ra-nurses package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The matane-ra-nurses package poses a significant security risk due to its malicious code injection. It is essential for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can aid in monitoring for vulnerabilities and ensuring the security of your applications.
See every vulnerability recorded for matane-ra-nurses →
FAQ
The matane-ra-nurses package is an npm package that was intended to provide reusable code components for JavaScript development but has been identified as malicious.
This vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
If you have installed the matane-ra-nurses package, you should uninstall it immediately using the command npm uninstall matane-ra-nurses.
Yes, tools like Vulert can help monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.