Malicious Code Injection in nokire-arhani19: A Threat to npm Packages
Summary
MAL-2025-162329: Malicious code in nokire-arhani19 (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-arhani19' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign aimed at manipulating the npm registry. It is designed to generate and publish derivative packages with randomized names, thereby inflating developer reputation scores for token rewards associated with the tea.xyz protocol. The presence of such malicious packages poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'nokire-arhani19' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a broader scheme to pollute the npm registry with derivative packages, potentially leading to security risks for applications that depend on these packages. The malicious payload can compromise the integrity of the npm ecosystem and mislead developers regarding the authenticity of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arhani19
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 monitor your package dependencies using tools like Vulert, which allows you to check for vulnerabilities in your package-lock.json file. You can access the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability without needing to sign up.
Conclusion
The 'nokire-arhani19' package poses a significant threat due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and implement best practices for dependency management to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for nokire-arhani19 →
FAQ
'nokire-arhani19' is an npm package identified as part of a malicious campaign that manipulates the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, compromising its security and integrity.
You should uninstall 'nokire-arhani19' immediately using the command 'npm uninstall nokire-arhani19'.
Regularly audit your dependencies, use trusted packages, and utilize tools like Vulert to monitor for vulnerabilities.
No, there is no patch available for 'nokire-arhani19' as it is a malicious package. The best course of action is to remove it.