Malicious code in css-hgwctv-polyfill (npm)
Description
Source: amazon-inspector (ee1103a16c6f933686f07e8ce94068057f49e5cf2f0a6a9ccf01f2baeb7cfe95)
On require, thunderboltRegistry.js runs an immediately-invoked function that uses child_process.execSync to collect host identity and network reconnaissance from the installer's machine (id, whoami, uname -a, ifconfig/ip addr, and /etc/hosts), plus hostname, Node.js version, platform and pid, and transmits each result via fetch to the hardcoded plain-HTTP endpoint dxpoc.gt.tc/
---