@logdna-web/shared (npm) · Malicious Code
Affects @logdna-web/sharedSource GCVE Database
Malicious package : remove @logdna-web/shared and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:38 UTC
Malicious package
Published to npm · OSV MAL-2026-10225
What to do
Remove @logdna-web/shared from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@logdna-web/shared | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The @logdna-web/shared npm package is a malicious package published as part of a dependency confusion campaign. It uses a preinstall hook to execute code that collects and sends host telemetry, including public IP and personally identifiable information (PII), to an attacker-controlled Sentry endpoint. The package name mimics a legitimate internal package namespace to trick misconfigured resolvers into installing it. The malicious payload also silently relays application exceptions and PII to the attacker if the package's init function is called without a custom DSN. This package version 13.19.37 is affected. The package should be considered fully compromised if installed, and all secrets on the host should be rotated immediately.