Malicious Code Injection in ogi-miemee82-riris Package - npm Vulnerability
Summary
MAL-2025-89101: Malicious code in ogi-miemee82-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 ogi-miemee82-riris package 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 generating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards associated with the tea protocol.
Vulnerability Detail
The vulnerability in the ogi-miemee82-riris package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to significant issues, including the compromise of developer accounts and the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-miemee82-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 workaround, you can prevent the installation of this package by using npm's package-lock.json to monitor dependencies. If you are using Vulert, you can check your application for vulnerabilities without any installation. Simply visit the Vulert playground at https://vulert.com/scanner and upload your package-lock.json file to see if your application is affected.
Conclusion
The ogi-miemee82-riris package poses a significant risk due to its malicious behavior of modifying package metadata and republishing variants. It is essential to remove this package and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for ogi-miemee82-riris →
FAQ
It is an npm package that is part of a malicious campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can compromise the integrity of your project by introducing malicious code and potentially exposing your developer account to risks.
You should remove the ogi-miemee82-riris package from your project and check for any updates or patches that may be available.
Yes, Vulert can monitor your package-lock.json file for vulnerabilities in real-time without requiring any code access or installation.
You can use the Vulert playground at Vulert Scanner to upload your package-lock.json file and check for vulnerabilities.