Malicious Code Injection in nokire-lokcek19: A Threat to npm Ecosystem
Summary
MAL-2025-162771: Malicious code in nokire-lokcek19 (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-lokcek19 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 for token rewards, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in nokire-lokcek19 stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The malicious payload is executed through autopublish scripts that automate the creation and publication of these harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek19
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 measure, you can avoid using the nokire-lokcek19 package and any packages that may have been derived from it. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The nokire-lokcek19 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant about the packages they use and to regularly audit their dependencies to maintain the security of their applications. By following the recommended steps to remove this package and utilizing tools like Vulert, developers can better protect their projects from similar vulnerabilities.
See every vulnerability recorded for nokire-lokcek19 →
FAQ
Nokire-lokcek19 is an npm package identified as part of a malicious campaign that floods the npm registry with harmful derivative packages.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should immediately uninstall the package using the command npm uninstall nokire-lokcek19 and audit your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.