Malicious Code Injection in tehah-mansat-adf: A Threat to npm Users
Summary
MAL-2025-168986: Malicious code in tehah-mansat-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 package 'tehah-mansat-adf' is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious behavior includes modifying package.json files to remove private flags and changing version numbers, which can lead to significant security risks for users.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the 'tehah-mansat-adf' package, which contains scripts that automatically publish variants of itself with randomized names. This behavior not only pollutes the npm registry but also compromises the integrity of the developer's environment by altering package.json files. The ramifications include potential exposure to further attacks and the risk of unintentional use of compromised packages in production environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-mansat-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, you can avoid using the 'tehah-mansat-adf' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The 'tehah-mansat-adf' package poses a significant security risk due to its malicious behavior of modifying package files and publishing variants. It is crucial for developers to remove this package and regularly audit their dependencies to maintain a secure development environment.
See every vulnerability recorded for tehah-mansat-adf →
FAQ
It is a malicious npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The vulnerability can lead to the modification of your package.json file, potentially exposing your project to further attacks and compromising its integrity.
You should uninstall the package immediately using 'npm uninstall tehah-mansat-adf' and audit your project for any other vulnerabilities.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.