Malicious Code Injection in Tehaah-Codfd-Muta Package
Summary
MAL-2025-168935: Malicious code in tehaah-codfd-muta (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-Muta is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various npm packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the developer's reputation.
Vulnerability Detail
The vulnerability in the Tehaah-Codfd-Muta package originates from its inclusion in a campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file, removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry and potentially harm developers' reputations by inflating scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehaah-codfd-muta
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-Muta package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert to identify any vulnerabilities in real-time.
Conclusion
The Tehaah-Codfd-Muta package has been identified as containing malicious code that can compromise the integrity of the npm registry and developer reputations. It is crucial to remove this package and monitor for vulnerabilities using tools like Vulert to ensure the security of your projects.
See every vulnerability recorded for tehaah-codfd-muta →
FAQ
Tehaah-Codfd-Muta is an npm package associated with the tea.xyz token reward campaign, designed to distribute token rewards through npm.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and harming your reputation as a developer.
You should remove the Tehaah-Codfd-Muta package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights.