Malicious Code Injection in nervous_raven-excellentdev Package
Summary
MAL-2025-106269: Malicious code in nervous_raven-excellentdev (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 nervous_raven-excellentdev package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the nervous_raven-excellentdev package arises from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes these variants, polluting the npm registry. This behavior can lead to reputational damage for developers and can compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nervous_raven-excellentdev
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 nervous_raven-excellentdev package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before adding them to your project.
Conclusion
The nervous_raven-excellentdev package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your project and stay vigilant about the packages you use. Regular audits and monitoring tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nervous_raven-excellentdev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code.
The malicious code can compromise your project's integrity by modifying package metadata and flooding the npm registry with unwanted packages.
You should uninstall the package immediately using npm uninstall nervous_raven-excellentdev and update your dependencies.
Yes, regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your packages.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.