Malicious Code Injection in nokire-kore45: A Threat to npm Packages
Summary
MAL-2025-162734: Malicious code in nokire-kore45 (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-kore45' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses a significant risk to developers who may unknowingly use these packages in their projects.
Vulnerability Detail
The vulnerability in 'nokire-kore45' stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, polluting the npm registry and potentially leading to the installation of compromised packages by unsuspecting developers. The origin of this vulnerability is linked to the broader issue of malicious packages flooding the npm ecosystem, specifically targeting token reward mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-kore45
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 workaround, you can avoid using the 'nokire-kore45' package altogether. If it is already in your project, you can remove it by executing the following command: npm uninstall nokire-kore45. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The 'nokire-kore45' package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers are urged to remove this package from their projects and utilize tools like Vulert to stay informed about vulnerabilities in their dependencies. Continuous vigilance is essential to maintain the security and integrity of software projects.
See every vulnerability recorded for nokire-kore45 →
FAQ
'nokire-kore45' is an npm package that has been identified as malicious, designed to manipulate the npm registry and inflate developer reputation scores.
The vulnerability can lead to the installation of compromised packages, potentially introducing security risks and instability in your project.
You should uninstall the package immediately using the command: npm uninstall nokire-kore45.
You can use Vulert, which monitors your package-lock.json to alert you in real-time for open-source vulnerabilities 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.