Malicious Code Injection in nokire-arhani3: A Threat to npm Users
Summary
MAL-2025-162341: Malicious code in nokire-arhani3 (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-arhani3' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often contain scripts designed to manipulate the npm registry and inflate developer reputation scores, posing a significant risk to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-arhani3' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to continuously republish variants of the package, polluting the npm registry and potentially compromising other packages that depend on it. The ramifications include loss of trust in the npm ecosystem, potential data breaches, and the risk of executing malicious code in dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani3
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, users can avoid using 'nokire-arhani3' and any packages that depend on it. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'nokire-arhani3' package poses a significant threat to npm users due to its malicious code that manipulates the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for nokire-arhani3 →
FAQ
'nokire-arhani3' is an npm package that has been identified as malicious, part of a campaign to manipulate the npm registry.
The vulnerability can lead to the execution of malicious code, potentially compromising your application's security and integrity.
You should update the package to a patched version or remove it entirely from your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.