Malicious Code Injection in joko-tahu46-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-104652: Malicious code in joko-tahu46-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 package 'joko-tahu46-ruro' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the 'joko-tahu46-ruro' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include potential pollution of the npm registry, compromised application security, and inflated developer reputation scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joko-tahu46-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-tahu46-ruro' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unexpected changes in the package.json file.
Conclusion
The 'joko-tahu46-ruro' package poses a significant threat due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain application security.
See every vulnerability recorded for joko-tahu46-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for its malicious behavior.
The vulnerability can lead to the pollution of the npm registry and compromise the security of applications that depend on the affected package.
You should uninstall the package immediately and check for any dependencies that may rely on it.
Yes, you can use Vulert, which monitors and alerts 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 for vulnerabilities without any signup.