Malicious Code Injection in Tehaah-codfd-minusrt Package
Summary
MAL-2025-168933: Malicious code in tehaah-codfd-minusrt (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-minusrt 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, which are often used to inflate developer reputation scores for token rewards. The package's functionality includes creating and publishing various versions of itself with randomized names, which can lead to pollution of the npm registry.
Vulnerability Detail
The vulnerability in the Tehaah-codfd-minusrt package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, allowing the package to continuously republish itself and its variants. This behavior can lead to significant issues, including the compromise of the npm registry's integrity and potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehaah-codfd-minusrt
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 prevent the package from executing by removing it from your dependencies and ensuring that your package-lock.json file does not include it. Additionally, you can monitor your project for any unauthorized changes to package.json.
Conclusion
The Tehaah-codfd-minusrt package contains a significant vulnerability that can compromise the integrity of your project and the npm registry. It is crucial to uninstall this package and monitor your project for any unauthorized changes. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for tehaah-codfd-minusrt →
FAQ
Tehaah-codfd-minusrt is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the Tehaah-codfd-minusrt package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.