Malicious Code Injection in muny-nutsdr-sdaf Package - npm Vulnerability
Summary
MAL-2025-160974: Malicious code in muny-nutsdr-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-nutsdr-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 aims to exploit the npm registry by generating numerous derivative packages with randomized names. The primary function of these packages is to inflate developer reputation scores for token rewards, specifically for the tea.xyz protocol.
Vulnerability Detail
The vulnerability in the muny-nutsdr-sdaf package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muny-nutsdr-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 workaround, you can remove the muny-nutsdr-sdaf package from your project by executing the following command: npm uninstall muny-nutsdr-sdaf. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The muny-nutsdr-sdaf package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is crucial for developers to stay vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for muny-nutsdr-sdaf →
FAQ
The muny-nutsdr-sdaf package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the installation of compromised packages.
You should uninstall the muny-nutsdr-sdaf package immediately and check for any other affected packages in your project.
You can use Vulert, which allows you to monitor your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.