Malicious Code Injection in putri-pecel5-riris Package
Summary
MAL-2025-89750: Malicious code in putri-pecel5-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-pecel5-riris package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This campaign aims to inflate developer reputation scores for token rewards, compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the putri-pecel5-riris package, which contains scripts designed to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, change version numbers, and continuously republish variants, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-pecel5-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-pecel5-riris package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The putri-pecel5-riris package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages from their projects.
See every vulnerability recorded for putri-pecel5-riris →
FAQ
It is an npm package identified as part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
Using this package can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall putri-pecel5-riris' and check your project for any other affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground.
Regularly audit your dependencies, use trusted sources for packages, and consider using tools like Vulert to monitor for vulnerabilities.