Malicious Code Injection in kamasada-nutsai-aadsaffa Package
Summary
MAL-2025-157362: Malicious code in kamasada-nutsai-aadsaffa (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-nutsai-aadsaffa package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate npm's package management system for malicious purposes.
Vulnerability Detail
The vulnerability in the kamasada-nutsai-aadsaffa package stems from its inclusion in a campaign that generates and publishes derivative packages with randomized names. This malicious code modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, ultimately polluting the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward scheme, which incentivizes developers to inflate their reputation scores through such tactics.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kamasada-nutsai-aadsaffa
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 prevent the installation of this package by using npm's package-lock.json to monitor dependencies. You can also use the following command to audit your packages: npm audit to identify any vulnerabilities in your project.
Conclusion
The kamasada-nutsai-aadsaffa package poses a significant risk due to its malicious code designed to manipulate npm's package management system. It is crucial to remove this package and monitor your dependencies to ensure the security of your application.
See every vulnerability recorded for kamasada-nutsai-aadsaffa →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm registry.
The vulnerability can lead to the pollution of your npm registry, potentially affecting the integrity and security of your application by introducing malicious code.
You should uninstall the kamasada-nutsai-aadsaffa package immediately and check for any dependencies that may be affected.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source 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.