Malicious Code Injection in putri-pecel79-riris Package
Summary
MAL-2025-89753: Malicious code in putri-pecel79-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-pecel79-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with randomized names. Its primary function is to inflate developer reputation scores for rewards related to the tea protocol. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the putri-pecel79-riris package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-pecel79-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 remove the putri-pecel79-riris package from your project by using the command: npm uninstall putri-pecel79-riris. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The putri-pecel79-riris package has been identified as containing malicious code that compromises the integrity of the npm registry and poses risks to developers. It is crucial to take immediate action by updating or removing the package to safeguard your projects.
See every vulnerability recorded for putri-pecel79-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code modifies your package.json file and can lead to the republishing of compromised packages, potentially exposing your project to security risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
Regularly update your dependencies, use tools like Vulert to monitor for vulnerabilities, and review package sources before installation.