Malicious Code Injection in nokire-nana85: A Threat to npm Packages
Summary
MAL-2025-163243: Malicious code in nokire-nana85 (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-nana85' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of reusable code modules. However, this particular package has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in 'nokire-nana85' originates from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. This package contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names, thereby inflating developer reputation scores. The continuous republishing of these variants can lead to registry pollution, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nana85
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-nana85' package and replace it with a known, secure alternative. Always verify the integrity and source of packages before including them in your project.
Conclusion
The 'nokire-nana85' package poses a significant threat due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any identified vulnerabilities. Regular monitoring and updates can help maintain the security of your applications.
See every vulnerability recorded for nokire-nana85 →
FAQ
The 'nokire-nana85' package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and functionality.
You should immediately uninstall the package using 'npm uninstall nokire-nana85' and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.