Malicious Code Injection in vina-nasi68-ruro Package - npm Vulnerability
Summary
MAL-2025-110549: Malicious code in vina-nasi68-ruro (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-nasi68-ruro package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the vina-nasi68-ruro package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants pollutes the npm registry, leading to potential security risks for developers who may unknowingly use these compromised packages. The malicious payload can also lead to unauthorized access to sensitive information if the modified packages are integrated into applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vina-nasi68-ruro
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 use the following command to prevent the installation of the malicious package: 'npm install --no-optional vina-nasi68-ruro'. However, this does not eliminate the risk associated with the package, so it is recommended to remove it entirely.
Conclusion
The vina-nasi68-ruro package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for vina-nasi68-ruro →
FAQ
The vina-nasi68-ruro package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
If your application uses the vina-nasi68-ruro package, it may be at risk of integrating malicious code that can compromise security and lead to unauthorized access to sensitive information.
You should immediately uninstall the vina-nasi68-ruro package using 'npm uninstall vina-nasi68-ruro' and check your project for any other compromised 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 if your application is affected by this vulnerability without requiring any signup.