MAL-2026-10234: Malicious code in slds-lsp-client (npm)
The slds-lsp-client npm package was published by a malicious actor as part of a dependency confusion attack. It impersonates an internal Salesforce SLDS language-server tooling package to trick misconfigured resolvers into installing it instead of the legitimate private package. The package includes a preinstall hook that executes automatically during installation, sending telemetry data such as the host's public IP and environment details to an attacker-controlled Sentry endpoint. This behavior is consistent with reconnaissance rather than direct exploitation. No patch or remediation guidance is provided in the data.
AI Analysis
Technical Summary
The slds-lsp-client package on npm was published by user 'click2ai' as part of a dependency confusion and reconnaissance campaign. It mimics a private Salesforce SLDS LSP tooling namespace to be installed mistakenly by misconfigured package resolvers. The package's preinstall hook runs automatically during npm install, executing a script that initializes the @sentry/node client with a hardcoded attacker-controlled DSN. It collects the host's public IP by querying Cloudflare's trace endpoint and captures a runtime exception to send telemetry including default PII (hostname, OS username, runtime metadata) to the attacker's Sentry project. Each package in the campaign uses a distinct Sentry project ID to attribute installs to specific victims. The payload is identical across packages except for the package name and target DSN. This is a reconnaissance beacon rather than a direct exploit.
Potential Impact
The malicious package exfiltrates telemetry data including the host's public IP address, hostname, OS username, and runtime environment metadata to an attacker-controlled Sentry endpoint during installation. This can reveal information about the victim environment and confirm successful installation of the malicious package. There is no indication of further exploitation beyond reconnaissance in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should audit their package dependencies and resolver configurations to prevent dependency confusion attacks. Avoid installing packages from untrusted or unexpected namespaces. Monitor for suspicious preinstall scripts in npm packages. Since no official fix is indicated, manual mitigation by correcting dependency resolution and removing the malicious package is advised.
MAL-2026-10234: Malicious code in slds-lsp-client (npm)
Description
The slds-lsp-client npm package was published by a malicious actor as part of a dependency confusion attack. It impersonates an internal Salesforce SLDS language-server tooling package to trick misconfigured resolvers into installing it instead of the legitimate private package. The package includes a preinstall hook that executes automatically during installation, sending telemetry data such as the host's public IP and environment details to an attacker-controlled Sentry endpoint. This behavior is consistent with reconnaissance rather than direct exploitation. No patch or remediation guidance is provided in the data.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The slds-lsp-client package on npm was published by user 'click2ai' as part of a dependency confusion and reconnaissance campaign. It mimics a private Salesforce SLDS LSP tooling namespace to be installed mistakenly by misconfigured package resolvers. The package's preinstall hook runs automatically during npm install, executing a script that initializes the @sentry/node client with a hardcoded attacker-controlled DSN. It collects the host's public IP by querying Cloudflare's trace endpoint and captures a runtime exception to send telemetry including default PII (hostname, OS username, runtime metadata) to the attacker's Sentry project. Each package in the campaign uses a distinct Sentry project ID to attribute installs to specific victims. The payload is identical across packages except for the package name and target DSN. This is a reconnaissance beacon rather than a direct exploit.
Potential Impact
The malicious package exfiltrates telemetry data including the host's public IP address, hostname, OS username, and runtime environment metadata to an attacker-controlled Sentry endpoint during installation. This can reveal information about the victim environment and confirm successful installation of the malicious package. There is no indication of further exploitation beyond reconnaissance in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should audit their package dependencies and resolver configurations to prevent dependency confusion attacks. Avoid installing packages from untrusted or unexpected namespaces. Monitor for suspicious preinstall scripts in npm packages. Since no official fix is indicated, manual mitigation by correcting dependency resolution and removing the malicious package is advised.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10234
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae0168715ace438f80ad
Added to database: 07/13/2026, 09:21:05 UTC
Last enriched: 07/13/2026, 09:56:26 UTC
Last updated: 07/13/2026, 09:56:26 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.