Malicious Code Injection in manadsi-sfda-mraf Package: A Threat to npm Users
Summary
MAL-2025-159443: Malicious code in manadsi-sfda-mraf (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 manadsi-sfda-mraf package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code components. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the manadsi-sfda-mraf package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants to the npm registry, which can lead to pollution of the registry and potential exploitation of unsuspecting developers who may unknowingly use these compromised packages. The ramifications include loss of control over package integrity, potential data breaches, and damage to developer reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manadsi-sfda-mraf
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 manadsi-sfda-mraf package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The discovery of malicious code within the manadsi-sfda-mraf package highlights the importance of vigilance in managing open-source dependencies. Developers should take immediate action to remove affected packages and implement monitoring solutions like Vulert to safeguard their applications against future vulnerabilities.
See every vulnerability recorded for manadsi-sfda-mraf →
FAQ
The manadsi-sfda-mraf package is an npm package that has been identified as part of a malicious campaign targeting developers by injecting harmful scripts.
This vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
If you have installed the manadsi-sfda-mraf package, you should uninstall it immediately using 'npm uninstall manadsi-sfda-mraf' and look for alternative packages.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the npm ecosystem.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.