Malicious Code Injection in ogi-gandul44-riris: A Threat to npm Packages
Summary
MAL-2025-89058: Malicious code in ogi-gandul44-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-gandul44-riris' is part of a series of npm packages that emerged during 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 originates from malicious code embedded within the 'ogi-gandul44-riris' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include potential pollution of the npm registry, increased risk of dependency confusion, and compromised application security as developers may unknowingly integrate these malicious packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ogi-gandul44-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 avoid using the 'ogi-gandul44-riris' package and replace it with a trusted alternative. Always review the packages you include in your project for any signs of malicious behavior.
Conclusion
The 'ogi-gandul44-riris' package poses a significant security risk due to its malicious code designed to manipulate npm registry entries. It is crucial for developers to be vigilant about the packages they use and to implement best practices for dependency management to safeguard their applications.
See every vulnerability recorded for ogi-gandul44-riris →
FAQ
It is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the 'ogi-gandul44-riris' package immediately and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.