Malicious Code Injection in munidr-nerf-minsu Package
Summary
MAL-2025-160861: Malicious code in munidr-nerf-minsu (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 munidr-nerf-minsu package is part of the npm ecosystem, which is widely used for JavaScript development. This package was identified as part of a malicious campaign that aimed to exploit npm's publishing system. It is designed to generate and publish derivative packages with randomized names, thus inflating developer reputation scores for token rewards. The malicious behavior of this package poses a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. It modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also compromises the security of applications that depend on this package, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munidr-nerf-minsu
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 munidr-nerf-minsu package from your project by executing the command: 'npm uninstall munidr-nerf-minsu'. This will prevent any malicious code from executing in your application.
Conclusion
The munidr-nerf-minsu package poses a significant security risk due to its malicious behavior of modifying package files and flooding the npm registry. It is crucial for developers to take immediate action by updating or removing the package to protect their applications from potential exploitation.
See every vulnerability recorded for munidr-nerf-minsu →
FAQ
It is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the injection of malicious code, compromising the security and integrity of your application.
You should update the package to a patched version or remove it from your project to mitigate the risk.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.