Malicious Code Injection in vida-empal73-riris Package - npm Vulnerability
Summary
MAL-2025-91780: Malicious code in vida-empal73-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 vida-empal73-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 for token rewards. However, it has been identified as malicious due to its harmful payload that modifies package configurations.
Vulnerability Detail
The vulnerability in the vida-empal73-riris package originates from its malicious code that alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of projects relying on this package. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate these processes, making it difficult for developers to track and manage their dependencies effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-empal73-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 vida-empal73-riris package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file does not include any references to this malicious package.
Conclusion
The vida-empal73-riris package poses a significant risk due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial for developers to remove this package from their projects and monitor for similar vulnerabilities using tools like Vulert.
See every vulnerability recorded for vida-empal73-riris →
FAQ
The vida-empal73-riris package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
This vulnerability can compromise your project's integrity by introducing malicious code that modifies your package configurations and pollutes the npm registry.
You should uninstall the vida-empal73-riris package immediately using the command: npm uninstall vida-empal73-riris.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.
You can check if your application is affected by using the Vulert playground at Vulert Scanner without any signup.