Malicious Code Injection in Tehaah-Codfd-Nutara Package
Summary
MAL-2025-168938: Malicious code in tehaah-codfd-nutara (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
Tehaah-Codfd-Nutara is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages with randomized names. It aims to inflate developer reputation scores for token rewards associated with the tea protocol. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random Indonesian-themed package names. This behavior leads to the continuous republishing of variants, effectively polluting the npm registry and potentially harming developers who rely on the integrity of the packages they use. The malicious scripts included in the package (auto.js, autopublish.js, autopublish2.js, autopublish3.js) are designed to automate these harmful actions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehaah-codfd-nutara
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unintended changes to the package.json file.
Conclusion
The Tehaah-Codfd-Nutara package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for tehaah-codfd-nutara →
FAQ
The package contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.
You should uninstall the package immediately using npm uninstall tehaah-codfd-nutara and check for any dependencies that may be affected.
Yes, consider looking for other npm packages that provide similar functionalities without the risk of malicious code.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.