Malicious Code Injection in nokire-lokcek45: A Threat to npm Packages
Summary
MAL-2025-162800: Malicious code in nokire-lokcek45 (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-lokcek45' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. The malicious nature of this package poses significant risks to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in 'nokire-lokcek45' originates from its design to execute autopublish scripts that modify the package.json file. This includes removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential security risks for applications using these packages, and a compromised developer reputation system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-lokcek45
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 'nokire-lokcek45' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages using the command 'npm audit' to identify and address vulnerabilities.
Conclusion
The 'nokire-lokcek45' package poses a significant threat due to its malicious intent to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nokire-lokcek45 →
FAQ
'nokire-lokcek45' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks if your application relies on compromised packages.
You should uninstall 'nokire-lokcek45' immediately using 'npm uninstall nokire-lokcek45' and audit your other dependencies for vulnerabilities.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the 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 any signup.