Malicious Code Injection in galih-soto28-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-103049: Malicious code in galih-soto28-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 'galih-soto28-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. Its primary functionality is to serve as a token reward mechanism, but it has been compromised to include harmful scripts that manipulate package metadata and publish variants to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in 'galih-soto28-ruro' originates from its inclusion in a malicious campaign that deploys autopublish scripts. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to a polluted npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently introduce malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall galih-soto28-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 avoid using the 'galih-soto28-ruro' package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall galih-soto28-ruro.
Conclusion
The 'galih-soto28-ruro' package poses a significant threat due to its malicious code designed to manipulate npm registry data. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their applications by removing affected packages and using monitoring tools like Vulert.
See every vulnerability recorded for galih-soto28-ruro →
FAQ
It is an npm package that is part of a malicious campaign designed to manipulate package metadata and inflate developer reputation scores.
If your application uses this package, it may inadvertently include malicious code, compromising its security and integrity.
You should uninstall the package immediately and monitor your application for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.