Malicious code in catqrcodeconverter (npm)
Description
Source: amazon-inspector (3333f7b95e551ebf6ed266fb1de661b7419520ed3a922b05910ede132c7d6757)
Package catqrcodeconverter@99.2.1 wires both preinstall and postinstall lifecycle hooks in package.json to execute scripts/run.js. On npm install, run.js reads the installer's OS username via os.userInfo() and hostname via os.hostname() and POSTs them as JSON (with the package name) to a hardcoded collector at webhook.site/
---