Malicious Code Injection in ogi-dodol74-ruro: A Threat to npm Packages
Summary
MAL-2025-106563: Malicious code in ogi-dodol74-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-dodol74-ruro is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in ogi-dodol74-ruro stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially compromising the security of dependent applications. The origin of this vulnerability is linked to a broader campaign aimed at exploiting npm for token rewards, making it a significant concern for developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-dodol74-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 prevent the installation of this malicious package by using npm's package-lock.json to monitor your dependencies. Ensure that you do not include ogi-dodol74-ruro in your package.json file and regularly check for any unauthorized changes.
Conclusion
The ogi-dodol74-ruro package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to be vigilant about the packages they use and to take immediate action to remove any affected packages. Regular monitoring and updating of dependencies can help mitigate such vulnerabilities.
See every vulnerability recorded for ogi-dodol74-ruro →
FAQ
ogi-dodol74-ruro is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to the installation of malicious code that alters your package.json, potentially compromising your application's security and integrity.
You should immediately uninstall ogi-dodol74-ruro using the command npm uninstall ogi-dodol74-ruro and review your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.