Malicious Code Injection in nokire-kilua10: A Threat to npm Users
Summary
MAL-2025-162595: Malicious code in nokire-kilua10 (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 'nokire-kilua10' 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 npm's publishing capabilities. It is designed to automatically generate and publish derivative packages with randomized names, which can lead to reputation inflation for developers involved in the tea.xyz token reward scheme. The malicious nature of this package poses significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-kilua10' originates from its association with the tea.xyz token reward campaign. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also compromises the security of applications that depend on this package. The continuous republishing of variants can lead to confusion and potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-kilua10
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 avoid using 'nokire-kilua10' and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file does not include this package to prevent any accidental installations.
Conclusion
The 'nokire-kilua10' package poses a significant threat to npm users due to its malicious code injection capabilities. It is crucial to remove this package from your projects and monitor for any potential vulnerabilities. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for nokire-kilua10 →
FAQ
'nokire-kilua10' is an npm package that has been identified as part of a malicious campaign aimed at exploiting npm's publishing system.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall 'nokire-kilua10' immediately and monitor your application for any unusual behavior.
Yes, Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.