Malicious Code Injection in nokire-loklok75: A Threat to npm Packages
Summary
MAL-2025-162932: Malicious code in nokire-loklok75 (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-loklok75' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of such packages is to manipulate developer reputation scores through automated publishing scripts, leading to potential security risks for users and developers alike.
Vulnerability Detail
The vulnerability in 'nokire-loklok75' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores by continuously republishing variants of the package, which can lead to pollution of the npm registry and expose users to security threats. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-loklok75
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 workaround, you can manually remove the 'nokire-loklok75' package from your project by executing the following command: npm uninstall nokire-loklok75. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'nokire-loklok75' package poses a significant security threat due to its malicious code designed to manipulate npm registry and developer reputation. Immediate action is required to remove this package and monitor your project for vulnerabilities using tools like Vulert.
See every vulnerability recorded for nokire-loklok75 →
FAQ
'nokire-loklok75' is an npm package that has been identified as malicious, associated with the tea.xyz token reward campaign.
The vulnerability can lead to the pollution of the npm registry and expose your project to security risks, including the potential for malicious code execution.
You should immediately uninstall the 'nokire-loklok75' package and check for any legitimate alternatives to avoid security risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.