Malicious Code Injection in putra-tumis42-ruro Package
Summary
MAL-2025-107474: Malicious code in putra-tumis42-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 putra-tumis42-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 inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious code that alters package metadata.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the putra-tumis42-ruro package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious scripts (auto.js, autopublish.js, etc.) continuously republish these variants, leading to pollution of the npm registry and potential security risks for developers relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-tumis42-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 temporary workaround, avoid using the putra-tumis42-ruro package until a secure version is released. You can also monitor your package-lock.json file for any dependencies that may introduce this vulnerability. Use tools like Vulert to check for vulnerabilities in your dependencies.
Conclusion
The putra-tumis42-ruro package contains malicious code that poses significant risks to developers and their projects. Immediate action is required to remove the package and monitor for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for putra-tumis42-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using 'npm uninstall putra-tumis42-ruro' and check for any updates or alternatives.
Yes, you can use Vulert to monitor your package-lock.json file for real-time alerts on open-source vulnerabilities without needing to install any software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.