Malicious Code Injection in Tehaah-codfd-mutar Package
Summary
MAL-2025-168937: Malicious code in tehaah-codfd-mutar (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-mutar 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 rewards associated with the tea protocol. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the Tehaah-codfd-mutar package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. It continuously republishes these variants, leading to pollution of the npm registry and potential exploitation by malicious actors. The ramifications include compromised developer accounts and a degraded reputation for legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehaah-codfd-mutar
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 Tehaah-codfd-mutar package altogether and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The Tehaah-codfd-mutar package contains malicious code that poses a significant risk to developers and the integrity of the npm registry. It is crucial to uninstall this package and monitor your projects for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for tehaah-codfd-mutar →
FAQ
Tehaah-codfd-mutar is an npm package involved in the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can lead to the modification of your package.json file and the pollution of the npm registry, which may compromise your project's integrity.
You should uninstall the Tehaah-codfd-mutar package immediately and monitor your project for any unusual activity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.