Malicious Code Injection in Galacticdreamer Package: npm Vulnerability Overview
Summary
MAL-2025-171241: Malicious code in galacticdreamer (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
Galacticdreamer is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability in the Galacticdreamer package stems from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, potentially leading to security risks for users who install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall galacticdreamer
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 remove the Galacticdreamer package from your project by executing 'npm uninstall galacticdreamer'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The Galacticdreamer package has been identified as containing malicious code that poses significant security risks. It is crucial for developers to update or remove this package to protect their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for galacticdreamer →
FAQ
Galacticdreamer is an npm package associated with the tea.xyz token reward campaign, designed to automate token rewards through various scripts.
The vulnerability modifies package.json files, removes private flags, changes version numbers, and generates random package names, leading to potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.
If immediate updates are not possible, consider uninstalling the package as a temporary measure to prevent any malicious code execution.
Regularly check for updates to your packages and utilize tools like Vulert to monitor vulnerabilities in your open-source dependencies.