Malicious Code Injection in m-nut-beligoli Package
Summary
MAL-2025-158918: Malicious code in m-nut-beligoli (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 m-nut-beligoli package is part of the npm ecosystem, often used for various JavaScript applications. It has been identified as part of a broader campaign that exploits npm's package publishing system. This package is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the m-nut-beligoli package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, which can lead to a compromised npm registry and potential security risks for developers using these packages. The origin of this issue is linked to a campaign aimed at exploiting npm for token rewards, making it a significant concern for the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall m-nut-beligoli
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 m-nut-beligoli package and replace it with a trusted alternative. Additionally, you can monitor your package-lock.json file for any unauthorized changes using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The m-nut-beligoli package poses a significant risk due to its embedded malicious code, which can compromise the integrity of the npm registry and affect developers' projects. It is crucial to uninstall this package and monitor your dependencies for any vulnerabilities.
See every vulnerability recorded for m-nut-beligoli →
FAQ
The m-nut-beligoli package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and can lead to the continuous republishing of compromised packages, which may affect your project's integrity.
You should uninstall the m-nut-beligoli package immediately and check for any dependencies that may rely on it.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities without needing to access the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.