Malicious Code Injection in putri-soto83-riris Package - npm Vulnerability
Summary
MAL-2025-89784: Malicious code in putri-soto83-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 putri-soto83-riris package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The functionality of this package is compromised due to malicious scripts that modify its metadata and continuously republish variants, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the putri-soto83-riris package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the proliferation of untrustworthy packages in the npm registry. The ramifications include potential security risks for developers who unknowingly integrate these packages into their projects, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-soto83-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 putri-soto83-riris package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert to detect vulnerabilities in real-time.
Conclusion
The putri-soto83-riris package contains malicious code that poses a significant risk to developers and the integrity of the npm ecosystem. It is crucial to remove this package from your projects and monitor for any updates or alternative solutions. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for putri-soto83-riris →
FAQ
The putri-soto83-riris package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The malicious code modifies your package.json file, potentially leading to the inclusion of untrustworthy packages and compromising the security of your project.
You should remove the putri-soto83-riris package from your project and monitor for any updates or patches that may be released in the future.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.