Skip to main content
Menu
Advisories

Malicious code in @nimbusedge2/authxsas1 (npm)

MAL-2026-16304Published Updated OpenSSFMalware

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/terms/7dc94zmd3so67n5vbz5bxmt7v/contact.php. On cloud and CI installers this discloses instance identity metadata and, where IMDSv1 is reachable, temporary IAM credentials to the destination. The package's description field self-labels the beacon as an 'Authorized report' with a wearehackerone.com contact address; that label is author-controlled and does not change the behavior class — installing the package causes installer-side host and cloud metadata to be sent off-host to a canarytoken beacon.

Affected versions

References