Malicious Code Injection in putri-liwet11-riris Package
Summary
MAL-2025-89690: Malicious code in putri-liwet11-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-liwet11-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, often with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this mechanism has made it susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability in the putri-liwet11-riris package arises from its malicious code, which modifies the package.json file by removing private flags and altering version numbers. It generates random Indonesian-themed package names and continuously republishes variants to pollute the npm registry. This behavior can lead to security risks, including the potential for unauthorized access to sensitive data and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-liwet11-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-liwet11-riris package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The putri-liwet11-riris package contains malicious code that poses significant risks to projects using it. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for putri-liwet11-riris →
FAQ
It is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications in your project, potentially compromising security and integrity.
You should uninstall the package immediately using 'npm uninstall putri-liwet11-riris' and check for any other affected packages.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.