Malicious code in @cecm-web-sdk/core (npm)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (01486f39bf686dc3adf20501374bdaa430fab9a7125a995cd63352e3d50c3bad)
The package has no functional code: its declared main (index.js) exports a Proxy whose property access returns no-op functions, and the package describes itself as a 'Compatibility shim'. On npm install, the postinstall lifecycle hook (node beacon.cjs) runs and POSTs a payload containing the package name, OS hostname, install directory, current working directory, and Node version to the hardcoded bare-IP endpoint 185.158.107.175/
Source: ghsa-malware (95975e46912705ce591acef6b00c3b11b9dcf9f6ea8f1f89840a77a3ec6134d4)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.