Malicious Code Injection in nokire-nakala14: A Threat to npm Users
Summary
MAL-2025-162965: Malicious code in nokire-nakala14 (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-nakala14' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-nakala14' originates from its malicious payload 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 affecting other packages. The malicious scripts included in this package are designed to automate the exploitation process, making it a significant threat to developers and users relying on npm for package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala14
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, avoid using the 'nokire-nakala14' package and consider using alternative packages that do not exhibit malicious behavior. Additionally, you can use the following command to check for vulnerabilities in your project: 'npm audit'.
Conclusion
The 'nokire-nakala14' package poses a significant threat due to its malicious code that alters package metadata and repopulates the npm registry with potentially harmful variants. It is essential to remove this package and monitor your projects for vulnerabilities to maintain security.
See every vulnerability recorded for nokire-nakala14 →
FAQ
'nokire-nakala14' is an npm package associated with a token reward campaign that has been identified to contain malicious code.
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of your project and potentially introducing further security risks.
You should uninstall the package immediately using 'npm uninstall nokire-nakala14' and monitor your project for any other vulnerabilities.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.