Malicious Code Injection in nokire-arjuna43: A Threat to npm Ecosystem
Summary
MAL-2025-162456: Malicious code in nokire-arjuna43 (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-arjuna43' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate npm's publishing system, often containing scripts that automatically generate and publish derivative packages. This behavior is intended to inflate developer reputation scores for rewards associated with the tea protocol. The malicious nature of this package poses significant risks to the integrity of the npm registry and the security of applications relying on it.
Vulnerability Detail
The vulnerability in 'nokire-arjuna43' originates from its design to include malicious payloads that modify the package.json file. This includes removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants leads to pollution of the npm registry, which can compromise the security of dependent applications and libraries. The malicious scripts typically found in these packages (e.g., auto.js, autopublish.js) are designed to automate this harmful behavior, making it difficult for developers to track and manage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nokire-arjuna43
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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. If you are using Vulert, you can check for vulnerabilities in your application without any signup by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The 'nokire-arjuna43' package poses a significant threat to the npm ecosystem due to its malicious behavior of modifying package metadata and republishing harmful variants. It is crucial for developers to take immediate action by removing this package and monitoring their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for nokire-arjuna43 →
FAQ
'nokire-arjuna43' is an npm package that is part of a malicious campaign designed to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the security and integrity of applications that depend on this package.
You should uninstall 'nokire-arjuna43' immediately and check for any updates or patches to secure your application.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time without needing to access the code or installation.
You can find detailed information about this vulnerability in the package's repository or by visiting security advisory platforms.