Malicious Code Injection in nokire-arhani82 Package - npm Vulnerability
Summary
MAL-2025-162399: Malicious code in nokire-arhani82 (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-arhani82 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 has been compromised, leading to significant security risks.
Vulnerability Detail
The vulnerability in the nokire-arhani82 package originates from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which are then continuously republished. This behavior not only pollutes the npm registry but also poses risks of unauthorized access and manipulation of user environments, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani82
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-arhani82 package from your project by executing the command: 'npm uninstall nokire-arhani82'. This will prevent any malicious code from executing while you seek a more permanent solution.
Conclusion
The nokire-arhani82 package has been identified as having a significant vulnerability due to malicious code that alters critical files and publishes unauthorized packages. It is crucial for developers using this package to take immediate action by updating or removing it to protect their applications from potential exploitation.
See every vulnerability recorded for nokire-arhani82 →
FAQ
The nokire-arhani82 package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability allows malicious code to modify your package.json file, potentially leading to unauthorized access and manipulation of your application.
You should update the package to the latest patched version or uninstall it to mitigate the risks associated with the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.