Malicious Code Injection in matane-ras-nurses Package - npm Vulnerability
Summary
MAL-2025-160227: Malicious code in matane-ras-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-ras-nurses package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that has led to the proliferation of malicious packages. These packages often contain scripts that automatically generate and publish derivative packages, which can compromise the integrity of the npm registry and the applications that depend on them.
Vulnerability Detail
The vulnerability in the matane-ras-nurses package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names and continuously republishes variants, thereby polluting the npm registry. This can lead to security risks for developers who unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities and attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall matane-ras-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 remove the matane-ras-nurses package from your project if it is not essential. Use the command 'npm uninstall matane-ras-nurses' to remove it from your dependencies.
Conclusion
The matane-ras-nurses package has been identified as part of a malicious campaign that compromises the integrity of the npm registry. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their applications. Regular updates and monitoring tools like Vulert can help mitigate these risks.
See every vulnerability recorded for matane-ras-nurses →
FAQ
The matane-ras-nurses package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, Vulert can identify if your application is affected by this vulnerability.
Using compromised npm packages can expose your application to various security risks, including data breaches, unauthorized access, and further exploitation of vulnerabilities.
To prevent vulnerabilities, always use trusted sources for package installations, regularly update your dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
If you cannot update the package, consider removing it from your project and replacing it with a secure alternative. Additionally, monitor your application for any unusual behavior.