@galicia-toolkit/spa-build-config (npm) · Malicious Code
Affects @galicia-toolkit/spa-build-configSource GCVE Database
Malicious package : remove @galicia-toolkit/spa-build-config and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:27 UTC
Malicious package
Published to npm · OSV MAL-2026-17690
What to do
Remove @galicia-toolkit/spa-build-config from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@galicia-toolkit/spa-build-config | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package @galicia-toolkit/spa-build-config versions 999.0.3, 999.0.5, and 999.0.6 contains malicious code in its postinstall script. This script collects sensitive host and credential data, including environment variables with AWS, GitHub, npm, and GitHub Actions tokens, and exfiltrates this information to an external server. The package is likely a dependency confusion attack targeting internal scopes. Systems with this package installed should be considered fully compromised, and all secrets should be rotated immediately.
References
- github.com/advisories/GHSA-7hx2-c7qp-ggjp (opens in a new tab)
- npmjs.com/package/@galicia-toolkit/spa-build-config/v/999.0.3 (opens in a new tab)
- npmjs.com/package/@galicia-toolkit/spa-build-config/v/999.0.5 (opens in a new tab)
- npmjs.com/package/@galicia-toolkit/spa-build-config/v/999.0.6 (opens in a new tab)
- npmjs.com/package/@galicia-toolkit/spa-build-config (opens in a new tab)