Malicious Code Injection in mansila-tdhfla-mafga Package
Summary
MAL-2025-159773: Malicious code in mansila-tdhfla-mafga (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 mansila-tdhfla-mafga package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the mansila-tdhfla-mafga package originates from its inclusion in a malicious campaign that employs scripts to modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mansila-tdhfla-mafga
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 workaround, you can temporarily avoid using the mansila-tdhfla-mafga package by removing it from your dependencies and ensuring that your project does not rely on any of its functionalities until a secure version is released.
Conclusion
The mansila-tdhfla-mafga package contains a serious vulnerability due to its involvement in a malicious campaign. It is crucial for developers to uninstall this package and monitor their projects for potential vulnerabilities using tools like Vulert.
See every vulnerability recorded for mansila-tdhfla-mafga →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been flagged for malicious activities.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks if the package is used in your project.
You should uninstall the package immediately using the command 'npm uninstall mansila-tdhfla-mafga' to mitigate any risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.