Malicious Code Injection in munidr-nerf-minu: A Threat to npm Ecosystem
Summary
MAL-2025-160862: Malicious code in munidr-nerf-minu (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
munidr-nerf-minu is an npm package that is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious behavior includes modifying package.json files to remove private flags and changing version numbers, leading to potential misuse and pollution of the npm registry.
Vulnerability Detail
The vulnerability in munidr-nerf-minu originates from its involvement in a malicious campaign that utilizes autopublish scripts to create and publish numerous derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these packages. The malicious payload alters package.json files, which can lead to unintended exposure of sensitive information and the proliferation of untrustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munidr-nerf-minu
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 munidr-nerf-minu package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The munidr-nerf-minu package poses a significant threat due to its malicious code that modifies package.json files and floods the npm registry with untrustworthy packages. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for munidr-nerf-minu →
FAQ
munidr-nerf-minu is an npm package involved in a malicious campaign that generates and publishes derivative packages to inflate developer reputation scores.
The vulnerability can lead to the exposure of sensitive information and the introduction of untrustworthy packages into your project, potentially compromising its security.
You should uninstall the munidr-nerf-minu package immediately and monitor your project for any other affected dependencies.
You can use Vulert to monitor your project for open-source vulnerabilities. It analyzes your package-lock.json file to provide real-time alerts.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.