Malicious Code Injection in ocha-kue14-riris: A Threat to npm Users
Summary
MAL-2025-88992: Malicious code in ocha-kue14-riris (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 'ocha-kue14-riris' 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 in exchange for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'ocha-kue14-riris' stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can mislead developers into using compromised packages. The origin of this vulnerability is linked to the broader trend of malicious packages flooding the npm ecosystem, specifically targeting users involved in the tea protocol token reward scheme.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-kue14-riris
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 'ocha-kue14-riris' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'ocha-kue14-riris' package poses a significant risk to npm users due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is essential to uninstall this package and monitor your project for vulnerabilities to maintain security.
See every vulnerability recorded for ocha-kue14-riris →
FAQ
The 'ocha-kue14-riris' package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the modification of your package.json file, removal of private flags, and the introduction of potentially harmful packages into your project.
You should uninstall the 'ocha-kue14-riris' package immediately and check for any other compromised packages in your project.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application using the Vulert playground.
There is no patch for the 'ocha-kue14-riris' package as it is advised to remove it completely from your project.