CriticalGHSA-254v-2947-w7m95 Oct · 19 days ago
Source ↗

Malicious code in popover-anchor-polyfill (npm).

Does it affect you?

Not read yet

Conditions are read within the hour after an advisory comes in.

Source: amazon-inspector (31e270ae326e5c45ebeb5fcf7bc9ff96126908c194bef5f280a4028fff0e9ed9) The package advertises itself as a 'popover anchor positioning polyfill' but ships thunderboltRegistry.js, which executes an IIFE on module load that spawns shell commands via child process.execSync ( id , whoami , uname -a , ifconfig / ip addr ) and reads /etc/hosts , then transmits each command's output together with hostname, Node version, platform, and pid over plain HTTP GET requests to the hardcoded endpoint http://dxpoc.gt.tc/callback.php/ef9ea0e191006f3cc6670720c99c26f3. The require path uses ca

Timeline

5 Oct
19 daysfrom publication to Patchwire
  1. Published by GitHub malware advisory5 Oct
  2. Seen by Patchwire23 Oct
popover-anchor-polyfillNo fix yet