Malicious Code Injection in ocha-rangginang98-ruro Package
Summary
MAL-2025-106535: Malicious code in ocha-rangginang98-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 ocha-rangginang98-ruro package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has led to the proliferation of numerous derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, making them a potential risk for developers and users alike.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the ocha-rangginang98-ruro package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby flooding the npm registry with potentially harmful variants. The malicious payload can lead to reputation damage for developers and may introduce security risks in applications that rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-rangginang98-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, avoid using the ocha-rangginang98-ruro package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The ocha-rangginang98-ruro package contains malicious code that poses significant risks to developers and their applications. It is crucial to uninstall this package and monitor your projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for ocha-rangginang98-ruro →
FAQ
It is an npm package linked to the tea.xyz token reward campaign, often used in JavaScript applications.
The malicious code can modify your package.json, remove private flags, and flood the npm registry with harmful variants, posing security risks.
You should uninstall the package immediately using the command: npm uninstall ocha-rangginang98-ruro.
Yes, consider searching for other npm packages that offer similar functionality without the associated risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.