Malicious Code Injection in nokire-kilua6: A Threat to npm Users
Summary
MAL-2025-162651: Malicious code in nokire-kilua6 (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-kilua6' 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 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 behavior includes modifying package metadata to remove private flags and republishing variants to clutter the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-kilua6' originates from its association with a malicious campaign that floods the npm registry with derivative packages. The payload modifies the package.json file to eliminate private flags, alters version numbers, and creates random package names, which can lead to significant pollution of the npm registry. This can result in developers inadvertently using compromised packages, leading to potential security risks in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-kilua6
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-kilua6' and any packages that depend on it. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'nokire-kilua6' package poses a significant risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to be aware of this vulnerability, take immediate action to remove the package, and utilize tools like Vulert to monitor their projects for potential threats.
See every vulnerability recorded for nokire-kilua6 →
FAQ
'nokire-kilua6' 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 inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall 'nokire-kilua6' immediately using 'npm uninstall nokire-kilua6' and check your project for any other affected packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.