Malicious Code Vulnerability in munisdr-nserf-sarafd Package
Summary
MAL-2025-160953: Malicious code in munisdr-nserf-sarafd (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-sarafd package is part of the npm ecosystem, typically used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate the npm registry and inflate developer reputation scores through automated scripts.
Vulnerability Detail
This vulnerability originates from a malicious payload embedded within the munisdr-nserf-sarafd package. The payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use 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 munisdr-nserf-sarafd
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 avoid using the munisdr-nserf-sarafd package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The munisdr-nserf-sarafd package contains a serious vulnerability that can compromise your application's security. It is essential to remove this package and monitor your dependencies for any malicious activity. Utilizing tools like Vulert can help maintain the integrity of your software by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for munisdr-nserf-sarafd →
FAQ
The munisdr-nserf-sarafd package is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code.
The vulnerability can lead to the modification of your package.json file, potentially compromising your application's integrity and security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should immediately remove the munisdr-nserf-sarafd package from your project and look for alternatives. If a patched version is available, update to that version.
Yes, regularly audit your dependencies using tools like npm audit and consider using services like Vulert to monitor for vulnerabilities in real-time.