Malicious code in @galicia-toolkit/spa-build-config (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The malicious npm package @galicia-toolkit/spa-build-config (versions 999.0.3, 999.0.5, 999.0.6) includes a postinstall script that automatically executes upon installation. This script collects extensive sensitive data from the host environment, including hostname, username, network interfaces, environment variables, and credential-grade tokens such as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, and GitHub Actions OIDC tokens. The collected data is sent via HTTP POST to oob.s4yhii.com on port 9999 and beaconed via DNS lookups. The package's naming and versioning suggest it is a dependency confusion lure targeting internal scopes. The presence of this package grants attackers access to AWS accounts, GitHub repositories, npm publishing rights, and CI system tokens, effectively compromising the host system.
Potential Impact
Installation of this package results in the exfiltration of sensitive credentials and environment data, potentially allowing attackers full control over AWS accounts, GitHub repositories, npm publishing capabilities, and CI/CD pipelines. Any system with this package installed should be considered fully compromised. Secrets and keys stored on the affected system are at risk and must be rotated immediately. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
No official patch or fix is indicated. Immediate removal of the package @galicia-toolkit/spa-build-config versions 999.0.3, 999.0.5, and 999.0.6 is recommended. All credentials and secrets exposed to the compromised system should be rotated from a secure, unaffected environment. Consider auditing systems for further compromise and unauthorized access. Monitor for any suspicious activity related to AWS, GitHub, npm, and CI/CD pipelines. Due to the severity of the compromise, assume full system compromise and respond accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17690
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7hx2-c7qp-ggjp"]
- Ecosystems
- ["npm"]
Threat ID: 6ac80fc22cdf04f65639c3b3
Added to database: 10/08/2026, 21:48:50 UTC
Last enriched: 10/08/2026, 22:13:07 UTC
Last updated: 10/08/2026, 22:13:07 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.