Malicious Code Injection in munisdr-nserf-asd Package
Summary
MAL-2025-160947: Malicious code in munisdr-nserf-asd (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 munisdr-nserf-asd package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing system, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the munisdr-nserf-asd package stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. This package generates random names for derivative packages and continuously republishes them, which can lead to pollution of the npm registry. The malicious payload can inflate developer reputation scores fraudulently, posing risks to the integrity of the npm ecosystem and potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall munisdr-nserf-asd
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 munisdr-nserf-asd package and any other packages that may be part of the malicious campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The munisdr-nserf-asd package poses a significant security risk due to its malicious code injection. It is crucial for developers to remove this package from their projects and to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their dependencies.
See every vulnerability recorded for munisdr-nserf-asd →
FAQ
The munisdr-nserf-asd package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application by introducing malicious code.
You should uninstall the munisdr-nserf-asd package immediately and audit your dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source 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.