Malicious Code Injection in Kamasada-Nusta-Buaibdan Package
Summary
MAL-2025-157334: Malicious code in kamasada-nusta-buaibdan (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
Kamasada-Nusta-Buaibdan is an npm package that is part of a broader campaign involving the tea.xyz token reward system. This package, like many others in the campaign, is designed to manipulate npm's package registry by automatically generating and publishing derivative packages. Its primary function is to inflate developer reputation scores for token rewards, but this comes at the cost of security and integrity within the npm ecosystem.
Vulnerability Detail
The vulnerability in the Kamasada-Nusta-Buaibdan package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kamasada-nusta-buaibdan
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, consider using alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your npm registry is set to only allow trusted packages and regularly audit your dependencies for vulnerabilities.
Conclusion
The Kamasada-Nusta-Buaibdan package presents a significant security risk due to its malicious behavior aimed at manipulating the npm registry. Developers should take immediate action to remove this package and consider using safer alternatives. Regular monitoring of dependencies using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for kamasada-nusta-buaibdan →
FAQ
It is an npm package involved in a token reward campaign that manipulates the npm registry.
It can lead to the introduction of malicious code and compromise the security of your application.
You should uninstall the package immediately and consider using alternatives.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.