Malicious Code Injection in nokire-arhani25: A Threat to npm Ecosystem
Summary
MAL-2025-162336: Malicious code in nokire-arhani25 (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-arhani25' is part of a larger set of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior not only inflates developer reputation scores but also poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-arhani25' originates from its malicious intent to modify the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to confusion among developers, potential security risks, and degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani25
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 the 'nokire-arhani25' package and any other suspicious packages that may have been published during the tea.xyz token reward campaign. Regularly audit your project's dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The 'nokire-arhani25' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating package management. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can protect their applications from potential risks associated with malicious packages.
See every vulnerability recorded for nokire-arhani25 →
FAQ
'nokire-arhani25' is a malicious npm package that is part of a campaign to inflate developer reputation scores through automated publishing of derivative packages.
You can use tools like Vulert to monitor your package-lock.json for vulnerabilities. Visit Vulert Scanner to check if your application is affected without any signup.
Using 'nokire-arhani25' can lead to security vulnerabilities, confusion in package management, and potential exploitation of your application.
It is recommended to audit your npm packages regularly, especially after adding new dependencies or updates, to ensure that no malicious packages are included.
If you discover other malicious packages, remove them immediately using 'npm uninstall <package-name>' and consider replacing them with trusted alternatives.