Malicious Code Injection in tehah-mursa-adf Package - npm Vulnerability
Summary
MAL-2025-169019: Malicious code in tehah-mursa-adf (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-mursa-adf package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in tehah-mursa-adf originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these malicious packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-mursa-adf
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, avoid using the tehah-mursa-adf package and monitor your project for any dependencies that may rely on it. Regularly audit your package-lock.json file to identify and remove any potentially malicious packages.
Conclusion
The tehah-mursa-adf package has been identified as containing malicious code that poses significant risks to developers and the npm registry. Immediate action is required to remove this package and monitor for any related vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for tehah-mursa-adf →
FAQ
tehah-mursa-adf is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The vulnerability can lead to the installation of malicious packages that may compromise your project's security and integrity.
You should uninstall the package immediately using the command: npm uninstall tehah-mursa-adf.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.