Malicious Code Injection in vera-gembus92-riris: A Threat to npm Users
Summary
MAL-2025-91682: Malicious code in vera-gembus92-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 'vera-gembus92-riris' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious code that modifies critical files.
Vulnerability Detail
The vulnerability in 'vera-gembus92-riris' originates from its involvement in a malicious campaign that floods the npm registry with spam packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vera-gembus92-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 this package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert to stay informed about vulnerabilities.
Conclusion
The 'vera-gembus92-riris' package poses a significant risk due to its malicious code that alters package files and spams the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for vera-gembus92-riris →
FAQ
The main issue is that it contains malicious code that modifies package.json and floods the npm registry with spam packages.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the package immediately using 'npm uninstall vera-gembus92-riris' and check for any other affected packages.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just your package-lock.json.
Uninstalling the package should not cause data loss, but ensure that you have backups of your project and check for any dependencies that might be affected.