Malicious Code Injection in nokire-arhani39: A Threat to npm Users
Summary
MAL-2025-162351: Malicious code in nokire-arhani39 (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-arhani39' 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 generating and publishing derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in 'nokire-arhani39' originates from its inclusion in a malicious campaign that floods the npm registry with fake packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially exposing them to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani39
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 package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include 'nokire-arhani39' 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-arhani39' package poses a significant risk to npm users due to its malicious behavior aimed at manipulating the npm registry. It is crucial to remove this package and monitor your project for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for nokire-arhani39 →
FAQ
'nokire-arhani39' is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, making it harder to find legitimate packages and potentially exposing your project to security risks.
You should uninstall the package immediately using 'npm uninstall nokire-arhani39' and check for any other affected packages.
Currently, the best course of action is to remove the package, as there is no specific patch mentioned for 'nokire-arhani39'.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.