Malicious Code Injection in malahan-munsaro-ps Package
Summary
MAL-2025-159277: Malicious code in malahan-munsaro-ps (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 malahan-munsaro-ps package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the malahan-munsaro-ps package originates from its involvement in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall malahan-munsaro-ps
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 malahan-munsaro-ps package until a secure version is released. Additionally, consider using alternative packages that do not exhibit malicious behavior.
Conclusion
The malahan-munsaro-ps package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial for developers to update or remove this package to safeguard their applications from potential security threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for malahan-munsaro-ps →
FAQ
The malahan-munsaro-ps package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of malicious packages that modify your application's dependencies, potentially compromising its security and functionality.
If you have installed the malahan-munsaro-ps package, you should immediately update it to the latest version or remove it from your project.
You can use tools like Vulert, which monitors and alerts you 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.