Malicious Code Injection in nokire-arhani6: A Threat to npm Ecosystem
Summary
MAL-2025-162374: Malicious code in nokire-arhani6 (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-arhani6' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign associated with the tea.xyz token reward system. It is designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata, which can mislead developers and inflate reputation scores.
Vulnerability Detail
The vulnerability in 'nokire-arhani6' stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use 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-arhani6
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 avoid using 'nokire-arhani6' and any packages that depend on it. Additionally, consider using a tool like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The 'nokire-arhani6' package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with compromised packages. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for nokire-arhani6 →
FAQ
'nokire-arhani6' is an npm package that has been identified as malicious, part of a campaign to manipulate the npm registry.
The malicious code can compromise your application's integrity by introducing unwanted behavior and potentially exposing sensitive data.
You should uninstall the package immediately using 'npm uninstall nokire-arhani6' and check for any dependencies that may be affected.
Regularly monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without any signup.