Malicious Code Injection in manda-23 Package: A Threat to npm Users
Summary
MAL-2025-159619: Malicious code in manda-23 (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-23 package is part of the npm ecosystem, primarily used for JavaScript development. It is often involved in various projects that rely on npm for package management. However, this package has been identified as part of a malicious campaign that aims to manipulate npm's registry by generating and publishing derivative packages with random names, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the manda-23 package stems from its association with the tea.xyz token reward campaign. The malicious code embedded within this package is designed to modify the package.json file by removing private flags, altering version numbers, and creating random package names. This results in the continuous republishing of these variants, which pollutes the npm registry and can lead to significant security risks for developers relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manda-23
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 manda-23 package in your projects. If it is already included, remove it from your package.json and run npm install to clear it from your dependencies.
Conclusion
The manda-23 package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their projects for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for manda-23 →
FAQ
The manda-23 package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially introducing malicious code into your project and compromising its security.
You should remove the manda-23 package from your project and check for any updates or patches that may address the vulnerability.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application against vulnerabilities using the Vulert playground.
Regularly audit your dependencies, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.