Malicious Code Injection in nokire-nana84: A Threat to npm Ecosystem
Summary
MAL-2025-163242: Malicious code in nokire-nana84 (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-nana84' is part of the npm ecosystem, which is widely used for managing JavaScript packages. It is often utilized in various applications to enhance functionality and streamline development processes. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by flooding it with derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in 'nokire-nana84' stems from its involvement in the tea.xyz token reward campaign. This package contains scripts designed to automatically generate and publish derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can lead to pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nana84
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 'nokire-nana84' and any other packages associated with the tea.xyz campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'nokire-nana84' package poses a significant threat to the npm ecosystem due to its malicious intent to manipulate the registry. It is essential for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for nokire-nana84 →
FAQ
'nokire-nana84' is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially introducing malicious code into your application if you use affected packages.
You should uninstall 'nokire-nana84' immediately using the command 'npm uninstall nokire-nana84' and check for other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.