Malicious Code Injection in munir-manar-nabfa Package - npm Vulnerability
Summary
MAL-2025-160895: Malicious code in munir-manar-nabfa (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 munir-manar-nabfa package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is implicated in a malicious campaign that aims to inflate developer reputation scores through the creation of numerous derivative packages. The malicious behavior includes the automatic generation and publication of packages with altered metadata, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the munir-manar-nabfa package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The result is a continuous republishing of these variants, which can compromise the integrity of the npm registry and potentially affect developers relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munir-manar-nabfa
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 munir-manar-nabfa package and monitor your project for any unintended dependencies that may have been introduced. Regularly audit your package-lock.json file to ensure no malicious packages are present.
Conclusion
The munir-manar-nabfa package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with derivative packages. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for munir-manar-nabfa →
FAQ
The munir-manar-nabfa package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of numerous derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially introducing malicious code into your project and compromising its security.
If you have installed the munir-manar-nabfa package, you should uninstall it immediately using the command npm uninstall munir-manar-nabfa.
You can use Vulert to monitor your project for open-source vulnerabilities. Vulert analyzes your package-lock.json file to provide real-time alerts for any vulnerabilities present in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.