Malicious Code Injection in galih-sasag16-ruro Package - npm Vulnerability
Summary
MAL-2025-103047: Malicious code in galih-sasag16-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 galih-sasag16-ruro package is part of the npm ecosystem, typically used for JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the galih-sasag16-ruro package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names and continuously republishes variants to pollute the npm registry. This can lead to unauthorized access, reputation damage for developers, and potential exploitation of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall galih-sasag16-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, you can prevent the installation of this package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include this package by reviewing your package.json and removing any references to it.
Conclusion
The galih-sasag16-ruro package poses a significant security risk due to its malicious nature. It is crucial for developers to be vigilant and remove such packages from their projects to maintain the integrity and security of their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for galih-sasag16-ruro →
FAQ
The galih-sasag16-ruro package is an npm package associated with a malicious campaign aimed at inflating developer reputation scores.
This vulnerability can lead to unauthorized modifications in your application, potentially exposing it to security risks and reputation damage.
You should uninstall the galih-sasag16-ruro package immediately and check for any dependencies that may rely on it.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.