Malicious Code Injection in putra-sate92-riris Package: A Threat to npm Ecosystem
Summary
MAL-2025-89601: Malicious code in putra-sate92-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 putra-sate92-riris package is part of a larger set of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. The primary functionality of this package is to inflate developer reputation scores for token rewards, but it does so through deceptive practices that compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the putra-sate92-riris package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes these variants, leading to pollution of the npm registry. This behavior not only affects the reputation of developers but also poses a risk to users who may unknowingly install 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 putra-sate92-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 putra-sate92-riris package and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks associated with malicious packages.
Conclusion
The putra-sate92-riris package poses a significant threat to the npm ecosystem due to its malicious code that manipulates package metadata and floods the registry with compromised packages. It is essential to remove this package from your projects and utilize tools to monitor for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for putra-sate92-riris →
FAQ
The putra-sate92-riris package is a malicious npm package that is part of a campaign to inflate developer reputation scores through deceptive practices.
This vulnerability can compromise the integrity of your project by introducing malicious code that alters your package.json file and pollutes the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without any signup.
If you have installed the putra-sate92-riris package, you should uninstall it immediately using npm uninstall putra-sate92-riris and audit your project for any other vulnerabilities.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your dependencies effectively.