Malicious Code Injection in ogi-nasisayur98-riris Package
Summary
MAL-2025-89105: Malicious code in ogi-nasisayur98-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-nasisayur98-riris package is part of the npm ecosystem and is associated with 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 in exchange for token rewards. However, its functionality has been compromised due to malicious code that alters package metadata and floods the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the ogi-nasisayur98-riris package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential reputation damage for developers. The origin of this vulnerability is linked to a broader trend of malicious packages flooding the npm ecosystem, specifically targeting token reward schemes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-nasisayur98-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 package from being used in your project by removing it from your package.json file and running npm install to update your dependencies. Additionally, consider using npm audit to identify and address any other vulnerabilities in your project.
Conclusion
The ogi-nasisayur98-riris package contains malicious code that poses a significant risk to developers and their projects. It is essential to remove this package and monitor for similar vulnerabilities to maintain the integrity of your software. Utilizing tools like Vulert can help in identifying and mitigating such risks effectively.
See every vulnerability recorded for ogi-nasisayur98-riris →
FAQ
The ogi-nasisayur98-riris package is an npm package that is part of a token reward campaign, designed to automatically generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and floods the npm registry with unwanted package variants, potentially harming your project's reputation.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.
If you have installed the ogi-nasisayur98-riris package, it is crucial to remove it immediately and check for any other vulnerabilities in your project.
To prevent future vulnerabilities, regularly audit your dependencies using tools like npm audit and consider using Vulert for real-time monitoring of open-source vulnerabilities.