Malicious Code Injection in manda-9 Package: A Threat to npm Users
Summary
MAL-2025-159655: Malicious code in manda-9 (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 manda-9 package is part of the npm ecosystem, which is widely used for managing JavaScript packages. It is often utilized in various applications to facilitate the development process by providing reusable code. However, the manda-9 package has been identified as part of a malicious campaign that aims to exploit npm's package management system, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the manda-9 package originates from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. These packages contain scripts designed to automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can lead to reputation inflation for malicious actors and compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manda-9
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 measure, you can avoid using the manda-9 package and replace it with a trusted alternative. Review your package-lock.json file to identify any dependencies that may rely on manda-9 and remove them accordingly.
Conclusion
The manda-9 package poses a significant threat to the npm ecosystem due to its malicious code injection capabilities. It is essential for developers to be vigilant and take immediate action to remove this package and monitor their dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for manda-9 →
FAQ
The manda-9 package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the manda-9 package immediately using the command 'npm uninstall manda-9' and review your dependencies for any other affected packages.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.