Malicious Code Injection in nokire-arhani85: A Threat to npm Users
Summary
MAL-2025-162402: Malicious code in nokire-arhani85 (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-arhani85' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The primary functionality of these packages is to manipulate the npm registry, posing a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in 'nokire-arhani85' 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 leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages. The origin of this vulnerability is linked to the automated scripts included in the package, which are designed to exploit the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani85
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 prevent the installation of this malicious package by using the following command to uninstall it: npm uninstall nokire-arhani85. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The 'nokire-arhani85' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for nokire-arhani85 →
FAQ
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of other packages, affecting developers and users relying on npm.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the package immediately using the command: npm uninstall nokire-arhani85.
Currently, there is no patched version available for nokire-arhani85. It is recommended to remove the package entirely.
Vulert uses the package-lock.json file to monitor for vulnerabilities in your software, providing real-time alerts without requiring access to your code.