Malicious Code Injection in nuilava-darae-naha Package
Summary
MAL-2025-163876: Malicious code in nuilava-darae-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 nuilava-darae-naha package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. It is designed to automatically generate and publish derivative packages with randomized names, which can lead to reputation inflation for developers involved in the tea.xyz token reward campaign.
Vulnerability Detail
The vulnerability in the nuilava-darae-naha package stems from its malicious code that modifies the package.json file by removing private flags and changing version numbers. This allows the package to continuously republish variants with random names, polluting the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages. The ramifications include potential security risks for developers and users who may unknowingly install these compromised packages, leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nuilava-darae-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 nuilava-darae-naha package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The nuilava-darae-naha package poses a significant security risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nuilava-darae-naha →
FAQ
The nuilava-darae-naha package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
If your project uses the nuilava-darae-naha package, it may be at risk of security vulnerabilities and could contribute to the pollution of the npm registry.
You should uninstall the nuilava-darae-naha package immediately and check your project for any other potentially compromised packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.