Malicious Code Injection in kamasada-nuati-espanyo: A Threat to npm Ecosystem
Summary
MAL-2025-157299: Malicious code in kamasada-nuati-espanyo (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-nuati-espanyo 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, potentially compromising the integrity of the registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in kamasada-nuati-espanyo stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry with potentially harmful packages, leading to security risks for users who may unknowingly install them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kamasada-nuati-espanyo
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-nuati-espanyo package and any packages that may depend on it. If you have already installed it, ensure to remove it from your project and monitor your package-lock.json for any signs of malicious alterations.
Conclusion
The kamasada-nuati-espanyo package poses a significant risk to the npm ecosystem due to its malicious behavior. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive steps, you can protect your projects from potential threats.
See every vulnerability recorded for kamasada-nuati-espanyo →
FAQ
kamasada-nuati-espanyo is an npm package that has been identified as part of a malicious campaign to flood the npm registry with harmful packages.
If you have this package installed, it may compromise your project's integrity by introducing malicious code and altering your package.json file.
You should uninstall the kamasada-nuati-espanyo package immediately and check your project for any other potentially malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.