Malicious Code Injection in nokire-arhani29 Package: npm Vulnerability Summary
Summary
MAL-2025-162340: Malicious code in nokire-arhani29 (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-arhani29 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 for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the nokire-arhani29 package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers' reputations. The impact of this vulnerability includes the risk of unintentional use of compromised packages and the degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani29
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, avoid using the nokire-arhani29 package and monitor your package-lock.json for any unintended dependencies that may include it. You can also use tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The nokire-arhani29 package poses a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for nokire-arhani29 →
FAQ
The nokire-arhani29 package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, removes private flags, and can lead to the publication of compromised packages, affecting your project's integrity.
If you have installed the nokire-arhani29 package, you should uninstall it immediately using npm uninstall nokire-arhani29.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
To prevent similar vulnerabilities, regularly monitor your dependencies using tools like Vulert and keep your packages updated.