Malicious Code Injection in nokire-lokcek94: A Threat to npm Ecosystem
Summary
MAL-2025-162853: Malicious code in nokire-lokcek94 (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-lokcek94' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing numerous derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and continuously republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-lokcek94' originates from its inclusion in a malicious campaign that utilizes autopublish scripts to manipulate package.json files. This manipulation removes private flags, alters version numbers, and generates random package names, which can lead to significant pollution of the npm registry. The ramifications include compromised developer reputations and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek94
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 'nokire-lokcek94' and any other suspicious packages. Regularly audit your npm packages using the command 'npm audit' to identify and address vulnerabilities.
Conclusion
The 'nokire-lokcek94' package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and repopulates the registry with harmful variants. It is essential for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure their applications are secure.
See every vulnerability recorded for nokire-lokcek94 →
FAQ
'nokire-lokcek94' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, which may compromise the integrity and security of applications that depend on these packages.
You can use Vulert, a tool that monitors open-source vulnerabilities in real-time. By analyzing your package-lock.json file, it can alert you to any vulnerabilities, including those from 'nokire-lokcek94'.
If 'nokire-lokcek94' is found in your project, you should uninstall it immediately using 'npm uninstall nokire-lokcek94' and audit your other dependencies for vulnerabilities.
To prevent future vulnerabilities, regularly audit your npm packages, use trusted sources, and consider using tools like Vulert to monitor your dependencies.