Skip to main content

Malicious code in html-to-gutenberg (npm)

0
Critical
Published: 06/24/2026 (06/24/2026, 01:51:00 UTC)
Source: GCVE Database
Product: html-to-gutenberg

Description

The html-to-gutenberg npm package versions 4.2.11 through 4.2.22 contain malicious code that executes automatically when a developer opens the project folder in VS Code. This code masquerades as a font file but is actually a Node.js loader that fetches commands from blockchain-based and IP-based command and control servers, executing arbitrary attacker-supplied code on the developer's machine. The compromise allows full control of the affected computer, risking exposure of all stored secrets and keys.

Affected software

npmghsa
html-to-gutenberg
Affected versions
=4.2.11=4.2.14=4.2.16=4.2.15=4.2.13=4.2.12=4.2.17=4.2.18=4.2.19=4.2.20=4.2.21=4.2.22

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: 09/17/2026, 03:34:08 UTC

Technical Analysis

The html-to-gutenberg npm package includes a malicious file disguised as a FontAwesome font variant that is executed silently via a VS Code task configured to run on folder open. This loader queries Ethereum RPC endpoints and a blockchain indexer to retrieve the latest transaction from a hardcoded sender address. It decodes recipient addresses into two IPv4 command and control servers, from which it fetches XOR-encoded payloads. These payloads are executed dynamically using eval and detached Node.js processes, enabling remote code execution and persistent compromise of the developer workstation. This attack combines stealthy auto-execution, blockchain-based C2 rotation (EtherHiding), and arbitrary code execution.

Potential Impact

Any system with this package installed or running is considered fully compromised. The attacker gains persistent remote code execution capabilities, potentially accessing all secrets and keys stored on the machine. Removal of the package does not guarantee elimination of all malicious artifacts or backdoors, as full control may have been established.

Mitigation Recommendations

Immediate removal of the html-to-gutenberg package versions 4.2.11 through 4.2.22 is required. All secrets and keys stored on affected machines should be rotated from a separate, trusted system. Due to the high likelihood of full system compromise, a thorough incident response including forensic analysis and system rebuild is recommended. Patch status is not confirmed; check vendor advisories for updates. No official fix or patch links are provided in the source data.

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-6359
Osv Schema Version
1.7.4
Aliases
["GHSA-2gqj-wrf5-35w8"]
Ecosystems
["npm"]

Threat ID: 6a998f5facd9273b49192d43

Added to database: 09/03/2026, 15:16:47 UTC

Last enriched: 09/17/2026, 03:34:08 UTC

Last updated: 10/04/2026, 05:02:08 UTC

Views: 25

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