Malicious Code Injection in nokire-arjuna6: A Threat to npm Users
Summary
MAL-2025-162474: Malicious code in nokire-arjuna6 (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-arjuna6' is part of a broader campaign that exploits the npm ecosystem, specifically targeting developers involved in token reward systems. This package is designed to automate the creation and publication of derivative packages, which can lead to a polluted npm registry and inflated developer reputation scores. Its functionality, while seemingly innocuous, masks a malicious intent that compromises the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'nokire-arjuna6' originates from its association with the tea.xyz token reward campaign. It contains scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also leads to the continuous republishing of these malicious variants, which can clutter the npm registry and potentially introduce security risks to users who unknowingly install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arjuna6
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 avoid using the 'nokire-arjuna6' package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The 'nokire-arjuna6' package poses a significant risk to npm users due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can safeguard their projects against such threats.
See every vulnerability recorded for nokire-arjuna6 →
FAQ
'nokire-arjuna6' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall nokire-arjuna6' and check for any other affected packages in your project.
Yes, tools like Vulert can monitor your package-lock.json for vulnerabilities in real-time. You can also use the Vulert playground to check if your application is affected without any signup.
Regularly audit your dependencies, keep your packages updated, and use tools that monitor for vulnerabilities to ensure your project remains secure.