Malicious Code Injection in nokire-loklok35: A Threat to npm Packages
Summary
MAL-2025-162888: Malicious code in nokire-loklok35 (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-loklok35 is part of the npm ecosystem, which is widely used for managing JavaScript packages. 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, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in nokire-loklok35 stems from its association with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to compromised developer accounts and a degraded reputation for legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-loklok35
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-loklok35 package and any other packages that may be part of the malicious campaign. Monitor your package-lock.json file for any unauthorized changes and revert them if necessary.
Conclusion
The nokire-loklok35 package poses a significant threat due to its malicious behavior aimed at compromising the npm registry. It is crucial for developers to be vigilant and remove any affected packages while keeping their dependencies updated to maintain the integrity of their projects.
See every vulnerability recorded for nokire-loklok35 →
FAQ
Nokire-loklok35 is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to unauthorized modifications in your package.json file and may compromise the integrity of your project by introducing malicious code.
You should uninstall the nokire-loklok35 package immediately and check your project for any unauthorized changes.
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.