Malicious Code in tehah-nuida-adf: A Threat to npm Ecosystem
Summary
MAL-2025-169030: Malicious code in tehah-nuida-adf (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 'tehah-nuida-adf' is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these malicious packages.
Vulnerability Detail
The vulnerability in 'tehah-nuida-adf' stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to developers inadvertently using compromised packages, which may contain further malicious payloads or vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-nuida-adf
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 'tehah-nuida-adf' package and any packages that may depend on it. Regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The 'tehah-nuida-adf' package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers must take immediate action to remove this package and monitor their applications for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your software.
See every vulnerability recorded for tehah-nuida-adf →
FAQ
The primary risk is that it can lead to the installation of malicious code that modifies your project files and potentially exposes your application to further vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Immediately uninstall the package using 'npm uninstall tehah-nuida-adf' and check your package-lock.json for any references to it.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your dependencies.
Regularly audit your dependencies, keep your packages updated, and use trusted sources for package installations.