Malicious Code Injection in nokire-arhani10 Package: A Threat to npm Users
Summary
MAL-2025-162319: Malicious code in nokire-arhani10 (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 nokire-arhani10 package is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages. The primary functionality of these packages is to inflate developer reputation scores for token rewards, but they pose significant risks to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the nokire-arhani10 package stems from its malicious code, 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 variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to gain undue advantages in reputation scoring.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani10
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 workaround, you can manually delete the nokire-arhani10 package from your project by running the command: npm uninstall nokire-arhani10. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The nokire-arhani10 package presents a significant threat to npm users due to its malicious code designed to manipulate the npm registry. Immediate action is required to remove this package and safeguard your projects. Utilizing tools like Vulert can enhance your ability to monitor for vulnerabilities effectively.
See every vulnerability recorded for nokire-arhani10 →
FAQ
The nokire-arhani10 package is a malicious npm package that is part of a campaign to inflate developer reputation scores through automated publishing of derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and exposing it to further security risks.
You should immediately uninstall the nokire-arhani10 package and monitor your project for any other malicious packages.
Yes, Vulert can monitor your package-lock.json for vulnerabilities in real-time, helping you stay informed about any potential threats.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.