Malicious Code Injection in ogi-mendut36-riris: A Threat to npm Packages
Summary
MAL-2025-89096: Malicious code in ogi-mendut36-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 ogi-mendut36-riris is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The functionality of these packages is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in ogi-mendut36-riris originates from its association with the tea.xyz token reward campaign, which has led to the proliferation of malicious npm packages. The malicious code modifies the package.json file by 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, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-mendut36-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 measure, avoid using the ogi-mendut36-riris package and consider replacing it with a similar, trusted package. You can also monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you of any open-source vulnerabilities in real-time.
Conclusion
The ogi-mendut36-riris package poses a significant risk due to its malicious code designed to manipulate npm package metadata. It is crucial for developers to be vigilant about the packages they use and to monitor their projects for vulnerabilities. By following the recommended steps to remove the affected package and utilizing tools like Vulert, developers can safeguard their applications from potential threats.
See every vulnerability recorded for ogi-mendut36-riris →
FAQ
ogi-mendut36-riris is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated package publishing.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the ogi-mendut36-riris package immediately and review your project's dependencies for any other potentially harmful packages.
You can use Vulert to monitor your project for open-source vulnerabilities by analyzing your package-lock.json file. It provides real-time alerts 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.