Malicious Code Injection in putri-wajit12-ruro Package
Summary
MAL-2025-107556: Malicious code in putri-wajit12-ruro (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-wajit12-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to manipulate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that alter its metadata and behavior.
Vulnerability Detail
The vulnerability in the putri-wajit12-ruro package stems from malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to flood the npm registry with derivative packages, ultimately leading to pollution of the registry and potential exploitation of developers' reputations. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation and publication of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-wajit12-ruro
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 temporarily avoid using the putri-wajit12-ruro package and any other packages that may be affected by similar malicious behaviors. Regularly monitor your package dependencies and consider using tools like Vulert to check for vulnerabilities in your application. You can access Vulert's playground at https://vulert.com/scanner to check if your application is affected without needing to sign up.
Conclusion
The putri-wajit12-ruro package contains malicious code that poses a significant risk to developers and their projects. It is crucial to remove this package and monitor for similar vulnerabilities to maintain the integrity of your software. Utilizing tools like Vulert can aid in identifying and managing these risks effectively.
See every vulnerability recorded for putri-wajit12-ruro →
FAQ
The putri-wajit12-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to manipulate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to pollution of the npm registry and affect your project's integrity.
You should uninstall the putri-wajit12-ruro package immediately using the command npm uninstall putri-wajit12-ruro and check for any other affected packages.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without needing to sign up.