error-loggerjs (npm) · Malicious Code
Affects error-loggerjsSource GCVE Database
Malicious package : remove error-loggerjs and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:20 UTC
Malicious package
Published to npm · OSV MAL-2025-19796
What to do
Remove error-loggerjs 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 |
|---|---|---|
| npmerror-loggerjs | 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 npm package error-loggerjs versions 7.11.7 and 7.11.8 were found to contain malicious code. This indicates that these specific versions of the package have been compromised and may pose a security risk if used in software projects.