Malicious Code Injection in nokire-nakala27: A Threat to npm Ecosystem
Summary
MAL-2025-162979: Malicious code in nokire-nakala27 (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-nakala27' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to a token reward campaign that has been identified as malicious. It is designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-nakala27' originates from its association with the tea.xyz token reward campaign. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This results in the continuous republishing of variants, which can lead to a polluted npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala27
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-nakala27' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to audit your npm packages for vulnerabilities: 'npm audit'.
Conclusion
The 'nokire-nakala27' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for nokire-nakala27 →
FAQ
'nokire-nakala27' is an npm package linked to a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may expose your project to security risks if you inadvertently use affected packages.
You should uninstall the package immediately using 'npm uninstall nokire-nakala27' and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.