MAL-2026-10923

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lwc-slds-lbc/MAL-2026-10923.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10923
Aliases
  • GHSA-xm8f-w286-57x5
Published
2026-07-20T17:03:57Z
Modified
2026-08-04T23:05:17Z
Summary
Malicious code in lwc-slds-lbc (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-xm8f-w286-57x5",
            "import_time": "2026-07-20T17:55:48.501326328Z",
            "modified_time": "2026-07-20T17:03:57Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "1012357081d7f64d29bd6ddbe25552eabad3448e18c5a99a931cc1b20e31d072",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011303",
            "import_time": "2026-08-04T22:30:09.948319334Z",
            "modified_time": "2026-08-04T22:01:54Z",
            "sha256": "935d61576a437061ec8dcb5799e9a40e2798fa900b8e6f5638eeb204dfdf0c79",
            "source": "amazon-inspector",
            "versions": [
                "18.9.41"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / lwc-slds-lbc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

18.*
18.9.41

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "src/index.js",
            "sha256": "92e649cee4043acb92549b13c07b4d4059b432828f1879c2d1a910bfb0b0fdfa",
            "tlsh": "2a12a69a75fa232301e250f0025f90d97365c6763339a9e071594be92fc90b8d6b3ed5"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lwc-slds-lbc/MAL-2026-10923.json"