Malicious Code Injection in ogi-tahu92-ruro: A Threat to npm Packages
Summary
MAL-2025-106606: Malicious code in ogi-tahu92-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 ogi-tahu92-ruro is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in ogi-tahu92-ruro stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only clutters the npm registry but also compromises the security of dependent projects by potentially introducing harmful code. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes such malicious practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-tahu92-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 ogi-tahu92-ruro package and any other packages associated with the tea.xyz campaign. Monitor your package-lock.json file for any unauthorized changes or additions. You can also use tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The ogi-tahu92-ruro package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to protect their projects from such vulnerabilities.
See every vulnerability recorded for ogi-tahu92-ruro →
FAQ
ogi-tahu92-ruro is an npm package that is part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the ogi-tahu92-ruro package immediately and check your project for any unauthorized changes.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Regularly update your dependencies, use trusted packages, and employ monitoring tools like Vulert to stay informed about potential vulnerabilities.