Malicious code in @inpeek/odata (npm)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (dad085b4b3e089d6a6d4e6812c66a8b45f10d40bc4ab39ea7bd0ce850d17ed4b)
@inpeek/odata@99.99.100 is a dependency-confusion placeholder published to the public npm registry on the unregistered @inpeek scope with an inflated version (99.99.100) designed to outrank any internal release of the same name. The package.json declares a postinstall lifecycle hook that executes ping.js on npm install. ping.js performs an unconditional HTTPS GET to the hardcoded collector URL webhook.site/
Source: ghsa-malware (56d18a846606e6f829b3795f65d1991ad2e97c7d7b42b7e946e906b3e7d387f4)
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.