Malicious Code Injection in nokire-loklok53: A Threat to npm Packages
Summary
MAL-2025-162908: Malicious code in nokire-loklok53 (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-loklok53' 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. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'nokire-loklok53' originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can affect the reputation of developers and introduce security risks to 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-loklok53
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 the 'nokire-loklok53' package and replace it with a trusted alternative. Always verify the integrity of packages before including them in your project.
Conclusion
The 'nokire-loklok53' package poses a significant threat due to its malicious code that modifies package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity and security of their applications.
See every vulnerability recorded for nokire-loklok53 →
FAQ
'nokire-loklok53' is an npm package that has been identified as part of a malicious campaign aimed at manipulating package metadata for token rewards.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity and security of your application if it relies on affected packages.
You should uninstall the package immediately using 'npm uninstall nokire-loklok53' and check for any other affected packages in your project.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities by analyzing your package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor your dependencies for vulnerabilities and provide alerts for any issues found.