Malicious Code Injection in nokire-nakala97: A Threat to npm Users
Summary
MAL-2025-163055: Malicious code in nokire-nakala97 (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-nakala97' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as malicious due to its ability to modify package metadata and republish variants, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-nakala97' originates from its malicious payload that alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these compromised packages. The package is designed to continuously republish variants, exacerbating the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nakala97
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-nakala97' package and monitor your dependencies for any malicious activity. Regularly audit your npm packages using 'npm audit' to identify vulnerabilities.
Conclusion
The 'nokire-nakala97' package poses a significant threat to npm users due to its malicious behavior of modifying package metadata and republishing variants. It is crucial to remove this package from your projects and monitor your dependencies for any vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for nokire-nakala97 →
FAQ
'nokire-nakala97' is an npm package associated with a token reward campaign that has been identified as malicious.
The vulnerability can lead to the modification of your package.json file and the introduction of potentially harmful packages into your project.
You should uninstall 'nokire-nakala97' immediately using 'npm uninstall nokire-nakala97' and audit your project for other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.