Malicious Code Injection in tehah-murasaf-mant Package
Summary
MAL-2025-169015: Malicious code in tehah-murasaf-mant (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 tehah-murasaf-mant package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the tehah-murasaf-mant 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 these variants. The ramifications include pollution of the npm registry and potential exploitation of developers' reputation scores. The malicious payload is designed to operate autonomously, making it difficult to detect and mitigate without intervention.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-murasaf-mant
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 the vulnerable package by using the following command to uninstall it: npm uninstall tehah-murasaf-mant. Additionally, you can monitor your project for vulnerabilities using Vulert, which analyzes your package-lock.json file to alert you in real-time about open-source vulnerabilities.
Conclusion
The tehah-murasaf-mant package contains malicious code that poses a significant risk to developers by altering package metadata and polluting the npm registry. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for tehah-murasaf-mant →
FAQ
The tehah-murasaf-mant package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to pollution of the npm registry and affect your project's integrity.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If no patched version is available, it is recommended to uninstall the vulnerable package from your project to mitigate the risk.
You can use Vulert, which monitors your package-lock.json file and alerts you in real-time for any open-source vulnerabilities in your software.