Malicious Code Injection in maalasha-nut-beli Package - npm Vulnerability
Summary
MAL-2025-158928: Malicious code in maalasha-nut-beli (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 maalasha-nut-beli package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign that aims to exploit the npm registry. It is designed to automatically generate and publish derivative packages with randomized names, which can lead to reputation inflation for developers involved in the tea.xyz token reward campaign. The presence of malicious code in this package poses significant risks to developers and users relying on its functionality.
Vulnerability Detail
The vulnerability originates from the maalasha-nut-beli package, which contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the packages published under these names. The malicious payload can lead to unauthorized access and manipulation of projects that depend on this package, potentially affecting the security and stability of applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maalasha-nut-beli
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 temporarily avoid using the maalasha-nut-beli package by removing it from your dependencies. If you need similar functionality, consider using alternative packages that are verified and have a good reputation in the community.
Conclusion
The maalasha-nut-beli package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to ensure the integrity and security of their applications.
See every vulnerability recorded for maalasha-nut-beli →
FAQ
The maalasha-nut-beli package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to unauthorized modifications of your project's dependencies, potentially compromising its security and stability.
You should remove the maalasha-nut-beli package from your project immediately to mitigate any risks associated with its malicious code.
Yes, tools like Vulert can monitor your project for open-source vulnerabilities using just the package-lock.json file, providing real-time alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.