Malicious Code Injection in nokire-lokcek41: A Threat to npm Packages
Summary
MAL-2025-162796: Malicious code in nokire-lokcek41 (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-lokcek41' is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing derivative packages with randomized names. The malicious scripts included in these packages aim to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-lokcek41' stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes variants, which pollutes the npm registry. This behavior can lead to unauthorized access to sensitive data, reputation damage for developers, and a compromised npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek41
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-lokcek41' package and any other packages that may be part of the tea.xyz token reward campaign. Regularly audit your npm packages using tools like npm audit to identify and remove any malicious packages.
Conclusion
The 'nokire-lokcek41' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. It is essential to remove this package from your projects and regularly audit your dependencies to maintain security.
See every vulnerability recorded for nokire-lokcek41 →
FAQ
'nokire-lokcek41' is a malicious npm package that is part of a campaign to manipulate the npm registry and inflate developer reputation scores.
This vulnerability can lead to unauthorized access to sensitive data, damage your project's reputation, and compromise the integrity of the npm ecosystem.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring signup.
You should immediately uninstall the package using 'npm uninstall nokire-lokcek41' and audit your other dependencies for similar vulnerabilities.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages.