{"id":"MAL-2026-16303","revision":"c5786474c60d4a34b78c58596f4ea713","records":[{"revision":"c5786474c60d4a34b78c58596f4ea713","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16303","aliases":[],"title":"Malicious code in @nimbusedge2/authxsas (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0146259024cc8ef3a174ff98571fe4af975b3eecf9184a0a5339d42808243d10)\nThe 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 (http://canarytokens.com/terms/7dc94zmd3so67n5vbz5bxmt7v/contact.php). On installers running on AWS/GCP/Azure hosts with IMDS reachable, this leaks IAM role identifiers and, on IMDSv1, temporary cloud credentials to a third-party canary endpoint at install time. The tarball ships no source files; the manifest and its preinstall hook are the entire payload. The scope name and package name are consistent with a dependency-confusion / SSRF canary probe targeting an internal namespace.\n","state":0,"publishedAt":"2026-09-21T03:07:04+00:00","modifiedAt":"2026-09-21T03:30:16.6165265+00:00","affected":[{"ecosystem":"npm","name":"@nimbusedge2/authxsas","ranges":[],"versions":["1.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@nimbusedge2/authxsas/v/1.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16303","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16303","identifiers":["MAL-2026-16303"]},"retained":false,"historicalAffected":[]}],"coverage":[]}