Malicious Code Injection in nokire-loklok93: A Threat to npm Ecosystem
Summary
MAL-2025-162952: Malicious code in nokire-loklok93 (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-loklok93' 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 publishing scripts, which can lead to significant pollution of the npm registry and potential security risks for users.
Vulnerability Detail
The vulnerability in 'nokire-loklok93' originates from its involvement in the tea.xyz token reward campaign. The package contains scripts that automatically modify the package.json file, removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these malicious packages in their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-loklok93
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-loklok93' package and monitor your project's dependencies for any instances of this package. You can also utilize tools like Vulert to monitor your application for vulnerabilities. To check if your application is affected, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'nokire-loklok93' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential for developers to be vigilant, remove any affected packages, and utilize monitoring tools to safeguard their projects against such vulnerabilities.
See every vulnerability recorded for nokire-loklok93 →
FAQ
'nokire-loklok93' 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 inclusion of malicious code in your project, potentially compromising its security and integrity.
You should immediately remove the 'nokire-loklok93' package from your project and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Regularly audit your dependencies, keep them updated, and use monitoring tools like Vulert to stay informed about potential vulnerabilities.