Malicious Code Injection in sari-bubur89-riris Package - npm Vulnerability
Summary
MAL-2025-90340: Malicious code in sari-bubur89-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 sari-bubur89-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 identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on legitimate packages. The malicious scripts included in this package are designed to automate the exploitation process, making it a significant threat to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-bubur89-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 workaround, you can avoid using the sari-bubur89-riris package altogether. If it is already in use, consider removing it from your dependencies and replacing it with a trusted alternative. You can do this by running: npm uninstall sari-bubur89-riris.
Conclusion
The sari-bubur89-riris package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial for developers to remove this package from their projects and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your applications by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for sari-bubur89-riris →
FAQ
The sari-bubur89-riris package is part of the npm ecosystem and is associated with a token reward campaign that automates the generation of derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially affecting other packages and developers relying on legitimate software.
You should remove the sari-bubur89-riris package from your project and monitor for any updates or patches that may be released.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and avoid using untrusted packages.