Skip to main content

Malicious code in @galicia-toolkit/error-master (npm)

0
High
Published: 10/08/2026 (10/08/2026, 16:23:00 UTC)
Source: GCVE Database
Product: @galicia-toolkit/error-master

Description

The npm package @galicia-toolkit/error-master version 999.0.3 contains malicious code that exfiltrates sensitive host and user information via DNS queries during installation. This occurs automatically on npm install without further user interaction. The package appears to be a dependency confusion attack payload designed to override an internal package. Systems with this package installed should be considered fully compromised.

Affected software

npmghsa
@galicia-toolkit/error-master
Affected versions
=999.0.3

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

AILast updated: 10/08/2026, 22:13:17 UTC

Technical Analysis

The malicious npm package @galicia-toolkit/error-master version 999.0.3 executes a postinstall script that hex-encodes the installer's hostname, current working directory, platform/architecture/Node version, and environment variables related to user identity (USER/USERNAME/LOGNAME). It then sends this data via DNS queries to an attacker-controlled authoritative nameserver under the domain oob.s4yhii.com, effectively creating an out-of-band data exfiltration channel. The package name and version suggest it is crafted for dependency confusion attacks to supersede an internal package of the same name. The DNS beacon triggers automatically upon installation, leaking sensitive identifiers without any additional user action.

Potential Impact

Any system that installs this package is considered fully compromised due to the exfiltration of sensitive environment and host information. The attacker gains knowledge of hostnames, user identities, and environment details, which can facilitate further attacks. Because the package may grant full control to an attacker, all secrets and keys stored on the compromised system should be rotated immediately from a separate, trusted system. Removing the package alone does not guarantee removal of all malicious components.

Mitigation Recommendations

Remove the malicious package immediately. Rotate all secrets and keys that were stored or accessible on the compromised system from a different, secure computer. Because the package grants potential full control to an attacker, assume the system is fully compromised and consider rebuilding or isolating the affected host. Monitor for any signs of persistent malicious activity. There is no official patch or fix; remediation requires removal and secret rotation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17689
Osv Schema Version
1.7.4
Aliases
["GHSA-42vv-c8c8-q765"]
Ecosystems
["npm"]

Threat ID: 6ac80fc22cdf04f65639c3b4

Added to database: 10/08/2026, 21:48:50 UTC

Last enriched: 10/08/2026, 22:13:17 UTC

Last updated: 10/08/2026, 22:13:17 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses