Malicious code in css-ogojwh-polyfill (npm)
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/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.
---