OpenSSF/OSV advisory MAL-2026-10923 confirms this npm version as malicious. 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,...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in lwc-slds-lbc (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms lwc-slds-lbc@18.9.41 as malicious (MAL-2026-10923): Malicious code in lwc-slds-lbc (npm)