Malicious Code Injection in vida-tiwul94-riris: npm Package Vulnerability
Summary
MAL-2025-91860: Malicious code in vida-tiwul94-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-tiwul94-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 containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the vida-tiwul94-riris package originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This can result in significant ramifications, including the potential for malicious actors to exploit the npm ecosystem, degrade the quality of available packages, and undermine developer trust.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-tiwul94-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 remove the vida-tiwul94-riris package from your project by executing the command: npm uninstall vida-tiwul94-riris. This will prevent any malicious code from executing while you assess the situation and look for a secure alternative package.
Conclusion
The vida-tiwul94-riris package has been identified as containing malicious code that compromises the integrity of the npm ecosystem. It is essential for developers to take immediate action by updating or removing the package and to utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for vida-tiwul94-riris →
FAQ
The vida-tiwul94-riris package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and degrading the quality of the npm registry.
If you have installed the vida-tiwul94-riris package, it is crucial to uninstall it immediately and check for any other affected packages in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. It utilizes package-lock.json to alert you of any issues without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.