Malicious Code Injection in putri-keripik37-riris Package
Summary
MAL-2025-89668: Malicious code in putri-keripik37-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-keripik37-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies package metadata and floods the npm registry with variants.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the putri-keripik37-riris package. This code is designed to alter the package.json file by removing private flags, changing version numbers, and generating random package names. The continuous republishing of these variants can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising the integrity of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-keripik37-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-keripik37-riris package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Conclusion
The putri-keripik37-riris package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain application integrity.
See every vulnerability recorded for putri-keripik37-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The package contains code that modifies package metadata and floods the npm registry with variants, potentially compromising application integrity.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.
You should remove the putri-keripik37-riris package from your project and monitor for any updates or patches.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.