Malicious Code Injection in sari-tomat91-riris Package - npm Vulnerability
Summary
MAL-2025-90427: Malicious code in sari-tomat91-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-tomat91-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code components. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the sari-tomat91-riris package stems from its association with a malicious campaign that modifies package.json files 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 compromising the integrity of applications that depend on these packages. The malicious payload is designed to exploit the npm ecosystem by creating a large number of derivative packages that can mislead developers and users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-tomat91-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 manually remove the sari-tomat91-riris package from your project by running the following command: npm uninstall sari-tomat91-riris. Additionally, consider using tools like Vulert to monitor your package-lock.json file for any open-source vulnerabilities.
Conclusion
The sari-tomat91-riris package poses a significant risk due to its malicious behavior, which can compromise the integrity of applications relying on it. It is essential to remove this package and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for sari-tomat91-riris →
FAQ
The sari-tomat91-riris package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry with malicious packages, potentially compromising your application's integrity and security.
You should immediately uninstall the sari-tomat91-riris package and monitor your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.