Malicious Code Injection in surya-rawon47-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-109392: Malicious code in surya-rawon47-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 'surya-rawon47-ruro' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary functionality of such packages is to manipulate developer reputation scores by generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in 'surya-rawon47-ruro' stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to continuously republish variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes such malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surya-rawon47-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 prevent the installation of this package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include 'surya-rawon47-ruro' in its dependencies. You can also use the following command to uninstall it: npm uninstall surya-rawon47-ruro.
Conclusion
The 'surya-rawon47-ruro' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package data. It is essential to remove this package and monitor your project for similar vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for surya-rawon47-ruro →
FAQ
'surya-rawon47-ruro' is an npm package that has been identified as malicious, designed to manipulate npm registry data.
The malicious code can compromise your project's integrity by polluting the npm registry and affecting your developer reputation.
You should immediately uninstall the package and check for any other malicious packages in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.