Malicious Code Injection in minahasan-munaro-ps Package
Summary
MAL-2025-160457: Malicious code in minahasan-munaro-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-munaro-ps package is part of the npm ecosystem, often utilized for various JavaScript applications. This package has been identified as part of a broader malicious campaign that aims to exploit npm's package management system. It is designed to automate the generation and publication of derivative packages, which can lead to reputation inflation for developers involved in the tea.xyz token reward campaign.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the minahasan-munaro-ps package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, primarily themed around Indonesian culture. The malicious scripts (auto.js, autopublish.js, etc.) continuously republish these variants, polluting the npm registry and potentially compromising the integrity of the software supply chain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall minahasan-munaro-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 remove the minahasan-munaro-ps package from your project by executing the command: 'npm uninstall minahasan-munaro-ps'. This will prevent the execution of any malicious code until a secure version is available.
Conclusion
The minahasan-munaro-ps package poses a significant security risk due to its embedded malicious code. It is essential to take immediate action by updating or removing the package to protect your application from potential exploitation. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for minahasan-munaro-ps →
FAQ
It is an npm package that has been linked to a malicious campaign aimed at exploiting the npm registry.
The malicious code can modify your package.json file, leading to potential security risks and pollution of the npm registry.
You should uninstall the package immediately and monitor your application for any unusual behavior.
Yes, you can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring an account.