Malicious Code Injection in nokire-arhani78: A Threat to npm Packages
Summary
MAL-2025-162394: Malicious code in nokire-arhani78 (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-arhani78' 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 numerous 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-arhani78' originates from its inclusion in a malicious campaign that floods the npm registry with spammy packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani78
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, avoid using the 'nokire-arhani78' package and monitor your package-lock.json file for any unauthorized changes. Regularly audit your dependencies using 'npm audit' to identify and address vulnerabilities.
Conclusion
The 'nokire-arhani78' package poses a significant risk due to its malicious behavior of altering package metadata and flooding the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the security of their applications.
See every vulnerability recorded for nokire-arhani78 →
FAQ
The 'nokire-arhani78' package is an npm package associated with a malicious campaign that generates spammy packages to inflate developer reputation scores.
If your application uses the 'nokire-arhani78' package, it may be at risk of installing malicious code that can compromise your application's integrity and security.
You should uninstall the 'nokire-arhani78' package immediately and audit your project for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. Visit Vulert Scanner to check your application.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in your open-source packages.