Malicious Code Injection in matane-cookik-nurses Package
Summary
MAL-2025-160219: Malicious code in matane-cookik-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-cookik-nurses package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary functionality of this package is not well-defined, but its involvement in the campaign indicates that it may be used to manipulate npm's reputation system for token rewards.
Vulnerability Detail
The vulnerability in the matane-cookik-nurses package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names to inflate developer reputation scores. The malicious payload continuously republishes variants of the package, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall matane-cookik-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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Ensure that you do not include matane-cookik-nurses in your project dependencies. You can also use the following command to uninstall it: npm uninstall matane-cookik-nurses.
Conclusion
The matane-cookik-nurses package contains malicious code that poses a significant risk to npm users. It is essential to remove this package from your project and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for matane-cookik-nurses →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
Currently, there is no patched version available. It is recommended to remove the package entirely.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.