Malicious code in fast-glob-fast (npm)
The fast-glob-fast npm package contains malicious code that installs a persistent SSH backdoor on affected systems. During installation, it appends a hardcoded attacker-controlled SSH public key to the user's ~/.ssh/authorized_keys file, granting remote access to the attacker. Additionally, it collects system identifiers and can report compromised hosts to a remote server if configured via environment variables. This behavior is delivered via a typosquatting attack on the legitimate fast-glob package.
AI Analysis
Technical Summary
The fast-glob-fast package is a typosquatting malicious npm package that executes a postinstall script to compromise the host. The script determines the platform-specific path to the ~/.ssh/authorized_keys file, creates the ~/.ssh directory if missing, and appends a hardcoded SSH public key, enabling persistent remote access. It also collects system information such as username, hostname, MAC address, platform, and architecture. If the environment variable FAST_GLOB_FAST_EVENT_URL is set, it sends this information as a JSON payload to a remote URL, optionally including a Bearer token from FAST_GLOB_FAST_EVENT_TOKEN. This combination of SSH backdoor installation and host reporting constitutes a persistent remote access threat delivered through a typosquatting attack.
Potential Impact
Systems that install the fast-glob-fast package version 9.0.0 or 11.0.0 may have an unauthorized SSH public key added to their authorized_keys file, allowing attackers with the corresponding private key to gain persistent remote access. The package also exfiltrates system identifiers to a remote server if configured, potentially exposing compromised hosts to the attacker. This compromises host confidentiality and integrity by enabling stealthy remote control.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the fast-glob-fast package, which is a known typosquatting malicious package. Remove the package if installed, and inspect and clean the ~/.ssh/authorized_keys file to remove the unauthorized SSH key. Monitor for suspicious environment variables (FAST_GLOB_FAST_EVENT_URL and FAST_GLOB_FAST_EVENT_TOKEN) and network connections related to this threat. Patch status is not yet confirmed — check vendor advisories or npm security advisories for updates.
Malicious code in fast-glob-fast (npm)
Description
The fast-glob-fast npm package contains malicious code that installs a persistent SSH backdoor on affected systems. During installation, it appends a hardcoded attacker-controlled SSH public key to the user's ~/.ssh/authorized_keys file, granting remote access to the attacker. Additionally, it collects system identifiers and can report compromised hosts to a remote server if configured via environment variables. This behavior is delivered via a typosquatting attack on the legitimate fast-glob package.
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 fast-glob-fast package is a typosquatting malicious npm package that executes a postinstall script to compromise the host. The script determines the platform-specific path to the ~/.ssh/authorized_keys file, creates the ~/.ssh directory if missing, and appends a hardcoded SSH public key, enabling persistent remote access. It also collects system information such as username, hostname, MAC address, platform, and architecture. If the environment variable FAST_GLOB_FAST_EVENT_URL is set, it sends this information as a JSON payload to a remote URL, optionally including a Bearer token from FAST_GLOB_FAST_EVENT_TOKEN. This combination of SSH backdoor installation and host reporting constitutes a persistent remote access threat delivered through a typosquatting attack.
Potential Impact
Systems that install the fast-glob-fast package version 9.0.0 or 11.0.0 may have an unauthorized SSH public key added to their authorized_keys file, allowing attackers with the corresponding private key to gain persistent remote access. The package also exfiltrates system identifiers to a remote server if configured, potentially exposing compromised hosts to the attacker. This compromises host confidentiality and integrity by enabling stealthy remote control.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the fast-glob-fast package, which is a known typosquatting malicious package. Remove the package if installed, and inspect and clean the ~/.ssh/authorized_keys file to remove the unauthorized SSH key. Monitor for suspicious environment variables (FAST_GLOB_FAST_EVENT_URL and FAST_GLOB_FAST_EVENT_TOKEN) and network connections related to this threat. Patch status is not yet confirmed — check vendor advisories or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14177
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a84fa65c6e8be0332ef130b
Added to database: 08/19/2026, 00:35:49 UTC
Last enriched: 08/19/2026, 00:50:42 UTC
Last updated: 08/19/2026, 00:57:13 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.
External Links
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.