Malicious Code Injection in eka-kacang91-ruro Package
Summary
MAL-2025-101907: Malicious code in eka-kacang91-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 eka-kacang91-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious payload embedded within the eka-kacang91-ruro package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, primarily themed around Indonesian culture. The scripts included in the package (auto.js, autopublish.js, etc.) are designed to continuously republish these variants, leading to pollution of the npm registry and potential misuse of developer reputation systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eka-kacang91-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 eka-kacang91-ruro package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like Vulert to monitor for vulnerabilities.
Conclusion
The eka-kacang91-ruro package poses a significant risk due to its embedded malicious code, which can compromise the integrity of your npm projects. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for eka-kacang91-ruro →
FAQ
The eka-kacang91-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json file, removes private flags, and continuously republishes variants, which can lead to reputation inflation and pollution of the npm registry.
You should uninstall the eka-kacang91-ruro package immediately using npm uninstall eka-kacang91-ruro and check for any dependencies that may be affected.
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.