Malicious Code Injection in nokire-arhani92: A Threat to npm Packages
Summary
MAL-2025-162410: Malicious code in nokire-arhani92 (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-arhani92' 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 are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with random names.
Vulnerability Detail
The vulnerability in 'nokire-arhani92' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with numerous variants of the package. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to distribute harmful code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani92
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 prevent the installation of the 'nokire-arhani92' package by adding it to your project's .npmignore file or by using npm's package-lock.json to monitor dependencies. However, the best approach is to remove the package entirely.
Conclusion
The 'nokire-arhani92' package poses a significant threat due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Immediate action should be taken to remove this package from any affected projects.
See every vulnerability recorded for nokire-arhani92 →
FAQ
The 'nokire-arhani92' package is an npm package that has been identified as malicious, associated with a campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of your project's dependencies, potentially introducing harmful code and affecting the integrity of your application.
If you have installed 'nokire-arhani92', you should immediately uninstall it using 'npm uninstall nokire-arhani92' and review your project's dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application against vulnerabilities using the Vulert playground without any signup.
Yes, there are several automated tools available, including Vulert, which can help you monitor and alert for vulnerabilities in your open-source dependencies.