Malicious Code Injection in namada-kasito-guata: A Threat to npm Ecosystem
Summary
MAL-2025-161733: Malicious code in namada-kasito-guata (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 package 'namada-kasito-guata' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'namada-kasito-guata' stems from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The origin of this vulnerability is linked to automated scripts that aim to exploit the npm ecosystem for malicious gain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall namada-kasito-guata
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 malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include 'namada-kasito-guata' in its dependencies. You can also utilize tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'namada-kasito-guata' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential to take immediate action to remove this package and monitor your project for vulnerabilities. Utilizing tools like Vulert can help ensure the security of your applications.
See every vulnerability recorded for namada-kasito-guata →
FAQ
'namada-kasito-guata' is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of malicious code that compromises the security and integrity of your application.
You should uninstall the package immediately using 'npm uninstall namada-kasito-guata' and check for any dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.