Malicious Code Injection in nokire-arhani56 Package
Summary
MAL-2025-162370: Malicious code in nokire-arhani56 (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-arhani56 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the nokire-arhani56 package stems from malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading 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 employs autopublish scripts to exploit the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani56
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 remove the nokire-arhani56 package from your project by running the command: 'npm uninstall nokire-arhani56'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The nokire-arhani56 package contains a significant vulnerability due to malicious code that alters package metadata and pollutes the npm registry. It is essential to take immediate action by updating or uninstalling the package to safeguard your project. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for nokire-arhani56 →
FAQ
The nokire-arhani56 package is an npm package that is part of a token reward campaign, designed to generate and publish derivative packages automatically.
The vulnerability can lead to the pollution of the npm registry with malicious packages, potentially compromising your project's integrity and security.
If you have installed the nokire-arhani56 package, it is crucial to uninstall it immediately and check for any updates or patches.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. It analyzes your package-lock.json file without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.