Malicious Code Exploit in Tehaah-codfd-nutdfara Package: NPM Vulnerability
Summary
MAL-2025-168940: Malicious code in tehaah-codfd-nutdfara (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 'tehaah-codfd-nutdfara' package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with various packages. These packages often contain scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. This behavior raises significant concerns regarding the integrity and security of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious design of the 'tehaah-codfd-nutdfara' package, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The malicious payload can affect developers' reputation and the overall trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehaah-codfd-nutdfara
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, you can avoid using the 'tehaah-codfd-nutdfara' package and check your package-lock.json file for any dependencies that may include it. If found, remove those dependencies and replace them with trusted alternatives.
Conclusion
The 'tehaah-codfd-nutdfara' package poses a significant security risk due to its malicious behavior of modifying package metadata and republishing variants. It is essential to remove this package from your project and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your applications by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for tehaah-codfd-nutdfara →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for generating and publishing malicious packages.
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of your application's dependencies and potentially compromising security.
You should uninstall the package immediately using 'npm uninstall tehaah-codfd-nutdfara' and check for any affected dependencies.
Currently, there is no patched version available. It is recommended to remove the package until a secure version is released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.