Malicious Code Injection in nuilava-dakaodfre-nffamhaha Package
Summary
MAL-2025-163863: Malicious code in nuilava-dakaodfre-nffamhaha (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-dakaodfre-nffamhaha package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publishing of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially harming developers' reputations and project integrity. The malicious scripts (auto.js, autopublish.js, etc.) are specifically designed to automate this process, making it difficult for developers to detect and mitigate the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nuilava-dakaodfre-nffamhaha
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 measure, avoid using the nuilava-dakaodfre-nffamhaha package and monitor your project for any dependencies that may have been affected by this malicious code. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The nuilava-dakaodfre-nffamhaha package has been identified as containing malicious code that poses a significant risk to developers and their projects. It is essential to remove this package and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for nuilava-dakaodfre-nffamhaha →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
Uninstall the package immediately using npm uninstall nuilava-dakaodfre-nffamhaha and monitor your project for any further vulnerabilities.
Yes, you can use Vulert's playground at Vulert Scanner to check for vulnerabilities in your application without any signup.
Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights.