MAL-2026-6359
Malicious code in html-to-gutenberg (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (d8a81a28406e20afb4ca23058394ebd8b749e84333b0fd24a3b2e63a65b18c57) The tarball contains `.vscode/tasks.json` with a hidden task (`hide: true`, `runOn: folderOpen`, label `eslint-check`) whose command executes `node./public/fonts/fa-solid-400.woff2`. The referenced file is not a WOFF2 font; it is obfuscated Node.js source (hex-identifier obfuscator preamble `global.i = 'A8'; const _0x3d50aa=_0x4540;...`, `global.r=require`) that imports `http`, `https`, `zlib`, and `child_process.spawn` and references `ETH_RPC_URL`, `INDEXER_URL`, and multiple Ethereum RPC endpoints. The filename `fa-solid-400.woff2` does not correspond to any real FontAwesome asset (the solid variant is weight 900) and it sits alongside genuine FontAwesome files in `public/fonts/` to blend with static assets; the only reference to it is the hidden folderOpen task. Any developer who opens the project directory in VS Code triggers silent execution of the disguised payload on their workstation without any npm lifecycle script running.
## Source: ghsa-malware (6381496c1a275836b5d3c11ca7f141ad32f84b5263450bf5cb3c9a91289dcd1d) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for html-to-gutenberg (npm). Pin to a known-safe version or switch to an alternative.