Malicious Code Injection in musta-batada-nitru: A Threat to npm Ecosystem
Summary
MAL-2025-161070: Malicious code in musta-batada-nitru (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 'musta-batada-nitru' is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality through reusable code. However, this package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can inflate developer reputation scores.
Vulnerability Detail
The vulnerability in 'musta-batada-nitru' originates from its association with a token reward campaign that employs malicious scripts to manipulate package metadata. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially affecting developers and users relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall musta-batada-nitru
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 workaround, you can manually remove the package from your project by executing the following command: npm uninstall musta-batada-nitru. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'musta-batada-nitru' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and take immediate action to remove this package and monitor their projects for vulnerabilities.
See every vulnerability recorded for musta-batada-nitru →
FAQ
'musta-batada-nitru' is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately and monitor your project for any potential vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.
Regularly monitor your dependencies using tools like Vulert and stay updated on security advisories related to the packages you use.