Malicious Code Injection in nokire-lokcek58: A Threat to npm Ecosystem
Summary
MAL-2025-162814: Malicious code in nokire-lokcek58 (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-lokcek58' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. This behavior poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-lokcek58' originates from its association with malicious scripts that automatically modify the package.json file. These scripts remove private flags, alter version numbers, and create random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only compromises the security of the affected packages but also affects the overall trustworthiness of the npm ecosystem, potentially leading to exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek58
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-lokcek58' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The 'nokire-lokcek58' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Taking proactive measures can help safeguard your projects from potential threats.
See every vulnerability recorded for nokire-lokcek58 →
FAQ
'nokire-lokcek58' is a malicious npm package that is part of a campaign to manipulate the npm registry for token rewards.
The vulnerability can lead to the introduction of malicious code, compromising the security and integrity of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed 'nokire-lokcek58', you should uninstall it immediately using 'npm uninstall nokire-lokcek58' and audit your project for other vulnerabilities.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages.