Malicious Code Injection in manda-49: A Threat to npm Ecosystem
Summary
MAL-2025-159647: Malicious code in manda-49 (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-49' package is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. The primary functionality of 'manda-49' is to inflate developer reputation scores through deceptive practices, which ultimately undermines the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'manda-49' originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the security of applications relying on this package but also contributes to the overall degradation of the npm ecosystem by inflating false reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall manda-49
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-49' package and replace it with a reputable alternative that provides similar functionality. Additionally, you can monitor your project for any dependencies that may inadvertently include this package.
Conclusion
The 'manda-49' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to be vigilant and remove such packages from their projects to maintain the integrity of their applications. Utilizing tools like Vulert can aid in identifying and mitigating these vulnerabilities effectively.
See every vulnerability recorded for manda-49 →
FAQ
The main issue is that it contains malicious code designed to manipulate the npm registry and inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can determine if your application is affected.
You should uninstall the package immediately using 'npm uninstall manda-49' and check for any dependencies that may rely on it.
Yes, regularly audit your dependencies and use tools like Vulert to monitor 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 any signup.