Malicious Code Injection in kamasada-buysada-dair Package: A Threat to npm Users
Summary
MAL-2025-157260: Malicious code in kamasada-buysada-dair (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-buysada-dair package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, which has been associated with malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised due to the presence of malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability in the kamasada-buysada-dair package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk 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-buysada-dair
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 measure, you can avoid using the kamasada-buysada-dair package and any packages that may have been derived from it. Regularly audit your project's dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The kamasada-buysada-dair package presents a significant security risk due to its malicious code injection. Developers are urged to remove this package from their projects and utilize tools to monitor their dependencies for vulnerabilities. Staying informed and proactive is essential to maintaining the security of your applications.
See every vulnerability recorded for kamasada-buysada-dair →
FAQ
It is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should immediately uninstall the kamasada-buysada-dair package and audit your project's dependencies for any other malicious packages.
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 if your application is affected by this vulnerability without any signup.