Malicious Code Injection in nokire-arhani97: A Threat to npm Ecosystem
Summary
MAL-2025-162415: Malicious code in nokire-arhani97 (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-arhani97' is part of the npm ecosystem, which is widely used for JavaScript package management. This package 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 package metadata and inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'nokire-arhani97' originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the security and reliability of applications relying on this package. The malicious code is part of a broader scheme to exploit the npm ecosystem for token rewards, making it essential for developers to be vigilant.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani97
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-arhani97' package and replace it with a trusted alternative. Monitor your project's dependencies closely and consider using tools like Vulert to scan your package-lock.json for vulnerabilities.
Conclusion
The 'nokire-arhani97' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package metadata. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nokire-arhani97 →
FAQ
'nokire-arhani97' is an npm package that has been identified as malicious, associated with a token reward campaign that manipulates package metadata.
The vulnerability can lead to the injection of malicious code, which may compromise your application's integrity and security by polluting the npm registry.
Immediately uninstall the 'nokire-arhani97' package using 'npm uninstall nokire-arhani97' and review your project's dependencies for any other vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json for open-source vulnerabilities without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.