Skip to main content
Menu
Advisories

Malicious code in css-ogojwh-polyfill (npm)

GHSA-29MX-X4MQ-3X9JPublished Updated GitHubMalware

Description

Source: amazon-inspector (aff543635c832e0563229f42fcc7673c835f2ba5a9ae41d680aa572cfba49765)

css-ogojwh-polyfill@1.0.0 presents itself as a CSS polyfill but ships thunderboltRegistry.js which, on require, runs an IIFE that executes shell commands via child_process.execSync (id, whoami, uname -a, ifconfig/ip addr, cat /etc/hosts) and POSTs their output along with hostname, Node version, platform and pid to the hardcoded endpoint dxpoc.gt.tc/callback.php/bb8968d0f67000433bf7005dd5ad2d1f, with a beacon label of rce-poc. The module also exports no-op Proxy stubs under module names matching Wix thunderbolt registry modules (thunderboltRegistry, siteAssetsRegistry, editorRegistry), consistent with a dependency-confusion / typosquat shim whose only real behavior is the recon-and-exfil payload executed at import time.

---

Credit: OpenSSF (source)

Affected versions

References