Malicious Code Injection in nokire-lokcek82: A Threat to npm Packages
Summary
MAL-2025-162840: Malicious code in nokire-lokcek82 (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-lokcek82' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with malicious packages that contain scripts designed to manipulate package metadata and inflate developer reputation scores. The primary functionality of these packages is to generate and publish derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-lokcek82' originates from its malicious payload, which 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. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek82
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-lokcek82' package altogether. If it is a dependency of another package, consider removing that package or replacing it with a more secure alternative. Regularly monitor your dependencies for any malicious activity.
Conclusion
The 'nokire-lokcek82' package presents a significant security risk due to its malicious code designed to manipulate npm package metadata. It is essential for developers to be vigilant about their dependencies, promptly remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for nokire-lokcek82 →
FAQ
'nokire-lokcek82' is an npm package that has been identified as malicious, associated with the tea.xyz token reward campaign.
The vulnerability can lead to the introduction of malicious code into your application, compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall nokire-lokcek82' and check your application for any potential security issues.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.