Malicious Code Injection in putri-soto79-riris Package - npm Vulnerability
Summary
MAL-2025-89783: Malicious code in putri-soto79-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-soto79-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 malicious nature of this package lies in its ability to modify critical files and republish itself, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability in the putri-soto79-riris package originates from its inclusion in a malicious campaign that aims to manipulate the npm ecosystem. The package contains scripts that alter the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the proliferation of untrustworthy packages in the npm registry, compromising the integrity of the ecosystem and potentially leading to security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-soto79-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 workaround, you can avoid using the putri-soto79-riris package altogether. If it is already in your project, consider replacing it with a reputable alternative that does not exhibit malicious behavior. Regularly audit your dependencies using tools like npm audit to identify and address vulnerabilities.
Conclusion
The putri-soto79-riris package poses a significant risk due to its malicious behavior aimed at manipulating the npm ecosystem. It is crucial for developers to be vigilant about their dependencies and take immediate action to remove any affected packages to maintain the integrity of their projects.
See every vulnerability recorded for putri-soto79-riris →
FAQ
The putri-soto79-riris package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the introduction of untrustworthy packages into your project, potentially compromising security and stability.
You should uninstall the putri-soto79-riris package immediately and check for any dependencies that may rely on it.
You can use tools like npm audit or Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.