Malicious Code Injection in nokire-arhani44: A Threat to npm Users
Summary
MAL-2025-162357: Malicious code in nokire-arhani44 (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-arhani44' 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. Its primary function is to inflate developer reputation scores for token rewards, making it a target for malicious activities.
Vulnerability Detail
The vulnerability in 'nokire-arhani44' 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 leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious scripts included in this package are designed to automate these processes, making it difficult for developers to detect and mitigate the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani44
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 the 'nokire-arhani44' package and monitor your package-lock.json file for any unauthorized changes. If you suspect that your project has been affected, consider using tools like Vulert to scan for vulnerabilities.
Conclusion
The 'nokire-arhani44' package poses a significant threat to npm users due to its malicious code that alters package files and floods the npm registry. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for nokire-arhani44 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the 'nokire-arhani44' package immediately using 'npm uninstall nokire-arhani44' and review your other dependencies for security.
There are no patches for 'nokire-arhani44' as it is recommended to remove the package entirely due to its malicious nature.
Vulert monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities in your software.