Malicious Code Exploit in sari-empal96-riris Package: npm Vulnerability Overview
Summary
MAL-2025-90342: Malicious code in sari-empal96-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-empal96-riris package is part of the npm ecosystem and has been identified as a component of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. The package's functionality is compromised due to its malicious payload, which modifies critical files and repurposes the package for nefarious activities.
Vulnerability Detail
The vulnerability originates from the package being part of a broader 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 not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-empal96-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 sari-empal96-riris package and instead look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The sari-empal96-riris package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their applications. It is essential to remove this package and monitor your dependencies for vulnerabilities using tools like Vulert. By staying vigilant and proactive, you can safeguard your projects from potential threats.
See every vulnerability recorded for sari-empal96-riris →
FAQ
The sari-empal96-riris package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
If your application uses the sari-empal96-riris package, it may be at risk of security breaches due to the malicious modifications made by the package, including the potential for unauthorized access to your codebase.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can provide real-time alerts for any vulnerabilities, including those from the sari-empal96-riris package.
If you have installed the sari-empal96-riris package, it is crucial to uninstall it immediately using the command 'npm uninstall sari-empal96-riris' and replace it with a trusted alternative.
There is no patch for the sari-empal96-riris package itself, as it is a malicious package. The best course of action is to remove it and avoid using any packages associated with the tea.xyz token reward campaign.