Malicious Code Injection in nokire-nakala17: A Threat to npm Packages
Summary
MAL-2025-162968: Malicious code in nokire-nakala17 (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-nakala17' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, making it a target for malicious activities.
Vulnerability Detail
The vulnerability in 'nokire-nakala17' originates from its malicious code 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 developers relying on npm for package management, leading to reputation damage and security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala17
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-nakala17' package and monitor your project for any unintended dependencies that may include it. Use the following command to check for vulnerabilities in your project: 'npm audit'.
Conclusion
The 'nokire-nakala17' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to remove this package from their projects and utilize tools like Vulert to maintain the security of their applications.
See every vulnerability recorded for nokire-nakala17 →
FAQ
'nokire-nakala17' is an npm package involved in a malicious campaign to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and damaging your developer reputation.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
You should uninstall the package immediately using 'npm uninstall nokire-nakala17' and review your other dependencies for similar vulnerabilities.
Regularly audit your dependencies using 'npm audit', keep your packages updated, and consider using tools like Vulert for real-time monitoring of vulnerabilities.