Malicious Code Injection in vida-bakso84-riris Package - npm Vulnerability
Summary
MAL-2025-91769: Malicious code in vida-bakso84-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-bakso84-riris package is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish itself, leading to potential abuse within the npm ecosystem.
Vulnerability Detail
The vulnerability in the vida-bakso84-riris package originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-bakso84-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 measure, you can avoid using the vida-bakso84-riris package and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your dependencies to ensure that no malicious packages are included in your project.
Conclusion
The vida-bakso84-riris package poses a significant risk due to its malicious behavior of modifying package files and republishing itself. Developers are advised to remove this package and any related ones from their projects to maintain the integrity of their applications. Regular audits and using tools like Vulert can help in identifying and mitigating such vulnerabilities.
See every vulnerability recorded for vida-bakso84-riris →
FAQ
The vida-bakso84-riris package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it harder to find legitimate packages and potentially compromising the security and integrity of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can also check your application using the Vulert playground at Vulert Scanner without any signup.
If you have installed the vida-bakso84-riris package, it is recommended to remove it immediately and check for any other potentially malicious packages in your project.
Currently, there is no specific patched version available for the vida-bakso84-riris package. It is best to remove the package and monitor for updates.