Malicious Code Injection in Joko-Mangga59-Ruro Package: A Threat to NPM Users
Summary
MAL-2025-104612: Malicious code in joko-mangga59-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-mangga59-ruro' package is part of a broader ecosystem within the npm registry, often associated with token reward campaigns. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages. The malicious nature of this package lies in its ability to modify critical files, posing a significant risk to developers and their projects.
Vulnerability Detail
The vulnerability originates from the 'joko-mangga59-ruro' package, which is part of a malicious campaign that floods the npm registry with derivative packages. It contains scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior can lead to the pollution of the npm registry and compromise the integrity of projects that depend on this package. The malicious payload can also affect the reputation of developers by artificially inflating their scores through these automated publications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joko-mangga59-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 temporary workaround, you can avoid using the 'joko-mangga59-ruro' package and any other packages associated with the tea.xyz token reward campaign. Monitor your project for any unexpected behavior and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'joko-mangga59-ruro' package poses a significant threat to npm users due to its malicious code that modifies package files and inflates developer reputation scores. It is crucial to remove this package and monitor your projects for any vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for joko-mangga59-ruro →
FAQ
It is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package generation.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately using 'npm uninstall joko-mangga59-ruro' and check your project for any unexpected changes.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.