Malicious Code Injection in nokire-lokcek76: A Threat to npm Packages
Summary
MAL-2025-162833: Malicious code in nokire-lokcek76 (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-lokcek76' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, notorious for flooding npm with malicious packages. Its primary function is to manipulate package metadata and publish derivative packages, which can mislead developers and inflate reputation scores.
Vulnerability Detail
The vulnerability in 'nokire-lokcek76' originates from its design to include malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek76
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-lokcek76' package and instead look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The 'nokire-lokcek76' package poses a significant threat due to its malicious code designed to manipulate package metadata. Developers should take immediate action to remove this package and ensure their applications are secure. Regular monitoring and updating of dependencies are crucial to maintaining a secure development environment.
See every vulnerability recorded for nokire-lokcek76 →
FAQ
The main issue is that it contains malicious code designed to manipulate package metadata and republish variants, which can lead to security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed nokire-lokcek76, you should uninstall it immediately using 'npm uninstall nokire-lokcek76' and review your project's dependencies for any other potentially malicious packages.
Yes, using this package can lead to the pollution of the npm registry, security breaches in your application, and potential reputational damage for developers.
To prevent similar vulnerabilities, always use trusted packages, regularly update your dependencies, and utilize tools like Vulert to monitor for vulnerabilities in real-time.