Malicious Code Injection in nokire-kore25: A Threat to npm Ecosystem
Summary
MAL-2025-162712: Malicious code in nokire-kore25 (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-kore25' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of JavaScript code. However, this package has been identified as part of a malicious campaign that floods npm with derivative packages to inflate developer reputation scores for token rewards. This behavior compromises the integrity of the npm registry and poses a significant risk to developers and their applications.
Vulnerability Detail
The vulnerability in 'nokire-kore25' originates 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 results in the continuous republishing of variants, polluting the npm registry and potentially leading to the installation of compromised packages by unsuspecting developers. The ramifications include loss of trust in the npm ecosystem and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-kore25
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 lock down your dependencies. Ensure that your project does not include 'nokire-kore25' in its dependencies. You can also use the following command to uninstall it if it is already installed: 'npm uninstall nokire-kore25'.
Conclusion
The 'nokire-kore25' package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers are urged to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for nokire-kore25 →
FAQ
'nokire-kore25' is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By uploading your package-lock.json file to the Vulert playground, you can check for vulnerabilities without any signup.
If no patched version is available, it is advisable to remove the package from your project to mitigate any potential risks.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.