Malicious Code Injection in ogi-sasag82-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-106600: Malicious code in ogi-sasag82-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-sasag82-ruro' is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for rewards associated with the tea protocol, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'ogi-sasag82-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 leading to reputation damage for legitimate developers. The origin of this vulnerability is linked to the broader trend of malicious packages flooding the npm ecosystem, exploiting the trust developers place in package integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-sasag82-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-sasag82-ruro' package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes and consider using tools like Vulert to track vulnerabilities in your dependencies.
Conclusion
The 'ogi-sasag82-ruro' package presents a significant threat to the npm ecosystem due to its malicious behavior of modifying package files and republishing variants. Developers are urged to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for ogi-sasag82-ruro →
FAQ
It is a malicious npm package that is part of a campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to unauthorized changes in your package.json file, potentially compromising the integrity of your project and affecting your reputation as a developer.
You should uninstall the 'ogi-sasag82-ruro' package immediately and review your other dependencies for similar vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for 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 any signup.