Malicious Code Injection in nokire-lokcek85: A Threat to npm Packages
Summary
MAL-2025-162843: Malicious code in nokire-lokcek85 (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-lokcek85' 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. The primary functionality of these packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-lokcek85' originates 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 variants. This behavior not only pollutes the npm registry but also compromises the security of applications relying on these packages, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek85
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 the following command to uninstall it: npm uninstall nokire-lokcek85. Additionally, consider using npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The 'nokire-lokcek85' package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nokire-lokcek85 →
FAQ
'nokire-lokcek85' is an npm package identified as malicious, part of a campaign to manipulate npm registry for token rewards.
The vulnerability can lead to unauthorized modifications in your package.json, potentially compromising your application's security and integrity.
You should immediately uninstall the package and check for any unauthorized changes in your project files.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.