Malicious Code Injection in joko-empal78-ruro Package - npm Vulnerability
Summary
MAL-2025-104580: Malicious code in joko-empal78-ruro (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 joko-empal78-ruro package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages that flood the npm registry. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the joko-empal78-ruro package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joko-empal78-ruro
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 avoid using the joko-empal78-ruro package altogether. If it is already installed, you can uninstall it using the command: npm uninstall joko-empal78-ruro.
Conclusion
The joko-empal78-ruro package contains malicious code that poses significant risks to developers and the integrity of the npm ecosystem. It is crucial to remove this package and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help in identifying and managing such risks effectively.
See every vulnerability recorded for joko-empal78-ruro →
FAQ
The malicious code can lead to the pollution of the npm registry and compromise the integrity of your project by introducing untrusted 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.
You should uninstall the joko-empal78-ruro package immediately and check for any other dependencies that may be affected.
Currently, there is no specific patched version available for the joko-empal78-ruro package. The best course of action is to remove it from your project.
The malicious code can lead to the automatic generation of numerous untrusted packages, which can clutter your npm environment and potentially introduce security risks.