Malicious Code Injection in tehnah-codifad-nuftaru: A Threat to npm Ecosystem
Summary
MAL-2025-169090: Malicious code in tehnah-codifad-nuftaru (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
tehnah-codifad-nuftaru is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This package, like others in the campaign, has been flagged for containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the tehnah-codifad-nuftaru package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who may unknowingly install these compromised packages, as well as damage to the reputation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehnah-codifad-nuftaru
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 remove the affected package from your project by executing: npm uninstall tehnah-codifad-nuftaru. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The tehnah-codifad-nuftaru package poses a significant risk due to its malicious code that alters package metadata and republish variants. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for tehnah-codifad-nuftaru →
FAQ
The main issue is the presence of malicious code that alters package metadata and republish variants, which can compromise the integrity of the npm registry.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed the package, it is recommended to uninstall it immediately and check for any updates or alternatives.
Yes, using compromised packages can lead to security vulnerabilities, data breaches, and damage to your project's reputation.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about security advisories.