Malicious Code Injection in manda-29 Package: A Threat to npm Ecosystem
Summary
MAL-2025-159625: Malicious code in manda-29 (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-29 package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is implicated in a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores for participation in the tea.xyz token reward campaign. The presence of autopublish scripts within the package indicates a systematic approach to generating and publishing harmful variants.
Vulnerability Detail
The vulnerability in the manda-29 package originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious payload can potentially allow attackers to manipulate package dependencies and affect applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manda-29
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-29 package and replace it with a trusted alternative. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time. To check if your application is affected by this vulnerability, you can use the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The manda-29 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to protect their applications. Regular monitoring and timely updates can help mitigate risks associated with malicious packages.
See every vulnerability recorded for manda-29 →
FAQ
Manda-29 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 introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the manda-29 package immediately and monitor your project for any other vulnerabilities.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without needing to sign up.