Malicious Code Injection in Tehaah-codfd-mianusrt Package
Summary
MAL-2025-168932: Malicious code in tehaah-codfd-mianusrt (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-mianusrt 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. 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 its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the Tehaah-codfd-mianusrt package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential exploitation of developers' reputations, and the risk of further malicious activities stemming from these derivative packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehaah-codfd-mianusrt
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 installation of this malicious package by using the following command to uninstall it: npm uninstall tehaah-codfd-mianusrt. Additionally, ensure that your package-lock.json file is monitored for any unauthorized changes.
Conclusion
The Tehaah-codfd-mianusrt package contains malicious code that poses a significant risk to developers and the npm registry. Immediate action is required to remove this package and safeguard your projects from potential exploitation. Regular monitoring for vulnerabilities is essential to maintain security.
See every vulnerability recorded for tehaah-codfd-mianusrt →
FAQ
Tehaah-codfd-mianusrt is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise your project's integrity by introducing malicious code.
You should uninstall the Tehaah-codfd-mianusrt package immediately to prevent any potential exploitation.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.