Malicious Code Injection in vina-nasipecel63-riris Package
Summary
MAL-2025-91923: Malicious code in vina-nasipecel63-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-nasipecel63-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with derivative packages. The primary function of this package, like others in the campaign, is to generate and publish random packages to inflate developer reputation scores. However, it has been compromised to include malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in the vina-nasipecel63-riris package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to manipulate the npm registry by flooding it with numerous derivative packages. The ramifications include potential security risks for developers who unknowingly install these compromised packages, as they can lead to further exploitation or pollution of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vina-nasipecel63-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 affected package by replacing it with a similar, trusted package that provides the same functionality. Always verify the integrity and source of packages before installation.
Conclusion
The vina-nasipecel63-riris package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is essential to remove this package and monitor your projects for vulnerabilities. Utilizing tools like Vulert can help you stay informed and secure.
See every vulnerability recorded for vina-nasipecel63-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish random packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using npm uninstall vina-nasipecel63-riris and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without signup.
Yes, it is crucial to stay informed about vulnerabilities in the npm ecosystem and regularly check for updates on packages you use.