Malicious Code Injection in tehah-muioda-adf: A Threat to npm Users
Summary
MAL-2025-169012: Malicious code in tehah-muioda-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-muioda-adf' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in 'tehah-muioda-adf' originates from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages. The continuous republishing of variants can lead to a significant increase in malicious packages, making it difficult for developers to trust the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-muioda-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 workaround, you can avoid using the 'tehah-muioda-adf' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure no malicious packages are included.
Conclusion
The 'tehah-muioda-adf' package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package files and republishing variants. Developers should take immediate action to remove this package and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for tehah-muioda-adf →
FAQ
It is a malicious npm package associated with a token reward campaign that modifies package files and republish variants to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, it can help you identify affected packages.
You should immediately uninstall the 'tehah-muioda-adf' package using the command 'npm uninstall tehah-muioda-adf' and audit your other dependencies.
Yes, Vulert provides a playground where you can check if your application is affected by this vulnerability without requiring any signup.
Using malicious packages can lead to compromised security, data breaches, and a polluted package ecosystem, making it difficult to trust other packages.