Malicious Code Injection in nuilava-dakdre-nffamhaha: A Threat to npm Packages
Summary
MAL-2025-163872: Malicious code in nuilava-dakdre-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 package nuilava-dakdre-nffamhaha is part of a broader campaign targeting npm, primarily associated with the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. Its functionality is compromised due to the presence of malicious scripts that alter package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the nuilava-dakdre-nffamhaha package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a significant impact on 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 nuilava-dakdre-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-dakdre-nffamhaha package and monitor your project for any dependencies that may indirectly include it. Regularly check your package-lock.json file for any signs of this malicious package.
Conclusion
The nuilava-dakdre-nffamhaha package poses a significant threat due to its malicious code that alters package metadata and inflates developer reputation scores. Immediate action is required to remove this package from your projects to safeguard the integrity of your applications and the npm ecosystem.
See every vulnerability recorded for nuilava-dakdre-nffamhaha →
FAQ
nuilava-dakdre-nffamhaha is an npm package that has been identified as malicious, part of a campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks if your project inadvertently uses affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring sign-up.
If you have installed nuilava-dakdre-nffamhaha, you should uninstall it immediately using the command npm uninstall nuilava-dakdre-nffamhaha.
Currently, there are no patches available for nuilava-dakdre-nffamhaha. The best course of action is to remove the package and monitor for any updates.