alb-lambda-cdk
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-crmc-3m53-3crf
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in alb-lambda-cdk (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (27e7f2cab2ae9d15c37e236190c685c42b7d3a0ecf92b7b72e9ad00b936ff186)
Package name suggests an AWS CDK construct for ALB/Lambda but the shipped code is a thin @sentry/node wrapper. The npm preinstall script runs npm install @sentry/node && node examples/verify.js. examples/verify.js calls init() without a DSN (defaulting to a hardcoded author-owned DSN at o4510485815754752.ingest.us.sentry.io/4511632673275909), invokes setUserFromPublicIp() to fetch the installer's public IP from Cloudflare's trace endpoint and attach it as the Sentry user's ip_address, throws a scripted error to force event capture, and awaits flush(5000) so the event is delivered before install completes. src/index.js hardcodes the same DEFAULT_DSN and forces sendDefaultPii:true, so any consumer that calls the library's init() without an explicit DSN also routes their captured exceptions, user IPs, and Sentry-default host/runtime PII to the same author-controlled Sentry project. README contains only install instructions and does not disclose the beacon or the hardcoded DSN. The install-time behavior fires automatically on npm install with no opt-in, and the name divergence from a legitimate AWS CDK construct is consistent with a typosquat lure.
Source: ghsa-malware (18b4d2c02af6232b1a73b084148490b5d46143eb883aa076d55a386e62839b3f)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0