Malicious Code Injection in putra-gulai85-ruro: A Threat to npm Packages
Summary
MAL-2025-107448: Malicious code in putra-gulai85-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 package 'putra-gulai85-ruro' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts. These scripts are designed to automatically generate and publish derivative packages, which can inflate developer reputation scores for token rewards. The presence of such malicious packages poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'putra-gulai85-ruro' originates from its malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is intended to pollute the npm registry, making it difficult for developers to identify legitimate packages. The ramifications include potential security risks for applications that depend on this package, as well as 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 putra-gulai85-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 measure, you can avoid using the 'putra-gulai85-ruro' package and replace it with a trusted alternative. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'putra-gulai85-ruro' package presents a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. Developers should take immediate action to remove this package and utilize tools like Vulert for ongoing monitoring of their dependencies.
See every vulnerability recorded for putra-gulai85-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for containing malicious scripts.
The malicious code can modify your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
You should remove the 'putra-gulai85-ruro' package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.