Malicious Code Injection in nuilv-rae-naha: A Threat to npm Users
Summary
MAL-2025-163879: Malicious code in nuilv-rae-naha (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 package nuilv-rae-naha is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts designed to manipulate package metadata and inflate developer reputation scores. The primary functionality of these packages is to generate and publish derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in nuilv-rae-naha arises from the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's ecosystem for malicious gain. The ramifications include potential security risks for developers using these packages, as well as the degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nuilv-rae-naha
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 nuilv-rae-naha package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file using tools like Vulert to detect any vulnerabilities in your dependencies.
Conclusion
The nuilv-rae-naha package poses a significant threat to npm users due to its malicious code that alters package metadata. It is crucial to remove this package from your projects and monitor for vulnerabilities using tools like Vulert. Staying informed and proactive can help maintain the integrity of your software development environment.
See every vulnerability recorded for nuilv-rae-naha →
FAQ
nuilv-rae-naha is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry with unwanted packages.
You should uninstall the nuilv-rae-naha package immediately and monitor your project for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.