Malicious Code Injection in nokire-arhani13: A Threat to npm Ecosystem
Summary
MAL-2025-162323: Malicious code in nokire-arhani13 (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-arhani13' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards in the tea protocol, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'nokire-arhani13' stems 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 these variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is linked to the broader trend of malicious packages flooding the npm ecosystem, often with the intent of exploiting developer incentives.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani13
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-arhani13' package and monitor your project for any dependencies that may inadvertently include it. Regularly check your package-lock.json file for any unexpected changes or additions.
Conclusion
The 'nokire-arhani13' package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers should take immediate action to remove this package and ensure their projects are secure by regularly auditing dependencies and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for nokire-arhani13 →
FAQ
'nokire-arhani13' is an npm package that has been identified as malicious, designed to manipulate the npm registry for token reward schemes.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project's dependencies and affecting overall security.
You should uninstall the package immediately using 'npm uninstall nokire-arhani13' and review your dependencies for any other malicious packages.
Regularly audit your dependencies, use trusted packages, and keep your project updated with the latest versions of all packages.
Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.