Malicious Code Injection in nokire-arhani83: A Threat to npm Packages
Summary
MAL-2025-162400: Malicious code in nokire-arhani83 (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-arhani83' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by creating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but it has been compromised to include malicious code.
Vulnerability Detail
The vulnerability in 'nokire-arhani83' originates from its design to automatically generate and publish derivative packages. This malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to pollution of the npm registry and can potentially harm developers by inflating reputation scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani83
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 this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include 'nokire-arhani83' in its dependencies. You can also use tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The 'nokire-arhani83' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant and remove this package from their projects. Utilizing tools like Vulert can aid in monitoring for vulnerabilities in real-time.
See every vulnerability recorded for nokire-arhani83 →
FAQ
The vulnerability can lead to the pollution of the npm registry and may affect developer reputation scores, potentially causing confusion and mistrust in the ecosystem.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed the package, you should uninstall it immediately using 'npm uninstall nokire-arhani83' and check your project for any other malicious packages.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities using just your package-lock.json.
Currently, there is no specific patch for 'nokire-arhani83', so the best course of action is to uninstall the package and monitor for updates.