Malicious Code Injection in nokire-arhani69: A Threat to npm Ecosystem
Summary
MAL-2025-162384: Malicious code in nokire-arhani69 (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-arhani69' is part of a malicious campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered names and configurations. It exploits the npm publishing mechanism to inflate developer reputation scores, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-arhani69' originates from its malicious design, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising other packages. The ramifications include loss of trust in the npm ecosystem, potential exposure of sensitive data, and the risk of dependency confusion attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani69
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 measure, you can avoid using the 'nokire-arhani69' package and replace it with a trusted alternative. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to track vulnerabilities in your dependencies.
Conclusion
The 'nokire-arhani69' package poses a significant threat to the npm ecosystem due to its malicious design aimed at manipulating the registry. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Immediate action is required to mitigate the risks associated with this package.
See every vulnerability recorded for nokire-arhani69 →
FAQ
'nokire-arhani69' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the generation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and exposing it to further attacks.
You should uninstall 'nokire-arhani69' immediately and review your project dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.