Malicious Code Injection in muny-boph-batu: A Threat to npm Users
Summary
MAL-2025-160961: Malicious code in muny-boph-batu (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 package 'muny-boph-batu' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate npm's publishing system, often flooding the registry with numerous derivative packages. The primary function of these packages is to inflate developer reputation scores through the automatic generation and publication of variants with randomized names.
Vulnerability Detail
The vulnerability in 'muny-boph-batu' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry, making it difficult for developers to trust the integrity of packages. The malicious payload can lead to security risks, including the potential for unauthorized access to sensitive data or the introduction of further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall muny-boph-batu
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-batu' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'muny-boph-batu' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for muny-boph-batu →
FAQ
The 'muny-boph-batu' package is part of a malicious campaign that floods the npm registry with derivative packages to inflate developer reputation scores.
The vulnerability can lead to unauthorized modifications in your project's package.json file, potentially introducing security risks and instability.
You should uninstall the package immediately using 'npm uninstall muny-boph-batu' and monitor your project for any further vulnerabilities.
Yes, regularly audit your dependencies using tools like Vulert, which can monitor and alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without requiring any signup.