Malicious Code Injection in nokire-arhani94: A Threat to npm Ecosystem
Summary
MAL-2025-162412: Malicious code in nokire-arhani94 (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-arhani94' 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 known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'nokire-arhani94' originates from its association with malicious scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can affect developers by inflating reputation scores unfairly and may lead to the installation of compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani94
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 'nokire-arhani94' and replace it with a trusted alternative package that provides similar functionality. Always verify the source and integrity of packages before installation.
Conclusion
The 'nokire-arhani94' package poses a significant threat due to its malicious code that alters package metadata and pollutes the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for nokire-arhani94 →
FAQ
The primary risk is the potential for malicious code execution that can compromise your project and inflate developer reputation scores unfairly.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
You should uninstall the package immediately using 'npm uninstall nokire-arhani94' and replace it with a trusted alternative.
Yes, you should look for well-reviewed and actively maintained packages that serve the same purpose as nokire-arhani94.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from reputable sources.