Malicious Code Injection in ocha-sate93-ruro: A Threat to npm Packages
Summary
MAL-2025-106541: Malicious code in ocha-sate93-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
ocha-sate93-ruro is an npm package that is part of 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 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-sate93-ruro originates from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-sate93-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 remove the ocha-sate93-ruro package from your project by executing the following command: npm uninstall ocha-sate93-ruro. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The ocha-sate93-ruro package has been identified as containing malicious code that poses significant risks to developers and the integrity of the npm registry. It is crucial to take immediate action to remove this package and monitor for updates. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.
See every vulnerability recorded for ocha-sate93-ruro →
FAQ
The main issue is that it contains malicious code designed to manipulate package metadata and flood the npm registry with compromised packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground at Vulert Scanner without any signup.
If you find the ocha-sate93-ruro package in your project, it is recommended to uninstall it immediately and check for any alternative packages that do not have known vulnerabilities.
To prevent such vulnerabilities, regularly audit your dependencies using tools like Vulert and keep your packages updated to their latest secure versions.
Using compromised packages can lead to security breaches, data leaks, and unauthorized access to your application, which can have severe consequences for both developers and users.