Malicious Code Injection in nokire-loklok67: A Threat to npm Packages
Summary
MAL-2025-162923: Malicious code in nokire-loklok67 (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-loklok67' 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, which has been associated with malicious activities aimed at inflating developer reputation scores. The package's functionality has been compromised, making it a vector for malicious code that can affect developers and their projects.
Vulnerability Detail
The vulnerability in 'nokire-loklok67' originates from its design to include autopublish scripts that automatically generate and publish derivative packages with randomized names. This behavior is intended to manipulate the npm registry by removing private flags from package.json, changing version numbers, and continuously republishing variants. The ramifications include potential pollution of the npm registry, compromising the integrity of other packages, and exposing developers to security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-loklok67
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-loklok67' package and monitor your project for any dependencies that may have been affected by this malicious package. Consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The 'nokire-loklok67' package poses a significant threat due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nokire-loklok67 →
FAQ
'nokire-loklok67' is an npm package that has been identified as malicious, associated with a campaign to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may expose your project to security risks, including the potential for malicious code execution.
You should uninstall the package immediately using the command 'npm uninstall nokire-loklok67' and review your project for any other affected dependencies.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
There are no patches available for 'nokire-loklok67' as it is recommended to remove the package entirely from your project.