Malicious Code Injection in muny-nutr-sdaf Package - npm Vulnerability
Summary
MAL-2025-160973: Malicious code in muny-nutr-sdaf (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 muny-nutr-sdaf package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that floods the npm registry with derivative packages. Its primary function is to facilitate token reward campaigns, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the muny-nutr-sdaf package. This code is designed to automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential reputation damage for developers. The impact of this vulnerability includes the risk of unintentional exposure of sensitive information and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muny-nutr-sdaf
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 measure, you can prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Additionally, you can utilize the following command to uninstall the package: npm uninstall muny-nutr-sdaf.
Conclusion
The muny-nutr-sdaf package has been compromised, leading to significant vulnerabilities that can affect developers and their projects. It is crucial to remove this package and monitor your dependencies for any malicious activity. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for muny-nutr-sdaf →
FAQ
The muny-nutr-sdaf package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
This vulnerability can lead to the exposure of sensitive information and can pollute the npm registry, affecting the integrity of your project's dependencies.
You should uninstall the muny-nutr-sdaf package immediately and monitor your project for any unusual behavior.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.