Malicious Code Injection in sari-papeda15-riris Package
Summary
MAL-2025-90396: Malicious code in sari-papeda15-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-papeda15-riris package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered names and metadata. This behavior aims to inflate developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in the sari-papeda15-riris package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and creates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of projects that depend on these packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been associated with various malicious npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-papeda15-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 measure, you can prevent the installation of this package by using npm's package-lock.json to monitor and restrict the use of vulnerable packages. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner.
Conclusion
The sari-papeda15-riris package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Tools like Vulert can assist in maintaining the security of your projects.
See every vulnerability recorded for sari-papeda15-riris →
FAQ
The sari-papeda15-riris package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of numerous derivative packages.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project by introducing unwanted or malicious packages.
You should remove the sari-papeda15-riris package from your project and monitor for any updates or patches that may be released in the future.
Yes, Vulert can monitor your dependencies for vulnerabilities in real-time using just your package-lock.json file, providing alerts for any issues.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.