Malicious Code Injection in muny-boph-sadaf Package: A Threat to npm Users
Summary
MAL-2025-160967: Malicious code in muny-boph-sadaf (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-boph-sadaf 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 the npm registry by flooding it with derivative packages, thereby compromising the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in the muny-boph-sadaf package originates from its association with the tea.xyz token reward campaign. This campaign has led to the creation of numerous malicious packages that include scripts designed to automatically generate and publish derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can lead to pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muny-boph-sadaf
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 muny-boph-sadaf package and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your npm packages using tools like npm audit to identify and address vulnerabilities.
Conclusion
The muny-boph-sadaf package poses a significant threat to the npm ecosystem due to its malicious nature. It is crucial for developers to be vigilant and regularly audit their dependencies to mitigate the risks associated with such vulnerabilities. Utilizing tools like Vulert can help in monitoring and addressing these issues effectively.
See every vulnerability recorded for muny-boph-sadaf →
FAQ
The muny-boph-sadaf package is an npm package that has been identified as part of a malicious campaign to flood the npm registry with derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the security and integrity of applications that rely on affected packages.
If you have installed the muny-boph-sadaf package, you should uninstall it immediately using the command npm uninstall muny-boph-sadaf.
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 check your application for vulnerabilities using the Vulert playground without any signup.
There are no patches available for the muny-boph-sadaf package as it is a malicious package. The best course of action is to remove it from your project.