Malicious code in css-anchor-pos-fallback (npm)
Description
Source: amazon-inspector (bd0a6c8e1448ffd9abb3732872ea3d49280a422d49524aaa57d0b89a73812f05)
The package advertises itself as a CSS anchor-position polyfill but on require executes an IIFE in thunderboltRegistry.js that runs id, whoami, uname -a, ifconfig/ip addr, and reads /etc/hosts, then POSTs the collected output along with hostname, platform, and Node version via fetch to the hardcoded external endpoint dxpoc.gt.tc/
---