MAL-2026-10923
Dashboard / Malicious Package / MAL-2026-10923
MAL-2026-10923
Summary: Malicious code in lwc-slds-lbc (npm)
Details: Source: amazon-inspector (935d61576a437061ec8dcb5799e9a40e2798fa900b8e6f5638eeb204dfdf0c79) package.json declares a preinstall script that executes examples/verify.js on npm install. verify.js invokes setUserFromPublicIp() from src/index.js, which fetches the installer's public egress IP from Cloudflare's cdn-cgi/trace endpoint, initializes Sentry with a hardcoded author-controlled DSN at o4510485815754752.ingest.us.sentry.io (project 4511716882972672), attaches the IP as the Sentry user ip_address, deliberately triggers an error via buggyFunction(), and flushes the event so the installer's IP and host telemetry are transmitted before any user code runs. Additionally, src/index.js's exported init()/check()/wrap() API falls back to the same hardcoded DSN when neither options.dsn nor process.env.SENTRY_DSN is set and enables sendDefaultPii: true, so consumers following the README route their application's exception data (including PII such as IP addresses) to the author's Sentry project by default. Source: ghsa-malware (1012357081d7f64d29bd6ddbe25552eabad3448e18c5a99a931cc1b20e31d072) 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.
References: https://github.com/advisories/GHSA-xm8f-w286-57x5, https://www.npmjs.com/package/lwc-slds-lbc/v/18.9.41
Affected packages
Package
Name: lwc-slds-lbc
Purl: pkg:npm/lwc-slds-lbc
Affected ranges
Type: SEMVER
Events:
