Malicious Code Injection in kamasada-nusata-bujib: A Threat to npm Ecosystem
Summary
MAL-2025-157323: Malicious code in kamasada-nusata-bujib (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 kamasada-nusata-bujib 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 and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to significant security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the kamasada-nusata-bujib package stems from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code within this package modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby polluting the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages in their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kamasada-nusata-bujib
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 kamasada-nusata-bujib package and any other packages associated with the malicious campaign. Regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities in your project.
Conclusion
The kamasada-nusata-bujib package poses a significant security threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure their applications remain secure.
See every vulnerability recorded for kamasada-nusata-bujib →
FAQ
It is an npm package that has been identified as part of a malicious campaign to flood the npm registry with harmful code.
If you use the kamasada-nusata-bujib package, your project may be at risk of incorporating malicious code that can compromise security and integrity.
You should uninstall the kamasada-nusata-bujib package immediately and audit your project for any other potentially malicious dependencies.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.