Malicious Code Vulnerability in nokire-arhani49: Exploitation of npm Registry
Summary
MAL-2025-162362: Malicious code in nokire-arhani49 (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-arhani49' 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 with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'nokire-arhani49' stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly depend on these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani49
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 malicious package by using npm's package-lock.json to lock your dependencies. Ensure that your project does not include 'nokire-arhani49' in your package.json or package-lock.json files.
Conclusion
The 'nokire-arhani49' package represents a significant threat to the npm ecosystem due to its malicious behavior aimed at inflating developer reputation scores. It is essential for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for nokire-arhani49 →
FAQ
'nokire-arhani49' is a malicious npm package that is part of a campaign to exploit the npm registry by publishing derivative packages to inflate developer reputation scores.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
If you have installed 'nokire-arhani49', you should uninstall it immediately using 'npm uninstall nokire-arhani49' and check your project for any other malicious packages.
This vulnerability can compromise the integrity of your application by introducing malicious code that modifies your package configuration and potentially affects your application's functionality.
Yes, tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time, ensuring that you are alerted to any potential risks.