Critical Malicious Code Vulnerability in @galicia-toolkit/tag-manager Package
Summary
MAL-2026-17691: Malicious code in @galicia-toolkit/tag-manager (npm). Affects @galicia-toolkit/tag-manager versions 999.0.3 – 999.0.6. 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 @galicia-toolkit/tag-manager package is a scoped npm package that is intended for managing tags in applications. However, it has been identified as a dependency-confusion squat, which means it has been maliciously created to exploit the naming conventions of npm packages. This package has no legitimate functionality and is designed solely to exfiltrate sensitive information from the environment of any system that installs it.
Vulnerability Detail
The vulnerability stems from a malicious postinstall script within the @galicia-toolkit/tag-manager package version 999.0.6. This script collects sensitive environment variables such as AWS credentials and GitHub tokens, as well as system information like hostname and external IPs. The collected data is then sent to a hardcoded external server, compromising the security of any system that installs this package. The package's design ensures that it can easily be mistaken for a legitimate dependency, making it a significant threat to developers and organizations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @galicia-toolkit/tag-manager
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 @galicia-toolkit/tag-manager package altogether. If you must use it, consider isolating your development environment from sensitive data and using a virtual machine or container that does not have access to your actual credentials.
Conclusion
The @galicia-toolkit/tag-manager package poses a serious security risk due to its malicious code designed to exfiltrate sensitive information. It is essential to remove this package from your projects and monitor your environment for any potential breaches. Utilizing tools like Vulert can help in identifying such vulnerabilities in real-time.
See every vulnerability recorded for @galicia-toolkit/tag-manager →
FAQ
Immediately uninstall the package using 'npm uninstall @galicia-toolkit/tag-manager' and rotate any exposed credentials.
You can use Vulert to monitor your application for vulnerabilities. Simply upload your package-lock.json file to Vulert's playground at Vulert Scanner to check for any affected packages.
Having this package installed can lead to the exfiltration of sensitive information, including cloud credentials and tokens, which can compromise your entire system.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid installing unverified packages.
If immediate removal is not possible, ensure that your environment is isolated and does not contain sensitive information that could be exploited.