Malicious Code Injection in tehnah-codifad-musrik Package: A Threat to npm Users
Summary
MAL-2025-169086: Malicious code in tehnah-codifad-musrik (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
The tehnah-codifad-musrik package is part of the npm ecosystem, primarily used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate npm's publishing system to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the tehnah-codifad-musrik package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehnah-codifad-musrik
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 tehnah-codifad-musrik package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The tehnah-codifad-musrik package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for tehnah-codifad-musrik →
FAQ
tehnah-codifad-musrik is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
If you have installed tehnah-codifad-musrik, you should uninstall it immediately and check for any other affected packages in your project.
Yes, you can use Vulert to monitor your package-lock.json for vulnerabilities in real-time without needing to access the code or install any software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.