Malicious Code Injection in nokire-arhani75: A Threat to npm Packages
Summary
MAL-2025-162391: Malicious code in nokire-arhani75 (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-arhani75' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing derivative packages with random names. The primary functionality of these packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-arhani75' stems 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 of applications that depend on these packages. The origin of this vulnerability is linked to the broader campaign that exploits npm's publishing capabilities for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani75
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 prevent the installation of this package by using npm's package-lock.json to monitor dependencies. You can also utilize the following command to audit your npm packages for vulnerabilities: npm audit.
Conclusion
The 'nokire-arhani75' package poses a significant threat due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their dependencies. Immediate action is required to remove this package and safeguard your applications.
See every vulnerability recorded for nokire-arhani75 →
FAQ
'nokire-arhani75' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the installation of malicious code that modifies your package.json file, potentially compromising your application's security and integrity.
You can use tools like Vulert to monitor your package-lock.json for vulnerabilities. Visit Vulert Scanner to check if your application is affected without any signup.
If you have installed 'nokire-arhani75', it is crucial to remove it immediately and update your dependencies to ensure your application is secure.
Yes, consider using well-known and actively maintained packages that provide similar functionality without the associated risks.