Malicious Code Injection in nokire-nanali1: A Threat to npm Users
Summary
MAL-2025-163260: Malicious code in nokire-nanali1 (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-nanali1 is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in nokire-nanali1 stems from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can potentially harm developers by affecting their reputation and the integrity of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-nanali1
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-nanali1 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies to ensure that no malicious packages are included in your project.
Conclusion
The nokire-nanali1 package poses a significant risk to npm users due to its malicious behavior aimed at polluting the npm registry. It is crucial to remove this package from your projects and to stay vigilant about the packages you include in your applications. Utilizing tools like Vulert can enhance your security posture by providing real-time vulnerability alerts.
See every vulnerability recorded for nokire-nanali1 →
FAQ
Nokire-nanali1 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially harming your project's integrity and your reputation as a developer.
You should uninstall the package immediately using 'npm uninstall nokire-nanali1' and check for any dependencies that may be affected.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.