Malicious Code Injection in vida-sambel58-riris Package
Summary
MAL-2025-91843: Malicious code in vida-sambel58-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-sambel58-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 compromised to include malicious code that modifies its own metadata and publishes variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that remove private flags from package.json, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry with numerous malicious variants, potentially harming developers and users by compromising the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-sambel58-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, avoid using the vida-sambel58-riris package and monitor your project's dependencies for any instances of this package. You can also use tools like Vulert to monitor your application for vulnerabilities without needing to access the code directly.
Conclusion
The vida-sambel58-riris package has been identified as containing malicious code that can compromise the integrity of the npm ecosystem. It is crucial for developers to remove this package from their projects and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for vida-sambel58-riris →
FAQ
It is an npm package that is part of a token reward campaign but has been compromised to include malicious code.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should uninstall the package immediately and check for any dependencies that may rely on it.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.