Malicious Code Injection in sari-empal12-ruro Package
Summary
MAL-2025-108352: Malicious code in sari-empal12-ruro (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-empal12-ruro package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary functionality of this package is to serve as a component in the token reward system, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the sari-empal12-ruro package stems from its inclusion in a malicious campaign that generates and publishes derivative packages with randomized names. This is achieved through scripts that modify the package.json file, removing private flags and changing version numbers. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of developers' reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-empal12-ruro
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 prevent the installation of this package by using npm's package-lock.json file to monitor your dependencies. Ensure that your project does not include sari-empal12-ruro in any of its dependency trees.
Conclusion
The sari-empal12-ruro package has been identified as a malicious entity within the npm ecosystem, capable of compromising project integrity through automated scripts. It is crucial for developers to remain vigilant and take immediate action to remove such packages and monitor their dependencies.
See every vulnerability recorded for sari-empal12-ruro →
FAQ
sari-empal12-ruro is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially harming your project's reputation and security by introducing unwanted or malicious code.
You should uninstall the sari-empal12-ruro package immediately and monitor your project for any other potentially malicious dependencies.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.