enbd-react-logger (npm) · Malicious Code
Affects enbd-react-loggerSource GCVE Database
Malicious package : remove enbd-react-logger and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:37 UTC
Malicious package
Published to npm · OSV MAL-2026-10231
What to do
Remove enbd-react-logger 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 |
|---|---|---|
| npmenbd-react-logger | 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 enbd-react-logger npm package version 4.0.0 is a malicious package published as part of a dependency confusion attack targeting organizations using an internal 'enbd' namespace. It contains a preinstall script that executes automatically during npm install, sending the host's public IP address, hostname, OS username, and runtime metadata to an attacker-controlled Sentry project without user consent. This behavior enables reconnaissance by the attacker to identify successful installs and affected organizations. The package also hardcodes the attacker's Sentry DSN, causing any downstream error reporting to leak data to the attacker. Removal of the package alone may not fully remediate the compromise, as the attacker may have gained broader control of the system.