Malicious Code Injection in surya-soto22-ruro Package
Summary
MAL-2025-109399: Malicious code in surya-soto22-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 surya-soto22-ruro package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages flooding the npm registry. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the surya-soto22-ruro package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surya-soto22-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 surya-soto22-ruro package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The surya-soto22-ruro package contains malicious code that poses significant risks to developers and their projects. It is crucial to remove this package and monitor for similar vulnerabilities to ensure the security of your applications.
See every vulnerability recorded for surya-soto22-ruro →
FAQ
The surya-soto22-ruro package is an npm package linked to the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the surya-soto22-ruro package immediately and check for any other affected packages in your project.
Yes, Vulert can monitor your project for open-source vulnerabilities using just the package-lock.json file, providing real-time alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.