Malicious code in another-very-long-name (npm)
Description
Source: amazon-inspector (eea9e3cf3d973c07d09048435d4ddc496574ce222d650c228b1400d866ea3ccf)
another-very-long-name@1.0.1 ships a beacon.cjs that is invoked both from the declared postinstall lifecycle script and from the module's require()-time entry (index.js). On execution it collects host identifiers — hostname, install path, process.cwd(), process.version, OS metadata, and the package name — and POSTs them as JSON to the hardcoded cleartext endpoint 185.158.107.175/
---