Malicious Code Injection in nokire-nana67: A Threat to npm Ecosystem
Summary
MAL-2025-163223: Malicious code in nokire-nana67 (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-nana67' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised, making it a potential threat to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'nokire-nana67' originates from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses security risks by potentially allowing unauthorized access to sensitive information. The autopublish scripts included in the package are designed to automate the generation and publication of these harmful variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nana67
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 'nokire-nana67' and any packages that depend on it. Additionally, consider using the following command to uninstall the package: npm uninstall nokire-nana67.
Conclusion
The 'nokire-nana67' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package management practices. It is essential for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for nokire-nana67 →
FAQ
'nokire-nana67' is an npm package that has been identified as malicious, involved in a campaign to inflate developer reputation scores through automated publishing of harmful variants.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising security and functionality.
You should immediately uninstall the package using 'npm uninstall nokire-nana67' and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and avoid using packages that are not well-maintained or have been flagged as malicious.