Malicious Code Injection in nokire-loklok55: A Threat to npm Packages
Summary
MAL-2025-162910: Malicious code in nokire-loklok55 (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-loklok55' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts that generate and publish numerous variants with randomized names.
Vulnerability Detail
The vulnerability in 'nokire-loklok55' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-loklok55
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 npm's package-lock.json file to lock your dependencies. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The 'nokire-loklok55' package poses a significant threat due to its malicious code designed to exploit the npm registry. It is essential to take immediate action by uninstalling the package and monitoring your project for vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for nokire-loklok55 →
FAQ
Nokire-loklok55 is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies.
You should uninstall the package immediately using 'npm uninstall nokire-loklok55' and check for any dependencies that may require it.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software.
You can check your application for vulnerabilities by using the Vulert playground at Vulert Scanner without any signup.