Malicious Code Injection in nokire-arjuna16: A Threat to npm Packages
Summary
MAL-2025-162426: Malicious code in nokire-arjuna16 (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-arjuna16' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability in 'nokire-arjuna16' stems from its malicious payload that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to compromised developer accounts and a degraded trust in the npm ecosystem, as it allows for the proliferation of potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arjuna16
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-arjuna16' package from your project by executing the command: 'npm uninstall nokire-arjuna16'. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The 'nokire-arjuna16' package poses a significant threat due to its malicious code that manipulates package metadata and floods the npm registry with harmful variants. It is essential to take immediate action by updating or removing the package to safeguard your projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for nokire-arjuna16 →
FAQ
The primary risk is the potential for malicious code execution, which can compromise developer accounts and lead to the distribution of harmful packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If an immediate update is not possible, consider removing the package as a temporary measure to mitigate risks.
Yes, the malicious scripts included in the package can modify package.json files and republish variants, which can lead to further exploitation.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about the latest security advisories in the npm ecosystem.