Malicious code in @nimbusedge2/authxsas (npm)
Description
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (0146259024cc8ef3a174ff98571fe4af975b3eecf9184a0a5339d42808243d10)
The package's package.json declares a preinstall script that fires unconditionally on npm install. The script uses curl to query the cloud instance metadata service via the nip.io wildcard-DNS resolver (169.254.169.254.nip.io/latest/meta-data/), base64-encodes the response, and POSTs it over plain HTTP to a hardcoded canarytokens.com endpoint (canarytokens.com/