Malicious Code Injection in nokire-nakala59: A Threat to npm Ecosystem
Summary
MAL-2025-163013: Malicious code in nokire-nakala59 (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-nakala59' 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 generating and publishing numerous derivative packages with randomized names, ultimately aiming to inflate developer reputation scores for token rewards. The malicious nature of this package poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'nokire-nakala59' stems from its inclusion in 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, which pollutes the npm registry and compromises the integrity of the ecosystem. The malicious payload can potentially allow unauthorized access to sensitive information and disrupt the normal functioning of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala59
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-nakala59' package and replace it with a trusted alternative. Review your package-lock.json file to identify any dependencies that may be indirectly relying on this malicious package and remove them as necessary.
Conclusion
The 'nokire-nakala59' package represents a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating package reputation. It is crucial for developers to take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for nokire-nakala59 →
FAQ
'nokire-nakala59' 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 unauthorized modifications in your application's dependencies, potentially exposing sensitive information and affecting application stability.
You should uninstall the package immediately using 'npm uninstall nokire-nakala59' and review your dependencies for any further risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner.
Yes, tools like Vulert provide real-time monitoring for vulnerabilities without requiring code access or installation, making it easier to maintain secure applications.