Malicious Code Injection in nokire-kore31: A Threat to npm Packages
Summary
MAL-2025-162719: Malicious code in nokire-kore31 (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-kore31' 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, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'nokire-kore31' originates from its malicious design, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can affect developers' reputation and the overall trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-kore31
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 monitor your package dependencies using tools like Vulert. By utilizing Vulert's playground at https://vulert.com/scanner, you can check if your application is affected by this vulnerability without requiring any signup. This allows you to stay informed about potential threats in your open-source dependencies.
Conclusion
The 'nokire-kore31' package poses a significant threat due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial to remove this package from your project and utilize tools like Vulert to monitor for vulnerabilities in your dependencies. Staying vigilant and informed is key to maintaining the security of your software.
See every vulnerability recorded for nokire-kore31 →
FAQ
The 'nokire-kore31' package is an npm package that has been identified as malicious, associated with the tea.xyz token reward campaign.
This vulnerability can lead to the pollution of the npm registry, affecting the integrity of your project's dependencies and potentially compromising your reputation as a developer.
You should uninstall the package immediately using 'npm uninstall nokire-kore31' and review your project's dependencies for any other malicious packages.
Regularly update your dependencies, use trusted packages, and monitor your project with tools like Vulert to stay informed about vulnerabilities.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software using just the package-lock.json file. You can check for vulnerabilities without needing to access the code or install anything.