Malicious code in @nimbusedge2/authxsas1 (npm)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (0b27280b8f4c1e044e49b77e58c7c8de895a002f51be51756bc40e909d3f6fa1)
package.json declares a preinstall lifecycle script that runs automatically on npm install. The script uses curl to fetch the cloud instance metadata service (169.254.169.254, accessed via the nip.io wildcard-DNS wrapper 169.254.169.254.nip.io/latest/meta-data/), base64-encodes the response, and POSTs it to a hardcoded third-party endpoint at canarytokens.com/