Malicious Code Injection in sari-mangut39-riris Package
Summary
MAL-2025-90379: Malicious code in sari-mangut39-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-mangut39-riris package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by generating and publishing derivative packages with randomized names. The primary function of this package is to facilitate token rewards for the tea.xyz protocol, but it has been compromised to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the sari-mangut39-riris package originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion attacks, where legitimate packages may be overshadowed by these malicious variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-mangut39-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-mangut39-riris package and any packages that depend on it. Additionally, consider using a tool like Vulert to monitor your package-lock.json file for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The sari-mangut39-riris package poses a significant security risk due to its malicious behavior of modifying package metadata and republishing variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for sari-mangut39-riris →
FAQ
The sari-mangut39-riris package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
This vulnerability can lead to dependency confusion and may expose your application to security risks by allowing malicious packages to overshadow legitimate ones.
You should uninstall the sari-mangut39-riris package immediately and check for any dependencies that may rely on it.
Yes, you can use Vulert to monitor 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 requiring any signup.