Malicious code in pflag29424 (npm)
Description
Source: amazon-inspector (d9b974c9d8555f026dfc5556c4f628d366fbaedca83eab549559fe95fc984602)
index.js (the package's declared main) unconditionally executes on module load: it calls fetch('/profile'), scans the response for a DGA{...} token, and sends either the matched token or the first 300 characters of the response as a query parameter to a hardcoded anonymous collector at webhook.site/
---