Malicious Code Injection in minahasan-munsaro-ps Package
Summary
MAL-2025-160458: Malicious code in minahasan-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 minahasan-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 can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the minahasan-munsaro-ps package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names, which leads 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 use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall minahasan-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 minahasan-munsaro-ps package until a patched version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The minahasan-munsaro-ps package has been identified as containing malicious code that compromises its integrity and the npm registry. Developers are advised to update or remove the package to mitigate potential security risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for minahasan-munsaro-ps →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The package contains scripts that modify package.json files, remove private flags, and continuously republish variants to pollute the npm registry.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
If you are using the minahasan-munsaro-ps package, it is advisable to update to the latest version or remove it until a secure version is available.
Vulert uses your package-lock.json file to monitor and alert in real-time for open-source vulnerabilities, ensuring your application remains secure.