Malicious Code Injection in nokire-arhani58: A Threat to npm Ecosystem
Summary
MAL-2025-162372: Malicious code in nokire-arhani58 (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-arhani58' is part of a series of malicious packages that emerged during the tea.xyz token reward campaign, which aimed to manipulate npm's ecosystem. These packages are designed to inflate developer reputation scores by automatically generating and publishing numerous derivative packages with randomized names. This behavior not only clutters the npm registry but also poses a significant risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in 'nokire-arhani58' originates from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to security risks for users who install these packages. The malicious payload is designed to exploit the npm ecosystem's trust model, making it crucial for developers to be vigilant about the packages they use.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani58
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-arhani58' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and source of packages before installation.
Conclusion
The 'nokire-arhani58' package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating developer reputation scores. It is essential for developers to be aware of such vulnerabilities and take proactive measures to secure their projects by removing compromised packages and using trusted alternatives.
See every vulnerability recorded for nokire-arhani58 →
FAQ
The 'nokire-arhani58' package is a malicious npm package that is part of a campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
If your project uses the 'nokire-arhani58' package, it may expose your application to security risks and contribute to the pollution of the npm registry.
You should uninstall the 'nokire-arhani58' package immediately using 'npm uninstall nokire-arhani58' and check your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time about open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.