Malicious Code Injection in npm Package 'vina-kue30-riris'
Summary
MAL-2025-91899: Malicious code in vina-kue30-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 'vina-kue30-riris' package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. This package is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its primary functionality revolves around publishing scripts that create numerous variants of itself, potentially leading to a polluted npm registry.
Vulnerability Detail
The vulnerability in 'vina-kue30-riris' originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vina-kue30-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 prevent the installation of this package by adding it to your project's .npmrc file with the following line: 'package-lock=false'. This will stop npm from installing any packages that are not explicitly defined in your package.json.
Conclusion
The 'vina-kue30-riris' package poses significant risks due to its malicious behavior, which can compromise the integrity of the npm registry and the security of applications using it. It is essential to take proactive measures to remove this package and monitor for vulnerabilities.
See every vulnerability recorded for vina-kue30-riris →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert to monitor your project for vulnerabilities. By analyzing your package-lock.json file, Vulert can alert you in real-time if your application is affected.
Remove the package from your project and consider updating to a patched version if available. Regularly check for updates to maintain security.
Yes, you can add 'package-lock=false' to your .npmrc file to prevent npm from installing unapproved packages.
Using compromised packages can lead to security vulnerabilities in your application, including data breaches and unauthorized access.