Malicious Code Injection in nokire-nana39: A Threat to npm Ecosystem
Summary
MAL-2025-163192: Malicious code in nokire-nana39 (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-nana39' is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-nana39' stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also compromises the security of applications relying on this package. The origin of this vulnerability is linked to the broader exploitation of npm packages for fraudulent purposes, specifically targeting the tea protocol token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nana39
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
Currently, there are no specific workarounds to mitigate the risks posed by 'nokire-nana39'. The best course of action is to remove the package from your dependencies to prevent any potential exploitation.
Conclusion
The 'nokire-nana39' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and remove this package from their projects to safeguard their applications. Regular monitoring for vulnerabilities, such as using Vulert, can help maintain the security of your software.
See every vulnerability recorded for nokire-nana39 →
FAQ
'nokire-nana39' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of applications that depend on this package.
You should uninstall 'nokire-nana39' immediately to protect your application from potential risks.
As of now, there is no patched version available for 'nokire-nana39'. The recommended action is to remove the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without any signup.