Malicious Code Injection in nokire-kilua41: A Threat to npm Packages
Summary
MAL-2025-162630: Malicious code in nokire-kilua41 (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-kilua41' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, notorious for flooding npm with malicious packages. It is designed to manipulate developer reputation scores by generating and publishing derivative packages with random names, thus compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-kilua41' stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-kilua41
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 the 'nokire-kilua41' package and monitor your dependencies for any malicious activity. Utilize tools like Vulert to check for vulnerabilities in your package-lock.json file. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability without needing to sign up.
Conclusion
The 'nokire-kilua41' package poses a significant threat to the integrity of npm packages due to its malicious behavior. It is essential for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their applications from such vulnerabilities.
See every vulnerability recorded for nokire-kilua41 →
FAQ
'nokire-kilua41' is an npm package that has been identified as malicious, associated with a campaign to inflate developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the 'nokire-kilua41' package immediately and check your project for any other potentially malicious dependencies.
Yes, regularly update your dependencies, use trusted packages, and employ tools like Vulert to monitor your projects for vulnerabilities.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just your package-lock.json file. It provides real-time alerts without requiring code access or installation.